To configure an Open Shortest Path First (OSPF) routing instance, use the router ospf command. To terminate an OSPF routing process, use the no form of this command.
router ospf instance-tag
no router ospf instance-tag
|
instance-tag
|
Internally used identification parameter for an OSPF routing instance. It is locally assigned and can be any word or positive integer. The
instance-tag
argument can be a maximum of 20 alphanumeric characters.
|
No OSPF routing instance is defined.
Global configuration mode
|
Release
|
Modification
|
|---|---|
|
5.0(3)N1(1)
|
This command was introduced.
|
Use the router ospf command to specify multiple OSPF routing instances in each router.
This command requires the LAN Base Services license.
This example shows how to configure a basic OSPF instance:
This example shows how to delete an OSPF instance:
|
Command
|
Description
|
|---|---|
|
copy running-config startup-config
|
Saves the configuration changes to the startup configuration file.
|
|
show ip ospf
|
Displays OSPF information.
|