Zyxel OLT2412 [114/326] Stp and rstp command examples

Zyxel OLT2412 [114/326] Stp and rstp command examples
Chapter 13 Spanning Tree Protocol
OLT2412 User’s Guide
114
See Section 13.3 on page 116 for more information on MSTP commands. See also Chapter 27 on
page 209 for information on loopguard commands.
13.2.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.
Table 54 STP and RSTP Commands
COMMAND DESCRIPTION
show spanning-tree config
Displays Spanning Tree Protocol (STP) settings.
spanning-tree mode <RSTP|MSTP>
Specifies the STP mode you want to implement on the OLT.
spanning-tree
Enables STP on the OLT.
no spanning-tree
Disables STP on the OLT.
spanning-tree hello-time <1-10>
maximum-age <6-40> forward-delay
<4-30>
Sets Hello Time, Maximum Age and Forward Delay.
hello-time: The time interval in seconds between BPDU
(Bridge Protocol Data Units) configuration message generations
by the root switch.
maximum-age: The maximum time (in seconds) the OLT can
wait without receiving a BPDU before attempting to
reconfigure.
forward-delay: The maximum time (in seconds) the OLT will
wait before changing states.
spanning-tree priority <0-61440>
Sets the bridge priority of the OLT. The lower the numeric value
you assign, the higher the priority for this bridge.
priority: Must be a multiple of 4096.
spanning-tree <aid>
Enables STP on a specified ports.
aid: slot-<xeslot> | xe-<slot>-<port>
no spanning-tree <aid>
Disables STP on listed ports.
spanning-tree <aid> edge-port
Sets the specified ports as edge ports. This allows the port to
transition to a forwarding state immediately without having to
go through the listening and learning states.
Note: An edge port becomes a non-edge port as soon as it
receives a Bridge Protocol Data Units (BPDU).
no spanning-tree <aid> edge-port
Sets the listed ports as non-edge ports.
spanning-tree <aid> path-cost <1-
65535>
Specifies the cost of transmitting a frame to a LAN through the
port(s). It is assigned according to the speed of the bridge.
spanning-tree <aid> priority <0-
255>
Sets the priority for the specified ports. Priority decides which
port should be disabled when more than one port forms a loop
in a OLT. Ports with a higher priority numeric value are disabled
first.
spanning-tree help
Provides more information about the specified command.

Содержание