Setup Guide
Table 134. VRRP on VRF
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
Congure 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)
Conguring Management VRF
You can assign a management interface to a management VRF.
1 Create a management VRF.
CONFIGURATION
ip vrf management
2 Assign a management port to a management VRF.
VRF MODE
interface management
When Management VRF is congured, the following interface range or interface group commands are disabled:
• ipv6 nd dad — Duplicated Address Detection
• ipv6 nd dns-server — Congure DNS distribution option in RA packets originated by the router
• ipv6 nd hop-limit — Set hop limit advertised in RA and used in IPv6 data packets originated by the router
• ipv6 nd managed-config-flag — Hosts should use DHCP for address cong
1090
Virtual Routing and Forwarding (VRF)