User`s guide

Configuring VRRP
9-4 Configuring VRRP
Router R2 Configuration
UsethefollowingproceduretoconfigureRouterR2asshownbackinFigure 91.Noticethatthe
configurationforRouterR2isnearlyidenticaltoRouterR1.ThedifferenceisthatRouterR2does
notownIPaddress10.0.0.1/16.SinceRouterR2doesnotownthisIPaddress,itis
thebackupand
willtakeoverfromthemasterifitshouldbecomeunavailable.
4. In VRRP Configuration mode:
Create a VRRP session for this router on VLAN
1 with a VRID of 1.
create vlan 1 1
5. Set a virtual router address as VLAN 1, VRID 1,
interface 10.0.0.1, and set this router as the
master (owner value 1).
address vlan 1 1 10.0.0.1 1
6. Enable VRRP on this router on VLAN 1, VRID 1. enable vlan 1 1
Note: Before enabling VRRP on this router you must set the other options described in
this section. Once enabled, you cannot make any configuration changes to VRRP on this
router without first disabling VRRP using the no enable vlan command.
Procedure 9-1 Configuring Router 1 for Basic VRRP (continued)
Step Task Command(s)
Procedure 9-2 Configuring Router 2 for Basic VRRP
Step Task Command(s)
1. In Global Configuration mode:
1. Create a routing interface for Router 2 on
VLAN 1.
interface vlan 1
2. In Interface Configuration mode:
Set and enable IP address 10.0.0.2
255.255.255.0 on this router and VLAN.
ip address 10.0.0.2 255.255.255.0
no shutdown
3. In Global Configuration mode:
Enable VRRP configuration mode on this router.
router vrrp
4. In VRRP Configuration mode:
Create a VRRP session for this router on VLAN
1 with a VRID of 1.
create vlan 1 1
5. Set a virtual router address as VLAN 1, VRID 1,
interface 10.0.0.1, and set this router as backup
(owner value 0).
address vlan 1 1 10.0.0.1 0
6. Enable VRRP on this router on VLAN 1, VRID 1. enable vlan 1 1
Note: Before enabling VRRP on this router you must set the other options described in
this section. Once enabled, you cannot make any configuration changes to VRRP on this
router without first disabling VRRP using the no enable vlan command.