Reference Guide

Configure VRRP on a VRF
You can configure the VRRP feature on interfaces that belong to a VRF instance.
In a virtualized network that consists of multiple VRFs, various overlay networks can exist on a shared
physical infrastructure. Nodes (hosts and servers) that are part of the VRFs can be configured with IP
static routes for reaching specific destinations through a given gateway in a VRF. VRRP provides high
availability and protection for next-hop static routes by eliminating a single point of failure in the default
static routed network. For more information, refer to VRRP Overview.
Task Command Syntax Command Mode
Create VRF
ip vrf vrf1
CONFIGURATION
Assign the VRF to an
interface
ip vrf forwarding vrf1
VRF CONFIGURATION
Assign an IP address to
the interface
ip address 10.1.1.1 /24
no shutdown
Configure the VRRP
group and virtual IP
address
vrrp-group 10
virtual-address 10.1.1.100
show config
-----------------------------
!
interface TenGigabitEthernet 0/13
ip vrf forwarding vrf1
ip address 10.1.1.1/24
!
vrrp-group 10
virtual-address 10.1.1.100
no shutdown
View VRRP command
output for the VRF vrf1
show vrrp vrf vrf1
------------------
TenGigabitEthernet 0/13, IPv4
VRID: 10, Version: 2, Net:
10.1.1.1
VRF: 2 vrf1
State: Master, Priority: 100,
Master: 10.1.1.1 (local)
Hold Down: 0 sec, Preempt: TRUE,
AdvInt: 1 sec
Adv rcvd: 0, Bad pkts rcvd: 0,
Adv sent: 43, Gratuitous ARP
sent: 0
Virtual MAC address:
00:00:5e:00:01:0a
Virtual IP address:
10.1.1.100
Authentication: (none)
Sample VRF Configuration
The following configuration illustrates a typical VRF set up.
Virtual Routing and Forwarding (VRF)
1031