Setup Guide

S1(conf)#ip vrf VRF-3 3
!
S1(conf)#interface GigabitEthernet 1/1
S1(conf-if-gi-1/1)#ip vrf forwarding VRF-1
S1(conf-if-gi-1/1)#ip address 10.10.1.5/24
S1(conf-if-gi-1/1)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 1 will be 177.
S1(conf-if-gi-1/1-vrid-101)#priority 100
S1(conf-if-gi-1/1-vrid-101)#virtual-address 10.10.1.2
S1(conf-if-gi-1/1)#no shutdown
!
S1(conf)#interface GigabitEthernet 1/2
S1(conf-if-gi-1/2)#ip vrf forwarding VRF-2
S1(conf-if-gi-1/2)#ip address 10.10.1.6/24
S1(conf-if-gi-1/2)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 2 will be 178.
S1(conf-if-gi-1/2-vrid-101)#priority 100
S1(conf-if-gi-1/2-vrid-101)#virtual-address 10.10.1.2
S1(conf-if-gi-1/2)#no shutdown
!
S1(conf)#interface GigabitEthernet 1/3
S1(conf-if-gi-1/3)#ip vrf forwarding VRF-3
S1(conf-if-gi-1/3)#ip address 20.1.1.5/24
S1(conf-if-gi-1/3)#vrrp-group 15
% Info: The VRID used by the VRRP group 15 in VRF 3 will be 243.
S1(conf-if-gi-1/3-vrid-105)#priority 255
S1(conf-if-gi-1/3-vrid-105)#virtual-address 20.1.1.5
S1(conf-if-gi-1/3)#no shutdown
DellEMC#show vrrp gigabitethernet 2/8
------------------
GigabitEthernet 2/8, IPv4 VRID: 1, Version: 2, Net: 10.1.1.1
VRF: 0 default
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: 119, Gratuitous ARP sent: 1
Virtual MAC address:
00:00:5e:00:01:01
Virtual IP address:
10.1.1.100
Authentication: (none)
Example of Conguring VRRP in a VRF on Switch-2 (Non-VLAN Conguration)
Switch-2
S2(conf)#ip vrf default-vrf 0
!
S2(conf)#ip vrf VRF-1 1
!
S2(conf)#ip vrf VRF-2 2
!
S2(conf)#ip vrf VRF-3 3
!
S2(conf)#interface GigabitEthernet 1/1
S2(conf-if-gi-1/1)#ip vrf forwarding VRF-1
S2(conf-if-gi-1/1)#ip address 10.10.1.2/24
S2(conf-if-gi-1/1)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 1 will be 177.
S2(conf-if-gi-1/1-vrid-101)#priority 255
S2(conf-if-gi-1/1-vrid-101)#virtual-address 10.10.1.2
S2(conf-if-gi-1/1)#no shutdown
!
S2(conf)#interface GigabitEthernet 1/2
S2(conf-if-gi-1/2)#ip vrf forwarding VRF-2
S2(conf-if-gi-1/2)#ip address 10.10.1.2/24
S2(conf-if-gi-1/2)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 2 will be 178.
S2(conf-if-gi-1/2-vrid-101)#priority 255
S2(conf-if-gi-1/2-vrid-101)#virtual-address 10.10.1.2
S2(conf-if-gi-1/2)#no shutdown
1082
Virtual Router Redundancy Protocol (VRRP)