332Configuring and Managing Spanning Tree Protocol

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, WSS Software 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 an WSS switch's connections to the network backbone, adds ports 21 and 22 to the VLAN, and enables STP on the VLAN to prevent loops.

1Remove the network cables from ports 21 and 22 or use WSS Software 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:

23x0# set port disable 21-22

success: set "disable" on port 21-22

23x0# show port status

Port NameAdmin 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

up

down

auto

network

10/100BaseTx

8

up

down

auto

network

10/100BaseTx

9

up

down

auto

network

10/100BaseTx

10

up

down

auto

network

10/100BaseTx

11

up

down

auto

network

10/100BaseTx

12

up

down

auto

network

10/100BaseTx

13

up

down

auto

network

10/100BaseTx

14

up

down

auto

network

10/100BaseTx

15

up

down

auto

network

10/100BaseTx

16

up

down

auto

network

10/100BaseTx

17

up

down

auto

network

10/100BaseTx

18

up

down

auto

network

10/100BaseTx

19

up

down

auto

network

10/100BaseTx

20

up

down

auto

network

10/100BaseTx

21

down

down

auto

network

 

22

down

down

auto

network

 

2Configure a backbone VLAN and verify the configuration change. Type the following commands:

23x0# set vlan 10 name backbone port 21-22

success: change accepted.

23x0# show vlan config

Admin VLAN Tunl

Port

 

VLAN Name

Status State Affin Port

Tag State

320657-A

Page 332
Image 332
Nortel Networks 2300 manual Spanning Tree Configuration Scenario, Clearing STP Statistics, 23x0# set port disable