24-Port Layer 3 Switch Management Guide

S
PANNING
T
REE
A
LGORITHM
C
ONFIGURATION
3-95
CLI – This example enables Spanning Tree Protocol, and then sets the
indicated attributes.
Displaying Interface Settings
The STA Port Information and STA Trunk Information pages display the
current status of ports and trunks in the Spanning Tree.
Field Attributes
STA Status – Displays current state of this port within the Spanning
Tree:
- Discarding - Port receives STA configuration messages, but does not
forward packets.
- Learning - Port has transmitted configuration messages for an interval
set by the Forward Delay parameter without receiving contradictory
information. Port address table is cleared, and the port begins learning
addresses.
- Forwarding - Port forwards packets, and continues learning
addresses.
The rules defining port status are:
- A port on a network segment with no other STA compliant bridging
device is always forwarding.
- If two ports of a switch are connected to the same segment and there
is no other STA device attached to this segment, the port with the
smaller ID forwards packets and the other is discarding.
- All ports are discarding when the switch is booted, then some of
them change state to learning, and then to forwarding.
Forward Transitions – The number of times this port has transitioned
from the Learning state to the Forwarding state.
Console(config)#spanning-tree 4-147
Console(config)#spanning-tree mode rst 4-148
Console(config)#spanning-tree priority 40000 4-151
Console(config)#spanning-tree hello-time 5 4-150
Console(config)#spanning-tree max-age 38 4-150
Console(config)#spanning-tree forward-time 20 4-149
Console(config)#spanning-tree pathcost method long 4-152
Console(config)#spanning-tree transmission-limit 4 4-153
Console(config)#