Enabling a master VRRP device

About this task

This task is performed on the device that is designated as the master VRRP device. For example, Router 1 is the master VRRP device In the figure that follows.

Click to expand in new window
Basic VRRP topology

Procedure

  1. On the device designated as the master VRRP device, and from privileged EXEC mode, enter configuration mode.
    device# configure terminal
    
  2. Globally enable VRRP.
    device(config)# protocol vrrp
    
  3. Configure the Ethernet interface link for Router 1.
    device(config)# interface ethernet 1/6
    
  4. Configure the IP address of the interface.
    device(conf-if-eth-1/6)# ip address 192.168.4.1/24
    
  5. Assign Router 1 to a group called Group 1.
    device(conf-if-eth-1/6)# vrrp-group 1
    
  6. Assign a virtual router IP address.
    device(config-vrrp-group-1)# virtual-ip 192.168.4.1
    
    Note

    Note

    For VRRP, the physical router whose IP address is the same as the virtual router group IP address becomes the owner and master.

Example

The following example configures a VRRP master device.

device# configure
device(config)# protocol vrrp
device(config)# interface ethernet 1/6
device(conf-if-eth-1/6)# ip address 192.168.4.1/24
device(conf-if-eth-1/6)# vrrp-group 1
device(config-vrrp-group-1)# virtual-ip 192.168.4.1