DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
79
config stp
lbd_recover_timer [0 | <value 60-1000000>]
−
This field will set the time the STP port will
wait before recovering the STP state set. 0 will denote that the LBD will never time out or
restart until the administrator personally changes it. The user may also set a time between
60 and 1000000 seconds. The default is 60 seconds.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure STP with maxage 18 and maxhops of 15:
DES-1228/ME:4#config stp maxage 18 maxhops 15
Command: config stp maxage 18 maxhops 15
Success.
DES-1228/ME:4#
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports <portlist> {externalCost [auto | <value 1-200000000>] | hellotime
<value 1-2> | migrate [yes|no] |edge [true|false|auto] | restricted_role [true|false]
|restricted_tcn [true|false] | p2p [true|false|auto] |state [enable|disable] | lbd
[enable|disable] | fbpdu [enable|disable]}(1)
Description
This command is used to create and configure STP for a group of ports.
Parameters
<portlist>
−
Specifies a range of ports to be configured.
externalCost
−
This defines a metric that indicates the relative cost of forwarding packets
to the specified port list. Port cost can be set automatically or as a metric value. The
default value is
auto
.
auto
– Setting this parameter for the external cost will automatically set the speed for
forwarding packets to the specified port(s) in the list for optimal efficiency. Default
port cost: 100Mbps port = 200000. Gigabit port = 20000.
<value 1-200000000>
−
Define a value between 1 and 200000000 to determine the
external cost. The lower the number, the greater the probability the port will be
chosen to forward packets.
hellotime <value 1-2>
−
The time interval between transmission of configuration messages
by the designated port, to other devices on the bridged LAN, thus stating that the Switch is
still functioning. The user may choose a time between 1 and 2 seconds. The default is 2
seconds.
migrate [yes | no]
– Setting this parameter as “
yes
” will set the ports to send out BDPU
packets to other bridges, requesting information on their STP setting If the Switch is
configured for RSTP, the port will be capable to migrate from 802.1D STP to 802.1w
RSTP. If the Switch is configured for MSTP, the port is capable of migrating from 802.1D
STP to 802.1s MSTP. RSTP and MSTP can coexist with standard STP, however the
benefits of RSTP and MSTP are not realized on a port where an 802.1D network connects