DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
486
Chapter 48
Multiple Spanning Tree
Protocol (MSTP) Command
List
show stp
show stp instance
{<value 0-15>}
show stp ports
{<portlist>}
show stp mst_config_id
create stp instance_id
<value 1-15>
delete stp instance_id
<value 1-15>
config stp instance_id
<value 1-15> [add_vlan | remove_vlan] <vidlist>
config stp mst_config_id
{revision_level <int 0-65535> | name <string>}
enable stp
disable stp
config stp version
[mstp | rstp | stp]
config stp priority
<value 0-61440> instance_id <value 0-15>
config stp
{maxage <value 6-40> | maxhops <value 6-40> | hellotime <value 1-2> | forwarddelay
<value 4-30> | txholdcount <value 1-10> | fbpdu [enable | disable] | nni_bpdu_addr [dot1d |
dot1ad]}
config stp ports
<portlist> {externalCost [auto | <value 1-200000000>] | hellotime <value 1-2> |
migrate [yes | no] |edge [true | false | auto] | p2p [true | false | auto] | state [enable | disable] |
restricted_role [true | false] | restricted_tcn [true | false] | fbpdu [enable | disable]}
config stp mst_ports
<portlist> instance_id <value 0-15> {internalCost [auto | <value 1-
200000000>] | priority <value 0-240>}
48-1
show stp
Description
This command is used to display the global configuration of the Spanning Tree Protocol (STP).
Format
show stp
Parameters
None.
Restrictions
None.
Example
To display STP: