Cisco Nexus 7000 Series Configuration Manual page 157

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 6
Configuring OSPFv2
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 .
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
vrf context vrf-name
Example:
switch(config)# vrf context
RemoteOfficeVRF
switch(config-vrf)#
Step 3
router ospf instance-tag
Example:
switch(config-vrf)# router ospf 201
switch(config-router)#
Step 4
vrf vrf-name
Example:
switch(config-router)# vrf
RemoteOfficeVRF
switch(config-router-vrf)#
Step 5
maximum-paths paths
Example:
switch(config-router-vrf)# maximum-paths
4
Step 6
interface interface-type slot/port
Example:
switch(config-router-vrf)# interface
ethernet 1/2
switch(config-if)#
Step 7
vrf member vrf-name
Example:
switch(config-if)# vrf member
RemoteOfficeVRF
Step 8
ip address ip-prefix/length
Example:
switch(config-if)# ip address
192.0.2.1/16
Step 9
ip router ospf instance-tag area area-id
Example:
switch(config-if)# ip router ospf 201
area 0
Step 10
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
OL-20002-02
Purpose
Enters configuration mode.
Creates a new VRF and enters VRF configuration
mode.
Creates a new OSPFv2 instance with the configured
instance tag.
Enters VRF configuration mode.
(Optional) Configures the maximum number of equal
OSPFv2 paths to a destination in the route table for this
VRF. Used for load balancing.
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.
Assigns this interface to the OSPFv2 instance and area
configured.
(Optional) Saves this configuration change.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Configuring Advanced OSPFv2
6-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents