The text of a manual · part 14 of 25
Using the Cisco Aironet 340 Series Wireless Bridges: Using the Spanning-Tree Protocol, pages 109 to 118
Pages 109 to 118 of 218, from Using the Cisco Aironet 340 Series Wireless Bridges
The original document is the PDF (1.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cisco 340 Bridge
Page 109
Using the Spanning-Tree Protocol 8 - 11
Figure 8.2 provides a sample configuration in which it would be useful to change the root bridge. Bridge 4 is the root with the spanning tree shown by the thick line. STP has been disabled to the port on Bridge 1 to prevent a loop. Figure 8.2 - Non-Optimal Choice of Root Bridge LAN A Port disabled by STP
Bridge 1
Bridge 2 LAN B
Bridge 3
LAN C
Bridge 4 (Root)
LAN D
Page 110
8 - 12 Aironet 340 Series Bridge
If there is heavy traffic between LAN A and LAN B, it would be more efficient to have Bridge 1 become the root with the port on Bridge 3 being disabled. Figure 8.3 - Alternate Root Bridge Arrangement LAN A
Bridge 1
Bridge 2 LAN B
Bridge 3
Port disabled by STP
LAN C
Bridge 4 (Root)
LAN D
Page 111
Using the Spanning-Tree Protocol 8 - 13
Setting the Hello Message Interval Time (Hello_Time) The hello_time option is used to set the interval time, in seconds, between the transmission of configuration messages. This value is only used if the local bridge becomes the spanning tree root bridge. If not, the value in received configuration messages transmitted from the root bridge is used. If the interval time is set too high, the infrastructure will respond slowly in resolving any conflict problems. However, if set too low, the infrastructure will be crowded with hello message traffic. The interval time values range between 1 and 10 with a default value of 2.
Setting the Forwarding Delay Time (Forward_Delay) The forward_delay option is used to set the delay time, in seconds, that the ports will spend in the listening and learning states. This value is only used if the local bridge becomes the spanning tree root bridge. If not, the value in received configuration messages transmitted from the root bridge is used. This option is also the timeout period used to age learned addresses whenever the spanning tree topology is changed. The value should be at least twice the transit time of a packet sent from one end of the infrastructure to the other. This allows for news of a topology change to reach all nodes and allows all ports to be blocked before new ports enter the forwarding state. If the interval time is set too low, then temporary loops could be formed. However, if set too high, it will take longer for the infrastructure to become active after a spanning tree topology change has been made. The delay time values range between 4 and 30 with a default value of 15.
Setting the Receive Hello Message Timeout (Msg_age_timeout) The msg_age_timeout option is used to set the timeout period, in seconds, a blocked or root port watches for configuration messages from the infrastructure’s designated port. This value is only used if the local bridge becomes the spanning tree bridge. If not, the value received in configuration messages transmitted from the root bridge is used. Each time a configuration message is received, the timer is started. If the timer expires, the root bridge is assumed to have failed and the spanning tree infrastructure will be reconfigured.
Page 112
8 - 14 Aironet 340 Series Bridge
If the timeout period is set too low, the spanning tree infrastructure may reconfigure itself unnecessarily and messages can be lost due to heavy traffic on the infrastructure. However, if set too high, the infrastructure will take longer than necessary to recover from failed ports or bridges. The upper limit on the allowed range is determined by the setting of the forwarding delay. The timeout period must be less than twice the forwarding delay, minus 1 second. The timeout values range between 6 and 29 with a default value of 20.
Setting Port Parameters (Port) The port option allows you to set the port parameters for a root bridge’s local LAN port and for the ports of any active connected repeaters. When the port option is selected, the Configuration STP Port Menu appears. Configuration Stp Port Menu Option
Value
Description
1 - Port
[ on
]
- Protocol enabled for ethernet port
2 - Priority
[ 80
]
- Local ethernet port priority
3 - Cost
[ 100 ]
- Local ethernet port cost
4 - Rport
- Protocol enabled for remote port
5 - Rpriority
- Remote port priority
6 - Rcost
- Remote port cost
Enabling the STP Protocol (Port) The port option is used to enable the STP protocol on the local port. The default setting is “On”, which allows all root bridge LAN ports to be initially placed in the listening state. If the option is turned “Off”, the LAN ports are placed in the forwarding state. If the port’s LAN will always be connected to the bridge and loops will never occur, turn the protocol “Off” to prevent the port from transmitting configuration messages on every timeout period.
Page 113
Using the Spanning-Tree Protocol 8 - 15
Setting the Local Port Priority (Priority) The priority option is only used when two or more repeaters are connected to the same LAN for redundancy and you want to select which one will forward the packets. The port assigned the lowest priority value will be the one to forward. The priority range is from 0 to ff hex with a default setting of 80.
Setting the Local Port Cost (Cost) The value for the cost option is added to the root cost field from any received configuration messages to determine if the port has the least cost path to the root. Cost values can be set for 65535 or less with a default value is 100. The larger the cost value, the more likely the port will be a backup for another active port on its LAN. If there is no active port, it is likely the LAN will be a leaf of the infrastructure tree or a less used LAN in the tree.
Configuring Ports of Active Connected Repeaters (Rport, Rcost, Rpriority) The rport, rpriority and rcost options are used to configure the ports of active and connected repeaters in the root’s radio tree. These options are identical to the port, priority and cost options described except when the values are entered, you will be prompted for the applicable port number. The port number can be obtained from the port ID field on the Protocol Status Display screen.
Page 114
8 - 16 Aironet 340 Series Bridge
Displaying the Protocol Status (Display) The display option shows the overall status of the STP protocol and the state of each port on the local bridge. When you select Display, the STP Status screen appears. STP STATUS Bridge Id : 8000-00409611cd0e Root Id : 8000-0000f3108678, Cost 100 Topology change : off
Network Hello interval : 2 sec Network Forward Delay : 5 sec Network Msg age Timeout : 20 sec ------------Designated---------Port Address LAN Id Cost State Type Bridge Port Root Cost ------------ --- ---- ----- -------- ---------- ----------------- ---- --------00409611cd0e Eth 8001 100 Forward Root 8000-0000f3108678 8002 0 n
Bridge Id: The ID of the local bridge.
n
Root Id: The ID of the spanning tree root. If the local bridge is not the root, then the cost to the root is also displayed.
n
Topology change: Indicates whether the short aging timeout is currently in use because of a port state change somewhere on the infrastructure.
n
Network Hello Interval, Network Forward Delay and Network Msg age Timeout: Shows the timeout values received from the root bridge which are in use by all bridges on the infrastructure. These values override any locally configured values.
n
Port Address: The infrastructure address of the bridge on which the port resides.
n
Id: The port ID, which consists of the port priority (high byte) and the port number (low byte). As each repeater connects to the root its port is assigned the next available port number.
n
Cost: The operator configured cost for the port.
n
State: Current state of the port. Shows one of forward, learn, listen, or blocked. The state may also be disabled if the port has been shut off by the operator.
n
Type: Current port type. Shows one of root, designated, or blocked. The type will be disabled if the protocol is not running on the port.
n
Designated (Bridge, Port, Root Cost): Displays the designated bridge and port for the specific LAN as well as the cost to the root from the designated port.
Page 115
Using the Spanning-Tree Protocol 8 - 17
Viewing the Port State (State) The state option is a read-only value which displays the current STP state of the local LAN port. The states displayed are forward, learn, listen, or blocked.
Page 116
8 - 18 Aironet 340 Series Bridge
Page 117
Part 3 - Control & Maintenance
Part 3 - Control & Maintenance
Page 118
Part 3 - Control & Maintenance