Configuring Spanning Tree Protocol (STP)

 

 

Table 5.4: Web Management Display of STP Information (Continued)

 

 

 

 

 

 

This Field...

 

Displays...

 

 

 

 

 

 

State

 

The port’s STP state. The state can be one of the following:

 

 

 

• BLOCKING – STP has blocked Layer 2 traffic on this port to

 

 

 

prevent a loop. The device or VLAN can reach the root bridge

 

 

 

using another port, whose state is FORWARDING. When a port

 

 

 

is in this state, the port does not transmit or receive user frames,

 

 

 

but the port does continue to receive STP BPDUs.

 

 

 

• DISABLED – The port is not participating in STP. This can occur

 

 

 

when the port is disconnected or STP is disabled on the port.

 

 

 

• FORWARDING – STP is allowing the port to send and receive

 

 

 

frames.

 

 

 

• LISTENING – STP is responding to a topology change and this

 

 

 

port is listening for a BPDU from neighboring bridge(s) in order to

 

 

 

determine the new topology. No user frames are transmitted or

 

 

 

received during this state.

 

 

 

• LEARNING – The port has passed through the LISTENING state

 

 

 

and will change to the BLOCKING or FORWARDING state,

 

 

 

depending on the results of STP’s reconvergence. The port does

 

 

 

not transmit or receive user frames during this state. However,

 

 

 

the device can learn the MAC addresses of frames that the port

 

 

 

receives during this state and make corresponding entries in the

 

 

 

MAC table.

 

 

 

 

 

 

Transition

 

The number of times STP has changed the state of this port between

 

 

 

BLOCKING and FORWARDING.

 

 

 

 

 

 

Cost

 

The cost to the root bridge as advertised by the designated bridge that

 

 

 

is connected to this port. If the designated bridge is the root bridge

 

 

 

itself, then the cost is 0. The identity of the designated bridge is

 

 

 

shown in the Design Bridge field.

 

 

 

 

 

 

Root

 

The root bridge as recognized on this port. The value is the same as

 

 

 

the root bridge ID listed in the Root ID field.

 

 

 

 

 

 

Bridge

 

The designated bridge to which this port is connected. The

 

 

 

designated bridge is the device that connects the network segment on

 

 

 

the port to the root bridge.

 

 

 

 

 

Displaying STP Information for an Individual Interface

To display STP information for an individual port, you can use the methods in “Displaying STP Information for an Entire Device” on page 5-7.You also can display some STP information for a specific port using either of the following methods.

USING THE CLI

To display information for a specific port, enter a command such as the following at any level of the CLI:

HP9300(config)# show interface ethernet 3/11

FastEthernet3/11 is up, line protocol is up

Hardware is FastEthernet, address is 00e0.52a9.bb49 (bia 00e0.52a9.bb49) Configured speed auto, actual 100Mbit, configured duplex fdx, actual fdx Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING

5 - 11