3 enabling stp – ZyXEL Communications LAYER 3 ES-3124 User Manual

Page 279

Advertising
background image

ES-3124 User’s Guide

Chapter 36 Configuration Mode Commands

277

36.3 Enabling STP

Use the

spanning-tree

or the

mrstp

commands to enable and configure STP on the switch.

The difference between the commands is that

spanning-tree

only allows you to set up one

spanning tree configuration and the

mrstp

command allows you to set up multiple ones.

Syntax:

spanning-tree
spanning-tree priority <0-61440>
spanning-tree hello-time <1-10> maximum-age <6-40> forward-
delay <4-30>
spanning-tree <port-list> path-cost <1-65535>
spanning-tree <port-list> priority <0-255>

and

mrstp <treeIndex> <cr>
mrstp <treeIndex> priority <0-61440>
mrstp <treeIndex> hello-time <1-10> maximum-age <6-40> forward-
delay <4-30>
mrstp interface <port-list> <cr>
mrstp interface <port-list> path-cost <1-65535>
mrstp interface <port-list> priority <0-255>
mrstp interface <port-list> treeIndex <1-2>

where

spanning-tree

=

Enables STP on the switch.

mrstp <treeIndex>

Enables a specific tree configuration.

priority <0-61440>

=

Specifies the bridge priority for the switch. The lower the
numeric value you assign, the higher the priority for this bridge.

Bridge priority is used in determining the root switch, root port
and designated port. The switch with the highest priority
(lowest numeric value) becomes the STP root switch. If all
switches have the same priority, the switch with the lowest
MAC address will then become the root switch.

Bridge Priority determines the root bridge, which in turn
determines Hello Time, Max Age and Forwarding Delay.

hello-time <1-10>

=

Specifies the time interval in seconds between BPDU (Bridge
Protocol Data Units) configuration message generations by the
root switch.

Advertising