
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
90
To designate ports 1 to 2 on module 1, with instance ID 0, to have an auto internalCost and a priority of 0:
DGS–3426:5#config stp mst_ports 1:1–
:2 instance
id 0 internalCost auto priority
0
Command: config stp mst_ports 1:1–1:2 instance_id 0 internalCost auto priority 0
Success.
DGS–3426:5#
show stp
Purpose Used to display the Switch’s current STP configuration.
Syntax
show stp
Description This command displays the Switch’s current STP configuration.
Parameters None.
Restrictions None.
Example usage:
To display the status of STP on the Switch:
Status 1: STP enabled with STP compatible version
DGS–3426:5#show stp
Command: show stp
STP Bridge Global Settings
–––––––––––––––––––––––––––––––––––––––––––
STP Status : Enabled
STP Version : STP Compatible
Max Age : 20
Hello Time : 2
Forward Delay : 15
Max Age : 20
TX Hold Count : 3
Forwarding BPDU : Enabled
Loopback Detection : Enabled
LBD Recover Time : 60
NNI BPDU Address : dot1ad
DGS–3426:5#
Status 2 : STP enabled for RSTP
DGS–3426:5#show stp
Command: show stp
STP Bridge Global Settings
–––––––––––––––––––––––––––––––––––––––––––
STP Status : Enabled
STP Version : RSTP
Max Age : 20
Hello Time : 2
Forward Delay : 15
Max Age : 20
TX Hold Count : 3
Forwarding BPDU : Enabled
Loopback Detection : Enabled
LBD Recover Time : 60
NNI BPDU Address : dot1ad
DGS–3426:5#