Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
11-9
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 11 Configuring Layer 3 Virtualization
Configuring VRFs
This example shows how to add an interface to the VRF:
switch# configure terminal
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.
SUMMARY STEPS
1. configure terminal
2. router ospf instance-tag
3. vrf vrf-name
4. (Optional) maximum-paths paths
5. interface interface-type slot/port
6. vrf member vrf-name
7. ip address ip-prefix/length
8. ip router ospf instance-tag area area-id
9. (Optional) 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