xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
83
Command Parameters
show stp mst_config_id
Each command is listed, in detail, in the following sections.
enable stp
Purpose
Used to globally enable STP on the Switch.
Syntax
enable stp
Description
This command allows the Spanning Tree Protocol to be globally enabled on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable STP, globally, on the Switch:
D G S – 3 4 2 6 : 5 # e n a b l e s t p
C o m m a n d : e n a b l e s t p
S u c c e s s .
D G S – 3 4 2 6 : 5 #
disable stp
Purpose
Used to globally disable STP on the Switch.
Syntax
disable stp
Description
This command allows the Spanning Tree Protocol to be globally disabled on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable STP on the Switch:
D G S – 3 4 2 6 : 5 # d i s a b l e s t p
C o m m a n d : d i s a b l e s t p
S u c c e s s .
D G S – 3 4 2 6 : 5 #
config stp version
Purpose
Used to globally set the version of STP on the Switch.
Syntax
config stp version [mstp | rstp | stp]
Description
This command allows the user to choose the version of the spanning tree to be
implemented on the Switch.
Parameters
mstp
– Selecting this parameter will set the Multiple Spanning Tree Protocol (MSTP)
globally on the Switch.
rstp
– Selecting this parameter will set the Rapid Spanning Tree Protocol (RSTP) globally
on the Switch.
stp
– Selecting this parameter will set the Spanning Tree Protocol (STP) globally on the
Switch.