DELL 6024 User Manual

Page of 474
284
Configuring Switch Information
www
.dell.com | support.dell.com
Defining STP Port Settings Using CLI Commands
The following table summarizes the equivalent CLI commands for defining STP port parameters 
as displayed in the STP Port Settings page.
The following is an example of the CLI commands: 
Console(config)# 
interface ethernet
 g5
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 ethernet
 g1
Spanning tree enabled
Type: point-to-point (configured
: auto)
Table 7-16.
STP Port Settings CLI Commands
CLI Command
Description
spanning-tree disable
Disables spanning tree on a specific 
port.
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 PortFast mode.
Interface  Port ID  Designated 
Port ID
Name Prio.Nbr 
Cost 
Sts 
Cost Bridge ID 
Prio.Nbr
--------
------- ---  --  -------------------- ------ 
g1
128.1
19
FWD
38 32768 0030.9441.62c1  128.25