Dell 6024 F Switch User Manual


 
Configuring Switch Information 287
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
Console(config-if)# exit
Console(config)# exit
Console# show spanning-tree port-channel 1
Interface Port ID Designated
Port ID
Name Prio Sts Enb Cost Cost Bridge Id Prio.Nbr
------ ---- ------ ----- -------- --------- ---------------------
ch1 96 DSBL FALSE 35000
0
32768 00:00:b0:11:00:00 96 25
Spanning tree disabled
Port Fast: yes (configured: yes)
Type: point-to-point (configured: auto)
Number of transitions to forwarding state: 0
spanning-tree cost
cost
Configures the spanning tree path cost
for a port.
spanning-tree port-priority
priority
Configures port priority.
show spanning-tree [ethernet
interface | port-channel
port-channel-number
]
Displays spanning tree configuration.
spanning-tree portfast Enables Port Fast mode.
Table 7-17. STP LAG Settings CLI Commands
CLI Command Description