Configuring VRFs
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Assigning VRF Membership to an Interface
You can make an interface a member of a VRF.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Assign the IP address for an interface after you have configured the interface for a VRF.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Step 3
vrf member vrf-name
Example:
switch(config-if)# vrf member
RemoteOfficeVRF
Step 4
ip address ip-prefix/length
Example:
switch(config-if)# ip address
192.0.2.1/16
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
14-8
config t
interface interface-type slot/port
vrf member vrf-name
ip-address ip-prefix/length
show vrf vrf-name interface interface-type number
copy running-config startup-config
Chapter 14
Purpose
Enters configuration mode.
Enters interface configuration mode.
Adds this interface to a VRF.
Configures an IP address for this interface. You must
do this step after you assign this interface to a VRF.
Configuring Layer 3 Virtualization
OL-20002-02