Users Guide

Table Of Contents
VRRP 1389
7
Enable preempt mode so that the router can regain its position as VRRP
master if its priority is greater than the priority of the backup router.
console(config-if-vlan10)#vrrp 10 preempt
8
Enable the VRRP groups on the interface.
console(config-if-vlan10)#vrrp 10 mode
console(config-if-vlan10)#exit
console(config)#exit
Configuring VRRP in a VRF
In this example, a VRRP master is configured in VRF red-1. Interface gi1/0/1
on each of the VRRP peers is connected to the other switch. The
configuration steps are as follows:
1
Create the VRRP VLAN:
console#config
console(config)#vlan 10
console(config-vlan10)#exit
2
Create a VRF and enable routing:
console(config)#ip vrf red-1
console(config-vrf-red-1)#ip routing
console(config-vrf-red-1)#exit
3
Enable ip routing globally:
console(config)#ip routing
4
Enable VRRP globally:
console(config)#ip vrrp
5
Configure a VLAN interface:
console(config)#interface vlan 10
6
Make the VRF a member of the VLAN:
console(config-if-vlan10)#ip vrf forwarding red-1
7
Add an IP address to the VLAN to make it a routing VLAN:
console(config-if-vlan10)#ip address 129.168.0.1 255.255.255.0
8
Create a VRRP instance:
console(config-if-vlan10)#vrrp 1
9
Set the VRRP virtual address:
console(config-if-vlan10)#vrrp 1 ip 129.168.0.100