Configuring basic VRRP parameters
To implement a simple VRRP configuration using all the default values, enter commands such as
the following.
Configuring the owner
Router1(config)# router vrrp
Router1(config)# inter e 1/6
Router1(config-if-1/6)# ip address 192.53.5.1
Router1(config-if-1/6)# ip vrrp vrid 1
Router1(config-if-1/6-vrid-1)# owner
Router1(config-if-1/6-vrid-1)# ip-address 192.53.5.1
Router1(config-if-1/6-vrid-1)# activate
Configuring a backup
To configure the VRRP Backup router, enter the following commands.
Router2(config)# router vrrp
Router2(config)# inter e 1/5
Router2(config-if-e10000-1/5)# ip address 192.53.5.3
Router2(config-if-e10000-1/5)# ip vrrp vrid 1
Router2(config-if-e10000-1/5-vrid-1)# backup
Router2(config-if-1/5-vrid-1)# advertise backup
Router2(config-if-e10000-1/5-vrid-1)# ip-address 192.53.5.1
Router2(config-if-e10000-1/5-vrid-1)# activate
When you configure a Backup router, the router interface on which you are configuring the VRID
must have a real IP address that is in the same subnet as the address associated with the VRID by
the Owner. However, the address cannot be the same.
Syntax: router vrrp
Syntax: backup [priority <value>] [track-priority <value>]
The priority <value> parameter specifies the VRRP priority for this virtual router. You can specify a
value from 3 – 254. The default is 100.
Enter a value of 3 – 254 for the track-priority <value> parameter if you want VRRP to monitor the
state of the interface. The default is 100.
Syntax: ip-address <ip-addr>
Refer to
Configuration rules for VRRP
•
•
•
•
BigIron RX Series Configuration Guide
53-1001810-01
"Configuration rules for VRRP"
The interfaces of all routers in a virtual router must be in the same IP subnet.
The IP address(es) associated with the virtual router must already be configured on the router
that will be the Owner router.
The IP address for the virtual router must be on only one router.
The Hello interval must be set to the same value on both the Owner and Backups for the virtual
router.
Configuring parameters specific to VRRP
on page 449 for additional requirements.
17
449