Send document comments to nexus7k-docfeedback@cisco.com.
14-9
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 14 Configuring Layer 3 Virtualization
Configuring VRFs
The following example shows how to add an interface to the VRF:
switch# config t
switch(config)# interface ethernet 1/2
switch(config-if)# vrf member RemoteOfficeVRF
switch(config-if)# ip address 192.0.2.1/16
switch(config-if)# copy running-config startup-config
Configuring VRF Parameters for a Routing Protocol
You can associate a routing protocol with one or more VRFs. See the appropriate chapter for information
on how to configure VRFs for the routing protocol. This section uses OSPFv2 as an example protocol
for the detailed configuration steps.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. router protocol tag
3. vrf vrf-name
4. configure optional parameters for the protocol in the VRF.
5. copy running-config startup-config
Step 5
show vrf
vrf-name
interface
interface-type number
Example:
switch(config-vrf)# show vrf Enterprise
interface ethernet 1/2
(Optional) Displays VRF information.
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose