Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
3-14
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 3 Configuring OSPFv2
Configuring Basic OSPFv2
Use the no feature ospf command to disable the OSPFv2 feature and remove all associated
configuration.
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 “Configuring Advanced OSPFv2”
section on page 3-22.
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv2 Feature” section on
page 3-13).
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. configure terminal
2. router ospf instance-tag
3. (Optional) router-id ip-address
4. (Optional) show ip ospf instance-tag
5. (Optional) copy running-config startup-config
Step 3
show feature
Example:
switch(config)# show feature
(Optional) Displays enabled and disabled features.
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
Command Purpose
no feature ospf
Example:
switch(config)# no feature ospf
Disables the OSPFv2 feature and removes all
associated configuration.