OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

Enable globally

RSTP enables STP on all physical and port-channel interfaces which are in L2 mode to automatically include the interfaces as part of the RSTP topology. Only one path from any bridge to any other bridge is enabled. Bridges block a redundant path by disabling one of the link ports.

  • Configure spanning-tree mode to RSTP in CONFIGURATION mode.
    spanning-tree mode rstp
  • Disable RSTP globally for all L2 interfaces in CONFIGURATION mode.
    spanning-tree disable
  • Remove an interface from the RSTP topology in INTERFACE mode.
    spanning-tree disable
  • Re-enable an interface in INTERFACE mode.
    no spanning-tree disable
  • Re-enable RSTP globally for all L2 interfaces in CONFIGURATION mode.
    no spanning-tree disable

rstp enabled globally

View all port participating in RSTP

OS10# show spanning-tree
                                 Spanning tree enabled protocol rstp with force-version rstp
                                 Executing IEEE compatible Spanning Tree Protocol
                                 Root ID    Priority 32768, Address 3417.4455.667f
                                 Root Bridge hello time 2, max age 20, forward delay 15
                                 Bridge ID    Priority 32768, Address 90b1.1cf4.a523
                                 Configured hello time 2, max age 20, forward delay 15
                                 Interface                                                       Designated
                                 Name              PortID    Prio  Cost      Sts   Cost Bridge ID            PortID
                                 -----------------------------------------------------------------------------------
                                 ethernet1/1/1     128.260   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/2     128.264   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/3     128.268   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/4     128.272   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/5:1   128.276   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/5:2   128.277   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/5:3   128.278   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/5:4   128.279   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/6:1   128.280   128   2000      FWD   0    32768    3417.4455.667f  128.150
                                 ethernet1/1/6:2   128.281   128   2000      FWD   0    32768    3417.4455.667f  128.151
                                 ethernet1/1/6:3   128.282   128   2000      FWD   0    32768    3417.4455.667f  128.152
                                 ethernet1/1/6:4   128.283   128   2000      BLK   0    32768    3417.4455.667f  128.153
                                 ethernet1/1/7     128.284   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/8     128.288   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/9     128.292   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/10    128.296   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/11    128.300   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/12    128.304   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/13    128.308   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/14    128.312   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/15    128.316   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/16    128.320   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/17    128.324   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/18    128.328   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/19    128.332   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/20    128.336   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/21    128.340   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/22    128.344   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/23    128.348   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/24    128.352   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/25    128.356   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/26    128.360   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/27    128.364   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/28    128.368   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/29    128.372   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/30    128.376   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/31    128.380   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 ethernet1/1/32    128.384   128   200000000 BLK   0    0        0000.0000.0000  0.0
                                 Interface
                                 Name              Role  PortID    Prio Cost      Sts  Cost Link-type Edge
                                 -------------------------------------------------------------------------
                                 ethernet1/1/1     Disb  128.260   128  200000000 BLK  0    AUTO      No
                                 ethernet1/1/2     Disb  128.264   128  200000000 BLK  0    AUTO      No
                                 ethernet1/1/3     Disb  128.268   128  200000000 BLK  0    AUTO      No
                                 ethernet1/1/4     Disb  128.272   128  200000000 BLK  0    AUTO      No
                                 ethernet1/1/5:1   Disb  128.276   128  200000000 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: <>()\