Defining STP LAG Settings Using CLI Commands
The following table contains the CLI commands for defining STP LAG settings.
Table 7-21. STP LAG Settings CLI Commands
CLI Command
spanning-tree
spanning-tree disable
spanning-tree cost
spanning-tree guard root
spanning-tree port-priority
show spanning-tree [
port-channel port-channel-number
|
instance-id
]
show spanning-tree [detail] [active | blockedports]
[instance instance-id]
The following is an example of the CLI commands:
console(config)# interface port-channel 1
console(config-if)# spanning-tree disable
console(config-if)# spanning-tree cost 35000
console(config-if)# spanning-tree port-priority 96
console(config-if)# spanning-tree portfast
Defining Rapid Spanning Tree
While the classic spanning tree prevents Layer 2 forwarding loops on a general network topology,
convergence can take 30-60 seconds. The delay allows time to detect possible loops, and propagate
status changes.
Rapid Spanning Tree Protocol (RSTP) detects and uses network topologies that allow a faster
convergence of the spanning tree, without creating forwarding loops.
To open the Rapid Spanning Tree (RSTP) settings page, click Switch → Spanning Tree → Rapid
Spanning Tree in the tree view.
cost
priority Configures port priority.
ethernet
interface
instance
][
Description
Enables spanning tree.
Disables spanning tree on a specific LAG.
Configures the spanning tree cost contribution of a
LAG.
Enables root guard on all spanning tree instances on the
interface.
Displays spanning tree configuration.
Displays detailed spanning tree information on active or
blocked ports.
Configuring Switch Information
339