Configuring Networks In Ospfv2 - Cisco Nexus 7000 Series Configuration Manual

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
You can configure the following optional parameters for OSPFv2 in router configuration mode:
Command
distance number
Example:
switch(config-router)# distance 25
log-adjacency-changes [detail]
Example:
switch(config-router)#
log-adjacency-changes
maximum-paths path-number
Example:
switch(config-router)# maximum-paths 4
The following example shows how to create an OSPFv2 instance:
switch# config t
switch(config)# router ospf 201
switch(config-router)# copy running-config startup-config

Configuring Networks in OSPFv2

You can configure a network to OSPFv2 by associating it through the interface that the router uses to
connect to that network (see the
default backbone area (Area 0), or you can create new areas using any decimal number or an IP address.
All areas must connect to the backbone area either directly or through a virtual link.
Note
OSPF is not enabled on an interface until you configure a valid IP address for that interface.
Note
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the
page
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
OL-20002-02
6-14).
config t
interface interface-type slot/port
ip address ip-prefix/length
ip router ospf instance-tag area area-id [secondaries none]
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Purpose
Configures the administrative distance for this
OSPFv2 instance. The range is from 1 to 255. The
default is 110.
Generates a system message whenever a neighbor
changes state.
Configures the maximum number of equal OSPFv2
paths to a destination in the route table. This
command is used for load balancing. The range is
from 1 to 16. The default is 8.
"Neighbors" section on page
"Enabling the OSPFv2 Feature" section on
Configuring Basic OSPFv2
6-2). You can add all networks to the
6-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents