
Chapter 63 Spanning Tree Protocol
OLT2406 User’s Guide
475
63.3.1 STP and RSTP Command Examples
This example configures STP in the following ways:
1
Enables STP on the OLT.
2
Sets the bridge priority of the OLT to 0.
3
Sets the Hello Time to 4, Maximum Age to 20 and Forward Delay to 15.
4
Enables STP on port 2 (on the uplink card in slot 3) with a path cost of 150.
5
Sets the priority for port 2 to 20.
This example shows the current STP settings.
The following table describes the labels in this display.
OLT2406(config)# spanning-tree
OLT2406(config)# spanning-tree priority 0
OLT2406(config)# spanning-tree hello-time 4 maximum-age 20 forward-delay
15
OLT2406(config)# spanning-tree msc-1-2 path-cost 150
OLT2406(config)# spanning-tree msc-1-2 priority 20
OLT2406# show spanning-tree config
Bridge Info:
(a)BridgeID: 8000-001349aefb7a
(b)TimeSinceTopoChange: 9
(c)TopoChangeCount: 0
(d)TopoChange: 0
(e)DesignatedRoot: 8000-001349aefb7a
(f)RootPathCost: 0
(g)RootPort: 0x0000
(h)MaxAge: 20 (seconds)
(i)HelloTime: 4 (seconds)
(j)ForwardDelay: 15 (seconds)
(k)BridgeMaxAge: 20 (seconds)
(l)BridgeHelloTime: 2 (seconds)
(m)BridgeForwardDelay: 15 (seconds)
(n)TransmissionLimit: 3
(o)ForceVersion: 2
Table 236 show spanning-tree config
LABEL
DESCRIPTION
BridgeID
This field displays the unique identifier for this bridge, consisting of bridge priority plus
MAC address.
TimeSinceTopoChange
This field displays the time since the spanning tree was last reconfigured.
TopoChangeCount
This field displays the number of times the spanning tree has been reconfigured.
TopoChange
This field indicates whether or not the current topology is stable.
0
: The current topology is stable.
1
: The current topology is changing.
Summary of Contents for OLT2406
Page 4: ...Document Conventions OLT2406 User s Guide 4 Desktop Laptop Switch IP Phone Smart T V...
Page 32: ...Table of Contents OLT2406 User s Guide 32 Index 758...
Page 33: ...33 PART I Introduction and Hardware Installation...
Page 63: ...63 PART II Web Configurator...
Page 179: ...Chapter 21 Classifier OLT2406 User s Guide 179 Figure 112 Classifier Example...
Page 182: ...Chapter 22 Policy Rule OLT2406 User s Guide 182 Figure 113 Advanced Application Policy Rule...
Page 186: ...Chapter 22 Policy Rule OLT2406 User s Guide 186 Figure 114 Policy Example...
Page 248: ...Chapter 28 Loop Guard OLT2406 User s Guide 248 Figure 151 Advanced Application Loop Guard...
Page 393: ...393 PART III CLI Commands...
Page 581: ...Chapter 78 VoIP OLT2406 User s Guide 581...
Page 725: ...725 PART IV Troubleshooting Specifications Appendices and Index...