Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring STP (Rev. 03)
Spanning Tree Protocol (STP)
© 2008 Foundry Networks, Inc.
Page 19 of 38
Enabling/Disabling STP
The
spanning-tree
command, in Protocol Configuration mode, enables/disables the Spanning Tree
option. To disable the spanning tree the user can also use the
no
form of the command.
The Spanning Tree algorithm dynamically creates a tree through the network used to efficiently
direct packets to their destinations. When STP is enabled, the unit acts as a node in the tree.
By default, STP is disabled.
Command Syntax
device-name
(cfg protocol)#
spanning-tree
{
enable
|
disable
}
device-name
(cfg protocol)#
no spanning-tree
Argument Description
enable
Enables the spanning tree status.
disable
Disables the spanning tree status.
NOTE
STP cannot be used for VPLS uplink protection.
Consult with the “
Configuring Multiprotocol Label Switching (MPLS) and
Hierarchical Virtual Private LAN Services (H-VPLS)
” chapter for additional details.
NOTE
STP uses a single Access List resource for each GigE port / each group of 8 Fast-
Ethernet ports.
To understand resource allocation of Access Lists, please refer to the “
Configuring
Access Control Lists (ACLs)
” chapter.
Setting the STP Bridge Priority
The
spanning-tree priority
command, in Protocol Configuration mode, sets the STP bridge
priority. The
no
form of this command resets the priority to its default value.
By default, the bridge priority value is 32768.
Command Syntax
device-name
(cfg protocol)#
spanning-tree priority
<
bridge-priority
>
device-name
(cfg protocol)#
no
spanning-tree priority
Argument Description
bridge-priority
The spanning tree bridge priority, in the range <0-65535>.
Setting the STP Hello-Time
The
spanning-tree hello-time
command, in Protocol Configuration mode, sets the time interval in
seconds between BPDU transmissions from the ports of this unit. The
no
form of this command
resets the default value.