
Purpose
Command or Action
Enables OSPF routing for the specified routing process and
places the router in router configuration mode.
router ospf process-name
Example:
Step 2
The
process-name
argument is any
alphanumeric string no longer than 40 characters.
Note
RP/0/RP0/CPU0:router(config)# router ospf 1
Enters area configuration mode and configures a backbone
area.
area area-id
Example:
Step 3
• The
area-id
argument can be entered in
dotted-decimal or IPv4 address notation, such as area
RP/0/RP0/CPU0:router(config-ospf)#
area 0
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.
Enters interface configuration mode and associates one or
more interfaces to the area.
interface type interface-path-id
Example:
Step 4
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
Serial 0/1/0/3
Enters area configuration mode and configures an area used
for multiple area adjacency.
area area-id
Example:
Step 5
• The
area-id
argument can be entered in
dotted-decimal or IPv4 address notation, such as area
RP/0/RP0/CPU0:router(config-ospf)#
area 1
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.
Enables multiple adjacencies for different OSPF areas and
enters multi-area interface configuration mode
multi-area-interface type interface-path-id
Example:
Step 6
RP/0/RP0/CPU0:router(config-ospf)#
multi-area-interface Serial 0/1/0/3
commit
Step 7
Configuring Label Distribution Protocol IGP Auto-configuration for OSPF
This task explains how to configure LDP auto-configuration for an OSPF instance.
Optionally, you can configure this feature for an area of an OSPF instance.
SUMMARY STEPS
1.
configure
2.
router ospf process-name
3.
mpls ldp auto-config
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
313
Implementing OSPF
Configuring Label Distribution Protocol IGP Auto-configuration for OSPF