C
ONFIGURING
THE
S
WITCH
2-98
CLI
– This example enables Spanning Tree Protocol, and then sets the
indicated attributes.
Displaying Interface Settings
The STP Port Information and STP Trunk Information pages
display the current status of ports and trunks in the Spanning Tree.
Command Attributes
The following attributes are read-only and cannot be changed:
•
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.
Console(config)#spanning-tree
3-105
Console(config)#spanning-tree mode stp
3-106
Console(config)#spanning-tree priority 40000
3-109
Console(config)#spanning-tree hello-time 5
3-108
Console(config)#spanning-tree max-age 38
3-108
Console(config)#spanning-tree forward-time 20
3-107
Console(config)#spanning-tree pathcost method long
3-110
Console(config)#spanning-tree transmission-limit 5
3-111
Console(config)#
Summary of Contents for 6724AL2
Page 2: ......
Page 404: ...COMMAND LINE INTERFACE 3 216 ...
Page 406: ...TROUBLESHOOTING A 2 ...
Page 418: ...GLOSSARY Glossary 8 ...
Page 422: ...INDEX Index 4 ...
Page 423: ......