xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
show stp ports
Purpose
Used to display the Switch’s current
instance_id
configuration.
Syntax
show stp ports <portlist>
Description
This command displays the STP Instance Settings and STP Instance
Operational Status currently implemented on the Switch.
Parameters
<portlist>
−
Specifies a range of ports to be configured. The beginning
and end of the port list range are separated by a dash. For example, 1-
4 specifies all of the ports between port 1 and port 4.
Restrictions None
Example usage:
To show STP port 1:
DGS-3612G:4#show stp ports 1
Command: show stp ports 1
MSTP Port Information
----------------------
Port Index : 1 , Hello Time: 2 /2 , Port STP enabled LBD: Yes
External PathCost : Auto/200000 , Edge Port : No /No , P2P : Auto /Yes
Port Forward BPDU enabled
Msti Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/0050BA7120D6 200000 128 Forwarding Root
1 8001/0053131A3324 200000 128 Forwarding Master
CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh
show stp instance_id
Purpose
Used to display the Switch’s STP instance configuration
Syntax
show stp instance_id {<value 0-15>}
Description
This command displays the Switch’s current STP Instance Settings
and the STP Instance Operational Status.
Parameters
<value 0-15>
- Enter a value defining the previously configured
instance_id
on the Switch. An entry of
0
will display the STP
configuration for the CIST internally set on the Switch.
Restrictions None.
Example usage:
To display the STP instance configuration for instance 0 (the internal CIST) on the Switch:
81