PurposeCommand or Action
Example:
RP/0/RSP0/CPU0:router(config)# router ospf 1
The process-name argument is any alphanumeric string
no longer than 40 characters.
Note
or
RP/0/RSP0/CPU0:router(config)# router ospfv3
1
Configures a router ID for the OSPF process.
router-id { router-id }
Step 3
Example:
RP/0/RSP0/CPU0:router(config-ospf)# router-id
192.168.4.3
We recommend using a stable IP address as the router
ID.
Note
Enters area configuration mode and configures an area for the OSPF
process.
area area-id
Example:
RP/0/RSP0/CPU0:router(config-ospf)# area 0
Step 4
•
The example configures a backbone area.
•
The area-id argument can be entered in dotted-decimal or
IPv4 address notation, such as area 1000 or area 0.0.3.232.
However, you must choose one form or the other for an area.
We recommend using the IPv4 address notation.
Configures the OSPF network type to a type other than the default
for a given medium.
network { broadcast | non-broadcast | {
point-to-multipoint [ non-broadcast ] |
point-to-point }}
Step 5
•
The example sets the network type to NBMA.
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)# network
non-broadcast
(Optional) Sets the time to wait for a hello packet from a neighbor
before declaring the neighbor down.
dead-interval seconds
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)#
dead-interval 40
Step 6
(Optional) Specifies the interval between hello packets that OSPF
sends on the interface.
It is recommended to set the hello timer interval to the
default of 10 seconds. OSPF sessions may flap during
switchover if hello-interval timer configured is less then
default value.
Note
hello-interval seconds
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)#
hello-interval 10
Step 7
Enters interface configuration mode and associates one or more
interfaces for the area configured in Step 4.
interface type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)#
interface GigabitEthernet 0/2/0/0
Step 8
•
In this example, the interface inherits the nonbroadcast network
type and the hello and dead intervals from the areas because
the values are not set at the interface level.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
364 OL-30423-03
Implementing OSPF
Configuring Neighbors for Nonbroadcast Networks