Send document comments to nexus7k-docfeedback@cisco.com.
6-43
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 6      Configuring OSPFv2
Configuring Advanced OSPFv2
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
vrf context 
vrf-name
Example:
switch(config)# vrf context 
RemoteOfficeVRF
switch(config-vrf)#
Creates a new VRF and enters VRF configuration 
mode.
Step 3
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 4
vrf 
vrf-name
Example:
switch(config-router)# vrf 
RemoteOfficeVRF
switch(config-router-vrf)#
Enters VRF configuration mode.
Step 5
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 6
interface 
interface-type slot/port
Example:
switch(config-router-vrf)# interface 
ethernet 1/2
switch(config-if)#
Enters interface configuration mode.
Step 7
vrf member 
vrf-name
Example:
switch(config-if)# vrf member 
RemoteOfficeVRF
Adds this interface to a VRF.
Step 8
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 9
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 10
copy running-config startup-config
Example:
switch(config)# copy running-config 
startup-config
(Optional) Saves this configuration change.