Configuring Switch Information 339
Defining STP LAG Settings Using CLI Commands
The following table contains the CLI commands for defining STP LAG settings.
The following is an example of the CLI commands:
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
statuschanges.
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.
Table 7-21. STP LAG Settings CLI Commands
CLI Command Description
spanning-tree Enables spanning tree.
spanning-tree disable Disables spanning tree on a specific LAG.
spanning-tree cost
cost
Configures the spanning tree cost contribution of a
LAG.
spanning-tree guard root Enables root guard on all spanning tree instances on the
interface.
spanning-tree port-priority
priority
Configures port priority.
show spanning-tree [ethernet interface
|
port-channel
port-channel-number
][instance
instance-id]
Displays spanning tree configuration.
show spanning-tree [detail] [active | blockedports]
[instance instance-id]
Displays detailed spanning tree information on active or
blocked ports.
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