Foundry Switch and Router Installation and Configuration Guide
6 - 14
December 2000
Link Redundancy and Load Balancing
The configuration in Figure 6.2 on page 6-12 uses a single POS link between the two remote devices. However,
you can provide link redundancy using either of the following methods:
•
Enable the Spanning Tree Protocol (STP) on all the port-based VLANs of which the POS ports are members,
then set the path costs to different values for different VLANs, so that STP prefers one POS port for some of
the VLANs but not others.
•
Configure the POS ports as a trunk group.
Using STP for Redundancy and Load Balancing
Figure 6.4 shows an example of link redundancy using STP. In this example, STP is enabled in port-based
VLANs 10, 20, 30, and 40. The POS ports are members of each of these VLANs. Each VLAN runs a separate
spanning tree (a separate instance of STP).
Figure 6.4
POS Layer 2 port redundancy using STP – default port path cost used
If you use the default settings for the STP parameters as shown in Figure 6.4, enabling STP on the POS ports for
all the port-based VLANs provides redundancy but does not provide load sharing. In this example, STP blocks
one of the POS ports for all the port-based VLANs.
Assuming the POS ports are operating at the same speed, the default STP path cost for each of the ports is the
same. Therefore, if you use the default STP path cost for each port, the spanning tree in each of the port-based
VLANs selects the same POS port for forwarding and blocks the other POS port.
To also provide load balancing, change the path cost of each the POS ports in some of the VLANs, but no others.
For example, to configure the POS ports on a switch so that STP uses one port for forwarding VLANs 10 and 20
and the other port for forwarding VLANs 30 and 40, change the port path cost on the first POS port to a lower
value for VLANs 10 and 20. On the other POS port, change the port path cost to the same lower value for the
other VLANs, 30 and 40. Figure 6.5 shows this configuration.
P
O
S
S2
P
O
S
E
E
E
E
S3
S4
VLAN
40
S1
VLAN
10
VLAN 20
VLAN 30
P
O
S
C2
P
O
S
E
E
E
C3
C4
VLAN
40
C1
VLAN
10
VLAN 20
VLAN 30
Foundry switch B
E
192.168.2.20
192.168.2.10
192.168.3.20
192.168.3.10
192.168.4.20
192.168.4.10
192.168.1.20
192.168.1.10
Ethernet over POS
Each client and its server on the other
Foundry device are in the same sub-net.
Traffic between each client and its server
is bridged over a PPP link on the SONET
link on the Layer 2 POS ports.
To provide load balancing in
addition to redundancy, configure
the STP path cost of the POS ports
to different values on different VLANs.
Spanning Tree is enabled on the client
and server VLANs. For each VLAN, one
POS link is active and the other is a standby.
Each POS port uses the same port path cost.
Thus, STP blocks one of the ports for all the VLANs.
This example assumes that Foundry switch A
is the root bridge for all the VLANs.
Foundry switch A
(root STP bridge)
FWD
VLAN 10, path cost 80 BLK
VLAN 20, path cost 80
VLAN 30, path cost 80
VLAN 40, path cost 80
FWD
BLK
FWD
FWD
BLK
BLK
FWD
VLAN 10, path cost 80 FWD
VLAN 20, path cost 80
VLAN 30, path cost 80
VLAN 40, path cost 80
FWD
FWD
FWD
FWD
FWD
FWD
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...