The Spanning Tree commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
config stp
config stp ports
config stp version
config stp fbpdu
config stp priority
enable stp
disable stp
show stp
show stp ports
show stp instance
show stp mst_config_id
create stp instance_id
delete stp instance_id
config stp instance_id
config stp
mst_config_id
config stp mst_ports
config stp trap
Each command is listed in detail, as follows:
config stp
Purpose
Syntax
Description
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
SPANNING TREE COMMANDS
Parameter
{maxage <value 6-40> | hellotime <value 1-10> | forwarddelay <value 4-30>|
txholdcount <value 1-10> | maxhops <value 6-40>}
<portlist> {externalcost [auto | <value 1-200000000>] | edge [auto | true | false] |
hellotime <value 1-2> | 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] }
[mstp | rstp | stp]
[enable | disable]
<value 0-61440> instance_id <value 0-15>
{<portlist>}
<value 1-63>}
<value 1-63>
<value 1-63>
<value 1-63> [add_vlan | remove_vlan] <vidlist>
[revision_level <int 0-65535> | name <string 32>]
<portlist> instance_id <value 0-15> {internalCost [auto | value 1-200000000] |
priority <value 0-240>}
{new_root [enable | disable] | topo_change [enable | disable]}
To setup STP, RSTP and MSTP on the Switch.
config stp {maxage <value 6-40> | hellotime <value 1-10> |
forwarddelay <value 4-30>| txholdcount <value 1-10> |
maxhops <value 6-40>}
The config stp command configures the Spanning Tree Protocol
(STP) for the entire switch. All commands here are implemented for
171
23