You can improve
the availability of VLANs by configuring VLANs over a failover group.
To ensure success, each port (or link aggregate) used in the failover
group must be tagged with the IDs of the VLANs to be created over
it. Before creating the failover group, you must decide the ports
to include in the failover group.
Figure D-2 shows the failover group lan902 consisting of
MANUAL link aggregate lan901 as the port with
ports lan5 and lan6 as the standby
ports. To protect against switch failures, link aggregate lan901 is connected through Switch 1, and ports lan5 and lan6 are connected to Switch
2. Switches 1 and 2 are connected to each other as well as the outgoing
network. Two VLANs, with IDs 333 and 334, operate over failover group lan902.
As the first step in creating the failover group,
associate the ports in link aggregate lan901 to Trk4 on Switch 1; set the trunk type to trunk (MANUAL trunking). Connect ports lan5 and lan6 to ports F17 and F18, respectively, on Switch 2.
To create the VLANs on Switch 1, complete the
following steps:
Create the VLANs with IDs
333 and 334. Enter:
Switch 1#
Switch 1# configure
Switch 1(config)# vlan 333 name vlan_333
Switch 1(config)# vlan 334 name vlan_334 |
Tag Trk4 to VLANs 333 and 334. Enter:
Switch 1(config)# vlan 333 tagged Trk4
Switch 1(config)# vlan 334 tagged Trk4
Switch 1(config)# exit |
Verify that the VLANs with
IDs 333 and 334 are tagged correctly. Enter:
Switch 1# show vlan 333
Status and Counters - VLAN Information - Ports - VLAN 333
802.1Q VLAN ID : 333
Name : vlan_333
Status : Port-based
Voice : No
Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
Trk4 Tagged Learn Up
Switch 1# show vlan 334
Status and Counters - VLAN Information - Ports - VLAN 334
802.1Q VLAN ID : 334
Name : vlan_334
Status : Port-based
Voice : No
Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
Trk4 Tagged Learn Up |
To create the VLANs on Switch 2, complete the
following steps:
Create the VLANs with IDs
333 and 334. Enter:
Switch 2#
Switch 2# configure
Switch 2(config)# vlan 333 name vlan_333
Switch 2(config)# vlan 334 name vlan_334 |
Tag ports F17 and F18 to VLANs
333 and 334. Enter:
Switch 2(config)# vlan 333 tagged F17
Switch 2(config)# vlan 333 tagged F18
Switch 2(config)# vlan 334 tagged F17
Switch 2(config)# vlan 334 tagged F18
Switch 2(config)# exit |
Verify that the VLANs with
IDs 333 and 224 are tagged correctly. Enter:
Switch 2# show vlan 333
Status and Counters - VLAN Information - Ports - VLAN 333
802.1Q VLAN ID : 333
Name : vlan_333
Status : Port-based
Voice : No
Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
F17 Tagged Learn Up
F18 Tagged Learn Up
Switch 2# show vlan 334
Status and Counters - VLAN Information - Ports - VLAN 334
802.1Q VLAN ID : 334
Name : vlan_334
Status : Port-based
Voice : No
Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
F17 Tagged Learn Up
F18 Tagged Learn Up |
On the server side, complete the following steps:
Create link aggregate lan901.
Create failover group lan902.
Create VLANs 333 and 334 over lan902. Enter:
# lanadmin -V create vlanid 333 902
Successfully configured.
lan5000: vlanid 333 name UNNAMED pri 0 tos 0 tos_override
IP_HEADER pri_override CONF_PRI ppa 902
# lanadmin -V create vlanid 334 902
Successfully configured.
lan5000: vlanid 334 name UNNAMED pri 0 tos 0 tos_override
IP_HEADER pri_override CONF_PRI ppa 902 |