Send document comments to nexus7k-docfeedback@cisco.com.
14-10
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 14 Configuring Layer 3 Virtualization
Configuring VRFs
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
router ospf
instance-tag
Example:
switch(config-vrf)# router ospf 201
switch(config-router)#
Creates a new OSPFv2 instance with the configured
instance tag.
Step 3
vrf
vrf-name
Example:
switch(config-router)# vrf
RemoteOfficeVRF
switch(config-router-vrf)#
Enters VRF configuration mode.
Step 4
maximum-paths
paths
Example:
switch(config-router-vrf)# maximum-paths
4
(Optional) Configures the maximum number of equal
OSPFv2 paths to a destination in the route table for this
VRF. Used for load balancing.
Step 5
interface
interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Enters interface configuration mode.
Step 6
vrf member
vrf-name
Example:
switch(config-if)# vrf member
RemoteOfficeVRF
Adds this interface to a VRF.
Step 7
ip address
ip-prefix/length
Example:
switch(config-if)# ip address
192.0.2.1/16
Configures an IP address for this interface. You must
do this step after you assign this interface to a VRF.
Step 8
ip router ospf
instance-tag
area
area-id
Example:
switch(config-if)# ip router ospf 201
area 0
Assigns this interface to the OSPFv2 instance and area
configured.
Step 9
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.