3Com 7700 Configuration Manual page 278

Hide thumbs Also See for 7700:
Table of Contents

Advertisement

270
C
10: R
HAPTER
ELIABILITY
Example: Multiple
Virtual Routers
Configure switch A
1 Create a virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
2 Set the priority for the virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 priority 110
3 Set the authentication key for the virtual router.
[LSW_A-vlan-interface2] vrrp authentication-mode md5 lanswitch
4 Set Master to send VRRP packets every 5 seconds.
[LSW_A-vlan-interface2] vrrp vrid 1 timer advertise 5
5 Track an interface.
[LSW_A-vlan-interface2] vrrp vrid 1 track vlan-interface 3 reduced
30
Configure switch B
1 Create a virtual router.
[LSW_B-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
2 Set the authentication key for the virtual router.
[LSW_B-vlan-interface2] vrrp authentication-mode md5 lanswitch
3 Set Master to send VRRP packets every 5 seconds.
[LSW_B-vlan-interface2] vrrp vrid 1 timer advertise 5
Under normal conditions, switch A functions as the gateway, but when the
interface vlan-interface 2 of switch A is down, its priority is reduced by 30, lower
than that of switch B so that switch B preempts the master for gateway services
instead.
When vlan-interface2, the switch A interface, recovers, this switch resumes its
gateway function as master.
A Switch can function as the backup switch for many virtual routers.
Such a multi-backup configuration can implement load balancing. For example,
switch A, as master switch of group 1, can share the responsibility of the backup
switch for virtual router 2 and switch B performs the same functions for group 2
and virtual router 1. Some hosts employ virtual router 1 as the gateway, while
others employ virtual router 2 as the gateway. In this way, both load balancing and
mutual backup are possible.
Configure switch A:
1 Create virtual router 1.
[LSW_A-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
2 Set the priority for the virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 priority 150
3 Create virtual router 2.
[LSW_A-vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112

Advertisement

Table of Contents
loading

Table of Contents