This chapter describes commands you can use to configure Open Shortest Path First (OSPF) routing on your system. Configuring and managing OSPF routing involves:
For more information about administering OSPF routing on your network, see the Implementation Guide for your system.
For the CoreBuilder 9000, the commands in this chapter apply to Layer 3 switching modules only.
The commands that you can use depend on the system that you have, your level of access, and the types of modules and other hardware options that are configured for your system. The following diagram shows the complete list of commands for all systems. See the checklist at the beginning of each command description in this chapter for whether your system supports the command.
ip ospf areas display
Displays a list of existing OSPF areas.
ip o a di
ip ospf areas defineArea
Defines an OSPF area.
ip o a de
ip ospf areas modifyArea
Modifies an existing OSPF area.
ip o a modifya
ip ospf areas removeArea
Removes an existing OSPF area.
ip o a removea
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Area |
Index number of the area that you want to remove |
First available index number |
ip ospf areas addRange
Adds a range to an existing OSPF area.
ip o a a
ip ospf areas modifyRange
Modifies an OSPF area range.
ip o a modifyr
Select area {1-2|?}: 1
Enter IP address of range to modify: 3.3.3.1
Enter IP address [3.3.3.1]: 2.2.2.2
Enter subnet mask [255.0.0.0]: 255.255.0.0
Advertise this area range (yes,no) [yes]: y
ip ospf areas removeRange
Removes an OSPF area range.
ip o a remover
ip ospf defaultRouteMetric display
Displays the cost of a default route.
ip o d di
|
Field |
Description |
|---|---|
|
Default route metric |
Cost (metric) that is associated with the default route |
ip ospf defaultRouteMetric define
Defines the default route metric for the router.
ip o d de
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Default route metric |
Cost (metric) that is associated with the default route |
1 - 65535 |
- |
ip ospf defaultRouteMetric remove
Removes the default route metric.
ip o d r
ip ospf interface summary
Displays summary information for the system's OSPF interface configuration.
ip o i su
ip ospf interface detail
Displays summary and detailed information for the system's OSPF interface configuration.
ip o i det
ip ospf interface statistics
Displays statistics that are associated with specified OSPF interfaces.
ip o i st
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
IP interface |
Index number of the interface for which you want to display statistics |
- |
ip ospf interface mode
Enables or disables OSPF on specified IP interfaces.
ip o i m
ip ospf interface priority
Assigns interface priority to the OSPF router.
ip o i pr
ip ospf interface areaID
Associates an interface with an OSPF area.
ip o i a
ip ospf interface cost
Assigns a cost to an OSPF interface.
ip o i c
ip ospf interface delay
Sets the OSPF interface transmit delay.
ip o i del
ip ospf interface hello
Sets the interface Hello interval.
ip o i he
ip ospf interface retransmit
Specifies the OSPF link state advertisement (LSA) retransmit interval for an interface.
ip o i r
ip ospf interface dead
Specifies the dead interval for an interface.
ip o i dea
ip ospf interface password
Sets password security for an OSPF interface.
ip o i pa
ip ospf linkStateData databaseSummary
Summarizes link state advertisements (LSAs) in the link state database.
ip o l d
ip ospf linkStateData router
Displays router link state advertisements (LSAs) in the link state database.
ip o l r
ip ospf linkStateData network
Displays network link state advertisements (LSAs) in the link state database.
ip o l n
ip ospf linkStateData summary
Displays summary link state advertisements (LSAs) in the link state database.
ip o l s
ip ospf linkStateData external
Displays external network link state advertisements (LSAs) in the link state database.
ip o l e
ip ospf neighbors display
Displays information about currently defined neighbors in an OSPF area.
ip o n d
ip ospf neighbors add
Adds a neighbor static IP address to an existing interface.
ip o n a
ip ospf neighbors remove
Removes a static neighbor from an existing interface.
ip o n r
ip ospf routerID
Sets the OSPF router ID.
ip o r
ip ospf partition display
Displays OSPF memory allocation.
ip o pa d
ip ospf partition modify
Modifies OSPF memory allocation.
ip o pa m
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
New partition maximum size |
Maximum memory size (in bytes) to allocate to OSPF system operations |
1 (factory default), or current OSPF partition size |
ip ospf stubDefaultMetric display
Displays the stub default metric value for an area border router.
ip o stu di
|
Field |
Description |
|---|---|
|
Stub default metric |
Currently defined OSPF stub default metric |
ip ospf stubDefaultMetric define
Defines the stub default metric value for an OSPF area border router.
ip o stu de
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Stub default metric |
Stub default metric value to define for the area border router. |
1 - 65535 |
Current stub default metric |
ip ospf stubDefaultMetric remove
Disables the stub default metric on an OSPF area border router.
ip o stu r
ip ospf virtualLinks summary
Displays summary information about a virtual link.
ip o v su
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Virtual link |
Index number of the virtual link for which you want to display summary information |
- |
ip ospf virtualLinks detail
Displays detailed information about a virtual link.
ip o v det
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Virtual link |
Index number of the virtual link for which you want to display detail information |
- |
ip ospf virtualLinks statistics
Displays statistics that are associated with virtual links.
ip o v st
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Virtual link |
Index number of the virtual link for which you want to display statistics |
- |
ip ospf virtualLinks define
Creates a new virtual link to a destination router.
ip o v def
ip ospf virtualLinks remove
Removes a virtual link.
ip o v rem
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Virtual link |
Index number of the virtual link that you want to remove |
- |
ip ospf virtualLinks areaID
Modifies the transit area that is associated with a virtual link.
ip o v a
ip ospf virtualLinks router
Modifies the target router that is associated with a virtual link.
ip o v ro
ip ospf virtualLinks delay
Sets the virtual link transmit delay, in seconds.
ip o v del
ip ospf virtualLinks hello
Sets the virtual link Hello interval, in seconds.
ip o v he
ip ospf virtualLinks retransmit
Sets the virtual link retransmit interval, in seconds.
ip o v ret
ip ospf virtualLinks dead
Sets the virtual link dead interval, in seconds.
ip o v dea
ip ospf virtualLinks password
Sets password security for a virtual link.
ip o v p
ip ospf policy summary
Displays summary information about OSPF routing policies.
ip o po s
ip ospf policy detail
Displays summary and detailed information about OSPF routing policies.
ip o po det