Administrator Guide

show ip vrf [vrf-name]
Assigning an OSPF Process to a VRF Instance
OSPF routes are supported on all VRF instances. See the Open Shortest Path First (OSPFv2) chapter for complete OSPF conguration
information.
Assign an OSPF process to a VRF instance . Return to CONFIGURATION mode to enable the OSPF process. The OSPF Process ID is the
identifying number assigned to the OSPF process, and the Router ID is the IP address associated with the OSPF process.
Once the OSPF process and the VRF are tied together, the OSPF Process ID cannot be used again in the system.
Enable the OSPFv2 process globally for a VRF instance. Enter the VRF key word and instance name to tie the OSPF instance to the
VRF. All network commands under this OSPF instance are subsequently tied to the VRF instance.
CONFIGURATION
router ospf process-id vrf vrf name
The process-id range is from 0-65535.
Conguring VRRP on a VRF Instance
You can congure 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 congured with IP static routes for reaching specic 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. .
Table 111.
Conguring VRRP on a 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
Congure the VRRP group and
virtual IP address
vrrp-group 10
virtual-address 10.1.1.100
show config
-----------------------------
!
interface TenGigabitEthernet 1/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 1/13, IPv4 VRID: 10,
Version: 2, Net: 10.1.1.1
VRF: 1 vrf1
State: Master, Priority: 100, Master:
1070 Virtual Routing and Forwarding (VRF)