C
ONFIGURING
THE
S
WITCH
3-166
CLI – This example enables Spanning Tree Protocol, sets the mode to
MST, and then configures the STA and MSTP parameters.
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
• Spanning Tree – Shows if STA has been enabled on this interface.
• 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.
Console(config)#spanning-tree 4-222
Console(config)#spanning-tree mode mstp 4-223
Console(config)#spanning-tree priority 40000 4-227
Console(config)#spanning-tree hello-time 5 4-226
Console(config)#spanning-tree max-age 38 4-226
Console(config)#spanning-tree forward-time 20 4-225
Console(config)#spanning-tree pathcost method long 4-228
Console(config)#spanning-tree transmission-limit 4 4-229
Console(config)#Console(config)#spanning-tree
mst-configuration 4-229
Console(config-mstp)#revision 1 4-233
Console(config-mstp)#name R&D 4-232
Console(config-mstp)#max-hops 30 4-233
Console(config-mstp)#