Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
VRRP Application Example
Configuring VRRP
page 32-28
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
VRRP Tracking Example
The figure below shows two VRRP routers with two virtual routers backing up one IP address on each 
VRRP router respectively. Virtual router 1 serves as the default gateway on OmniSwitch A for clients 1 
and 2 through IP address 10.10.2.250 and virtual router 2 serves as default gateway on OmniSwitch B for 
clients 3 and 4 through IP address 10.10.2.245. For example, if the port that provides access to the Inter-
net on OmniSwitch A fails, virtual router 1 will continue to be the default router for clients 1 and 2, but 
clients 1 and 2 will not be able to access the Internet.
In this example, the master for virtual router 1 has a priority of 100 and the backup for virtual router 1 has 
a priority of 75. The virtual router configuration for VRID 1 and 2 on VRRP router A is as follows:
-> vrrp 1 5 priority 100 preempt
-> vrrp 2 5 priority 75
The virtual router configuration for VRID 1 and 2 on VRRP router B is as follows:
-> vrrp 1 5 priority 75 
-> vrrp 2 5 priority 100 preempt
To ensure workstation clients 1 and 2 have connectivity to the internet, configure a tracking policy on 
VRRP router A to monitor port 3/1 and associate the policy with VRID 1.
-> vrrp track 1 enable priority 50 port 3/1
-> vrrp 1 5 track-association 1
VRRP Router
OmniSwitch A
VRRP Router
OmniSwitch B
Virtual Routers
VRID 1
10.10.2.250
VRID 2
10.10.2.245
VRRP Tracking Example
Master 1
10.10.2.245
10.10.2.250
default gateway 10.10.2.250
default gateway 10.10.2.245
clients 3 and 4
clients 1 and 2
Backup 2
Backup 1
Master 2
VLAN 5
port 3/1
port 3/1