Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
3-15
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
DETAILED STEPS
Use the no router ospf command to remove the OSPFv2 instance and all associated configuration.
Note This command does not remove OSPF configuration in interface mode. You must manually remove any
OSPFv2 commands configured in interface mode.
Configuring Optional Parameters on an OSPFv2 Instance
You can configure optional parameters for OSPF.
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).
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
router ospf instance-tag
Example:
switch(config)# router ospf 201
switch(config-router)#
Creates a new OSPFv2 instance with the configured
instance tag.
Step 3
router-id ip-address
Example:
switch(config-router)# router-id
192.0.2.1
(Optional) Configures the OSPFv2 router ID. This IP
address identifies this OSPFv2 instance and must exist
on a configured interface in the system.
Step 4
show ip ospf instance-tag
Example:
switch(config-router)# show ip ospf 201
(Optional) Displays OSPF information.
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
no router ospf instance-tag
Example:
switch(config)# no router ospf 201
Deletes the OSPF instance and the associated
configuration.