Foundry Configuration Guide for the FESX, FSX, and FWSX
7 - 4
© Foundry Networks, Inc.
December 2005
Enabling or Disabling the Spanning Tree Protocol (STP)
STP is
enabled
by default on devices running Layer 2 code. STP is
disabled
by default on devices running Layer
3 code.
You can enable or disable STP on the following levels:
•
Globally – Affects all ports and port-based VLANs on the device.
•
Port-based VLAN – Affects all ports within the specified port-based VLAN. When you enable or disable STP
within a port-based VLAN, the setting overrides the global setting. Thus, you can enable STP for the ports
within a port-based VLAN even when STP is globally disabled, or disable the ports within a port-based VLAN
when STP is globally enabled.
•
Individual port – Affects only the individual port. However, if you change the STP state of the primary port in
a trunk group, the change affects all ports in the trunk group.
NOTE:
The CLI converts the STP groups into topology groups when you save the configuration. For backward
compatibility, you can still use the STP group commands. However, the CLI converts the commands into the
topology group syntax. Likewise, the
show stp-group
command displays STP topology groups. See “Topology
Groups” on page 1.
Enabling or Disabling STP Globally
Use the following method to enable or disable STP on a device on which you have not configured port-based
VLANs.
NOTE:
When you configure a VLAN, the VLAN inherits the global STP settings. However, once you begin to
define a VLAN, you can no longer configure standard STP parameters globally using the CLI. From that point on,
you can configure STP only within individual VLANs.
To enable STP for all ports in all VLANs on a Foundry device, enter the following command:
FESX424 Router(config)# spanning-tree
This command enables a separate spanning tree in each VLAN, including the default VLAN.
Syntax:
[no] spanning-tree
Enabling or Disabling STP in a Port-Based VLAN
Use the following procedure to disable or enable STP on a device on which you have configured a port-based
VLAN. Changing the STP state in a VLAN affects only that VLAN.
To enable STP for all ports in a port-based VLAN, enter commands such as the following:
FESX424 Router(config)# vlan 10
FESX424 Router(config-vlan-10)# spanning-tree
Syntax:
[no] spanning-tree
Path Cost
The cost of using the port to reach the root bridge. When
selecting among multiple links to the root bridge, STP
chooses the link with the lowest path cost and blocks the
other paths. Each port type has its own default STP path
cost.
10 Mbps – 100
100 Mbps – 19
Gigabit – 4
10 Gigabit – 2
Possible values are 0 – 65535
Table 7.4: Default STP Port Parameters (Continued)
Parameter
Description
Default and Valid Values
Содержание FastIron Edge Switch X424
Страница 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Страница 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Страница 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Страница 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Страница 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Страница 334: ...Foundry Configuration Guide for the FESX FSX and FWSX 13 18 Foundry Networks Inc December 22 2005...
Страница 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Страница 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Страница 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Страница 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Страница 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Страница 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...