Chapter 3
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 3 k - d o c f e e d b a c k @ c i s c o . c o m
3.
4.
5.
6.
7.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Step 3
no switchport
Example:
switch(config-if)# no switchport
Step 4
ip address ip-prefix/length
Example:
switch(config-if)# ip address
192.0.2.1/16
Step 5
ip router ospf instance-tag area area-id
[secondaries none]
Example:
switch(config-if)# ip router ospf 201
area 0.0.0.15
Step 6
show ip ospf instance-tag interface
interface-type slot/port
Example:
switch(config-if)# show ip ospf 201
interface ethernet 1/2
Step 7
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
no switchport
ip address ip-prefix/length
ip router ospf instance-tag area area-id [secondaries none]
(Optional) show ip ospf instance-tag interface interface-type slot/port
(Optional) copy running-config startup-config
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Purpose
Enters configuration mode.
Enters interface configuration mode.
Configures the interface as a Layer 3 routed interface.
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.
Configuring Basic OSPFv2
3-17