OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

Interface parameters

Set the port cost and port priority values on interfaces in L2 mode.

Port cost
Value that is based on the interface type. The previous table lists the default values. The greater the port cost, the less likely the port is selected to be a forwarding port.
Port priority
Influences the likelihood that a port is selected to be a forwarding port in case that several ports have the same port cost.
  • Change the port cost of an interface in INTERFACE mode (1 to 200000000).
    spanning-tree rstp cost 
                                           cost
                                        
  • Change the port priority of an interface in INTERFACE mode (0 to 240, default 128).
    spanning-tree rstp priority 
                                           priority-value
                                        

View current global parameter values

OS10# show spanning-tree active 
                                 
                                 Spanning tree enabled protocol rstp with force-version rstp
                                 Executing IEEE compatible Spanning Tree Protocol
                                 Root ID    Priority 32768, Address 90b1.1cf4.9b8a
                                 Root Bridge hello time 2, max age 20, forward delay 15
                                 Bridge ID    Priority 32768, Address 90b1.1cf4.9b8a
                                 We are the root
                                 Configured hello time 2, max age 20, forward delay 15
                                 Interface                                       Designated
                                 Name          PortID  Prio Cost Sts Cost Bridge ID  PortID
                                 ------------------------------------------------------------------- 
                                 ethernet3/1/1 244.128 128  500  BLK 0    32768 90b1.1cf4.9b8a  128.244
                                 ethernet3/1/2 248.128 128  500  BLK 0    32768 90b1.1cf4.9b8a  128.248
                                 ethernet3/1/3 252.128 128  500  FWD 0    32768 90b1.1cf4.9b8a  128.252
                                 ethernet3/1/4 256.128 128  500  BLK 0    32768 90b1.1cf4.9b8a  128.256
                                 Interface
                                 Name          Role PortID  Prio Cost Sts Cost Link-type Edge
                                 ---------------------------------------------------------- 
                                 ethernet3/1/1 Altr 128.244 128  500  BLK 0    AUTO      No
                                 ethernet3/1/2 Altr 128.248 128  500  BLK 0    AUTO      No
                                 ethernet3/1/3 Root 128.252 128  500  FWD 0    AUTO      No
                                 ethernet3/1/4 Altr 128.256 128  500  BLK 0    AUTO      No
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\