Cisco Nexus 7000 Series Configuration Manual page 132

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

Advertisement

Configuring Basic 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 .
5.
6.
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Step 3
ip address ip-prefix/length
Example:
switch(config-if)# ip address
192.0.2.1/16
Step 4
ip router ospf instance-tag area area-id
[secondaries none]
Example:
switch(config-if)# ip router ospf 201
area 0.0.0.15
Step 5
show ip ospf instance-tag interface
interface-type slot/port
Example:
switch(config-if)# show ip ospf 201
interface ethernet 1/2
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
You can configure the following optional parameters for OSPFv2 in interface configuration mode:
Command
ip ospf cost number
Example:
switch(config-if)# ip ospf cost 25
ip ospf dead-interval seconds
Example:
switch(config-if)# ip ospf dead-interval
50
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
6-18
show ip ospf instance-tag interface interface-type slot/port
copy running-config startup-config
Purpose
Enters configuration mode.
Enters interface configuration mode.
Assigns an IP address and subnet mask to this
interface.
Adds the interface to the OSPFv2 instance and area.
(Optional) Displays OSPF information.
(Optional) Saves this configuration change.
Purpose
Configures the OSPFv2 cost metric for this
interface. The default is to calculate cost metric,
based on reference bandwidth and interface
bandwidth. The range is from 1 to 65535.
Configures the OSPFv2 dead interval, in seconds.
The range is from 1 to 65535. The default is four
times the hello interval, in seconds.
Chapter 6
Configuring OSPFv2
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents