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 3 k - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 3
show feature
Example:
switch(config)# show feature
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Use the no feature ospf command to disable the OSPFv2 feature and remove all associated
configuration.
Command
no feature ospf
Example:
switch(config)# no feature ospf
Creating an OSPFv2 Instance
The first step in configuring OSPFv2 is to create an OSPFv2 instance. You assign a unique instance tag
for this OSPFv2 instance. The instance tag can be any string.
For more information about OSPFv2 instance parameters, see the
section on page
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the
page
Use the show ip ospf instance-tag command to verify that the instance tag is not in use.
OSPFv2 must be able to obtain a router identifier (for example, a configured loopback address) or you
must configure the router ID option.
SUMMARY STEPS
1.
2.
3.
4.
5.
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
3-14
3-22.
3-13).
configure terminal
router ospf instance-tag
(Optional) router-id ip-address
(Optional) show ip ospf instance-tag
(Optional) copy running-config startup-config
Purpose
(Optional) Displays enabled and disabled features.
(Optional) Saves this configuration change.
Purpose
Disables the OSPFv2 feature and removes all
associated configuration.
"Configuring Advanced OSPFv2"
"Enabling the OSPFv2 Feature" section on
Chapter 3
Configuring OSPFv2