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.
device# configure terminal
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
Note
For VRRP, the physical router whose IP address is the same as the virtual router group IP address becomes the owner and master.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