xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
431
56
M
ULTIPLE
S
PANNING
T
REE
P
ROTOCOL
(MSTP)
C
OMMANDS
The Multiple Spanning Tree Protocol (MSTP) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
show stp
show stp instance
<value 0-15>
show stp ports
{<portlist>} {instance_id <0-15>}
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
{name <string> | revision_level <int 0-65535>
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 1-40> | hellotime <value 1-10> |
forwarddelay <value 4-30> | txholdcount <value 1-10> | fbpdu
[enable(3)|disable(2)] | lbd [enable(1)|disable(0)] | lbd_recover_timer [<value 0> |
<value 60-1000000>] | nni_bpdu_addr [dot1d | dot1ad]}(1)
config stp ports
<portlist> {externalCost [auto | <value 1-200000000>] | hellotime <value 1-10> |
migrate [yes | no] | edge [true | false | auto] | p2p [true | false | auto] | state
[enable | disable] | restricted_role [true |f alse] | restricted_tcn [true | false] | lbd
[enable | disable] | fbpdu [enable | disable]}(1)
config stp mst_ports
<portlist> instance_id <value 0-15> {internalCost [ auto | <value 1-200000000>] |
priority <value 0-240>}
Each command is listed, in detail, in the following sections.
show stp
Purpose
Used to show the bridge parameters global settings. (CIST or msti id=0)
Syntax
show stp
Description
The show stp command is used to show the bridge parameters global settings.
Parameters
None.
Restrictions
None.
Example usage:
To show stp: