Connectivity Guide

interface interface-id
VRF CONFIGURATION Mode
3 Remove the interface from L2 switching mode.
no switchport
INTERFACE CONFIGURATION Mode
4 Assign the interface to the non-default VRF that you have created.
ip vrf forwarding vrf-name
INTERFACE CONFIGURATION Mode
5 Assign an IP address to the interface.
ip address ip-address
INTERFACE CONFIGURATION Mode
6 Congure a VRRP group.
vrrp-group group-id
INTERFACE CONFIGURATION Mode
7 Congure virtual IP address for the VRRP ID.
virtual-address ip-address
INTERFACE VRRP Mode
OS10(config)# ip vrf vrf-test
OS10(config-vrf)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no switchport
OS10(conf-if-eth1/1/1)# ip vrf forwarding vrf-test
OS10(conf-if-eth1/1/1)# ip address 10.1.1.1/24
OS10(conf-if-eth1/1/1)# vrrp-group 10
OS10(conf-eth1/1/1-vrid-10)# virtual-address 10.1.1.8
Before removing an interface from a VRF, delete the congured VRRP groups from the interface associated with the VRF. If you do not
delete the congured VRRP groups, these groups remain active on the default VRF resulting in duplicate virtual IP address congurations.
Set group priority
The router that has the highest primary IP address of the interface becomes the master. The default priority for a virtual router is 100. If
the master router fails, VRRP begins the election process to choose a new master router based on the next-highest priority. The virtual
router priority is automatically set to 255, if any of the congured virtual IP addresses matches the interface IP address.
1 Create a virtual router for the interface with the VRRP identier in INTERFACE mode, from 1 to 255.
vrrp-group vrrp-id
2 Congure the priority number for the VRRP group in INTERFACE-VRRP mode, from 1 to 254, default 100.
priority number
Set VRRP group priority
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# vrrp-group 254
OS10(conf-eth1/1/5-vrid-254)# priority 200
Verify VRRP group priority
OS10(conf-eth1/1/5-vrid-254)# do show vrrp 254
Interface : ethernet1/1/5 IPv4 VRID : 254
Primary IP Address : 10.1.1.1 State : master-state
Layer 3
607