320
C
HAPTER
10: R
ELIABILITY
4
Set Master to send VRRP packets every 5 seconds.
[SW7700_A-vlan-interface2]
vrrp vrid 1 timer advertise 5
5
Track an interface.
[SW7700_A-vlan-interface2]
vrrp vrid 1 track vlan-interface 3
reduced 30
Configure switch B
1
Create a virtual router.
[SW7700_B-vlan-interface2]
vrrp vrid 1 virtual-ip 202.38.160.111
2
Set the authentication key for the virtual router.
[SW7700_B-vlan-interface2]
vrrp authentication-mode md5 lanswitch
3
Set Master to send VRRP packets every 5 seconds.
[SW7700_B-vlan-interface2]
vrrp vrid 1 timer advertise 5
Under normal conditions, switch A functions as the gateway. When the interface
vlan-interface 3 of switch A is down, its priority is reduced by 30, so run priority is
80. This run priority value is lower than the run priority value of switch B so switch
B preempts the master for gateway services.
When vlan-interface3, the switch A interface, recovers, this switch resumes its
gateway function as master.
Example: Multiple
Virtual Routers
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.
Load balancing is not supported in virtual-mac mode.
Configure switch A:
1
Create virtual router 1.
[SW7700_A-vlan-interface2]
vrrp vrid 1 virtual-ip 202.38.160.111
2
Set the priority for the virtual router.
[SW7700_A-vlan-interface2]
vrrp vrid 1 priority 150
3
Create virtual router 2.
[SW7700_A-vlan-interface2]
vrrp vrid 2 virtual-ip 202.38.160.112
Configure switch B:
1
Create virtual router 1.
[SW7700_B-vlan-interface2]
vrrp vrid 1 virtual-ip 202.38.160.111
2
Create virtual router 2.
[SW7700_B-vlan-interface2]
vrrp vrid 2 virtual-ip 202.38.160.112
3
Set the priority for the virtual router.
Содержание Switch 7700
Страница 10: ...2 ABOUT THIS GUIDE ...
Страница 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Страница 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 195: ...Route Capacity 187 ...
Страница 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 197: ...Route Capacity 189 ...
Страница 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Страница 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Страница 270: ...262 CHAPTER 7 QOS OPERATION ...
Страница 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Страница 330: ...322 CHAPTER 10 RELIABILITY ...
Страница 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...