D-Link DWS-1008 User Manual
1
Displaying Spanning Tree Statistics
To display STP statistics, use the following command:
show spantree statistics [
port-list
[vlan
vlan-id
]]
To display STP statistics for port 1, type the following command:
DWS-1008#
show spantree statistics 1
Clearing STP Statistics
To clear the STP statistics counters, use the following command:
clear spantree statistics
port-list
[vlan
vlan-id
]
As soon as you enter the command, MSS resets the STP counters for the specified ports or VLANs to
0. The software then begins incrementing the counters again.
Spanning Tree Configuration Scenario
This scenario configures a VLAN named backbone for a switch’s connections to the network backbone,
adds ports 7 and 8 to the VLAN, and enables STP on the VLAN to prevent loops.
1. Remove the network cables from ports 7 and 8 or use MSS to disable the ports. This prevents a
loop until you complete the STP configuration. To disable the ports and verify the results, type the
following commands:
DWS-1008#
set port disable 7-8
success: set “disable” on port 7-8
DWS-1008#
show port status
Port Name Admin
Oper
Config
Actual
Type
Media
===============================================================
1
up
up
auto
100/full
network 10/100BaseTx
2
up
down
auto
network 10/100BaseTx
3
up
down
auto
network 10/100BaseTx
4
up
down
auto
network 10/100BaseTx
5
up
down
auto
network 10/100BaseTx
6
up
down
auto
network 10/100BaseTx
7
down
down
auto
network
8
down
down
auto
network
Содержание DWS-1008
Страница 1: ......