D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
86
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 viewed. The port list
is specified by listing the lowest switch number and the beginning
port number on that switch, separated by a colon. Then the
highest switch number, and the highest port number of the range
(also separated by a colon) are specified. The beginning and end
of the port list range are separated by a dash. For example, 1:3
specifies switch number 1, port 3. 2:4 specifies switch number 2,
port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3
and switch 2, port 4 in numerical order.
Restrictions None.
Example usage:
To show STP ports 1 through 9 on switch one:
DGS-3324SRi:4#show stp ports 1:1-1:9
Command: show stp ports 1:1-1:9
MSTP Port Information
----------------------
Port Index : 1:1 , Hello Time: 2 /2 , Port STP enabled
External PathCost : Auto/200000 , Edge Port : No /No , P2P : Auto /Yes
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: