![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg57.png)
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:
DGS–3426:5#enable stp
Command: enable stp
Success.
DGS–3426: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:
DGS–3426:5#disable stp
Command: disable stp
Success.
DGS–3426: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.