vrrp 1 timers advertise 3
vrrp 1 ip 192.168.201.1
!
interface GigabitEthernet 2/1
no switchport
ip address 202.101.90.63 255.255.255.0
!
router ospf
network 202.101.90.0 0.0.0.255 area 10
network 192.168.201.0 0.0.0.255 area 10
!
Configurations on device R2:
!
hostname "R2"
!
interface FastEthernet 0/0
no switchport
ip address 192.168.201.213 255.255.255.0
vrrp 1 ip 192.168.201.1
vrrp 1 timers advertise 3
!
interface GigabitEthernet 1/1
no switchport
ip address 60.154.101.3 255.255.255.0
!
!
router ospf
network 60.154.101.0 0.0.0.255 area 10
network 192.168.201.0 0.0.0.255 area 10
!
!
end
As shown above, routers R1 and R2 are in the same VRRP backup group 1, point to the
same virtual router IP address (192.168.201.1) and are both in the VRRP preemption
mode.Since the VRRP backup group priority of device R1 is 120 but that of R2 is the default
value 100, device R1 acts as the VRRP Master in normal cases.
46.5.3 Example of Monitored Interface
Configuration of VRRP
Establish the connections according to Figure 47-4. In this configuration example, user
workstation group (192.168.201.0/24) uses the backup group that is composed of routers R1
and R2, and points its gateway to the virtual router IP address 192.168.201.1 of the backup
group. The remote user workstation group (in network 192.168.12.0 /24) is accessed via
the virtual router 192.168.201.1. Here router R1 is set as the VRRP Master device. Different
from the above configuration example, router R1 is configured with VRRP to monitor
interface GigabitEthernet 2/1. In normal cases, device R1 is the active device to function as
the gateway (192.168.201.1). When device R1 becomes unreachable due to power-off or