Config Stp Ports - D-Link DES-1210-28/ME Reference Manual

Table of Contents

Advertisement

Restrictions
Example usage:
To configure STP with maxage 18 and hellotime 2:

config stp ports

Purpose
Syntax
Description
Parameters
DES-1210-28/ME Metro Ethernet Managed Switch CLI Reference Guide
the network, preventing the effective propagation of the new
information. Set by the Root Bridge, this value aids in determining
that the Switch has spanning tree configuration values consistent
with other devices on the bridged LAN. If the value ages out and a
BPDU has still not been received from the Root Bridge, the Switch
starts sending its own BPDU to all other switches for permission to
become the Root Bridge. If your switch has the lowest priority, it
becomes the Root Bridge. The user may choose a time between 6
and 40 seconds. The default value is 20.
maxhops <value 1-20> − The number of hops between devices in a
spanning tree region before the BPDU (bridge protocol data unit)
packet sent by the Switch will be discarded. Each switch on the hop
count will reduce the hop count by one until the value reaches zero.
The Switch will then discard the BDPU packet and the information
held for the port will age out. The value may be between 1 and 20.
The default is 20.
hellotime <value 1-10> − The user may set the time interval between
transmission of configuration messages by the root device in STP,
or by the designated router, thus stating that the Switch is still
functioning. The value may be between 1 and 10 seconds. The
default value is 2 seconds.
forwarddelay <value 4-30> − The amount of time (in seconds) that
the root device will wait before changing from Blocking to Listening ,
and from Listening to Learning states. The value may be between 4
and 30 seconds. The default is 15 seconds.
fbpdu [enable | disable] − Allows the forwarding of STP BPDU
packets from other network devices when STP is disabled on the
Switch. The default is disable.
Only administrator or operator-level users can issue this command.
DES-1210-28/ME:5# config stp maxage 18 hellotime 2
Command: config stp maxage 18 hellotime 2
Success.
DES-1210-28/ME:5#
To setup STP on the port level.
config stp ports <portlist> {externalcost [auto | <value 1-
200000000>] | edge [auto | true | false] | p2p [true | false | auto ] |
state [enable | disable] | fbpdu [enable | disable] | migrate [yes |
no] | priority <value 0-240> | restricted_role [true | false] |
restricted_tcn [true | false] }
The config stp ports command configures STP for a group of ports.
<portlist> – A port or range of ports to be configured. The port list is
specified by listing switch number and the beginning port number on
that switch, separated by a colon. Then the highest port number of
the range is specified. The beginning and end of the port list range
are separated by a dash.
externalCost − Defines a metric that indicates the relative cost of
forwarding packets to the specified port list. Port cost can be set
107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents