Foundry Networks Switch and Router Installation And Configuration Manual page 942

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
Enable Spanning Tree on a VLAN
The spanning tree bridge and port parameters are configurable using one CLI command set at the Global
Configuration Level of each Port-based VLAN. Suppose you wanted to enable the IEEE 802.1d STP across
VLAN 3. To do so, use the following method.
NOTE: When port-based VLANs are not operating on the system, STP is set on a system-wide level at the
global CONFIG level of the CLI.
USING THE CLI
1.
Access the global CONFIG level of the CLI on FastIron-A by entering the following commands:
FastIron-A> enable
No password has been assigned yet...
FastIron-A# configure terminal
FastIron-A(config)#
2.
Access the level of the CLI for configuring port-based VLAN 3 by entering the following command:
FastIron-A(config)#
FastIron-A(config)# vlan 3
FastIron-A(config-vlan-3)#
3.
From VLAN 3's configuration level of the CLI, enter the following command to enable STP on all tagged and
untagged ports associated with VLAN 3.
FastIron-B(config-vlan-3)#
FastIron-B(config-vlan-3)# spanning-tree
FastIron-B(config-vlan-3)#
4.
Enter the following commands to exit the VLAN CONFIG mode and save the configuration to the system-
config file on flash memory:
FastIron-B(config-vlan-3)#
FastIron-B(config-vlan-3)# end
FastIron-B# write memory
FastIron-B#
5.
Repeat steps 1 – 4 on FastIron-B.
NOTE: You do not need to configure values for the STP parameters. All parameters have default values as
noted below. Additionally, all values will be globally applied to all ports on the system or on the port-based VLAN
for which they are defined.
To configure a specific path-cost or priority value for a given port, enter those values using the key words in the
brackets [ ] shown in the syntax summary below. If you do not want to specify values for any given port, this
portion of the command is not required.
Syntax: vlan <vlan-id> by port
Syntax: [no] spanning-tree
Syntax: spanning-tree [ethernet <portnum> path-cost <value> priority <value>] forward-delay <value>
hello-time <value> maximum-age <time> priority <value>
Bridge STP Parameters (applied to all ports within a VLAN)
Forward Delay – the period of time a bridge will wait (the listen and learn period) before forwarding data
packets. Possible values: 4 – 30 seconds. Default is 15.
Maximum Age – the interval a bridge will wait for receipt of a hello packet before initiating a topology change.
Possible values: 6 – 40 seconds. Default is 20.
25 - 22
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents