Redistribute Routes into OSPF
This task redistributes routes from an IGP (could be a different OSPF process) into OSPF.
Before You Begin
For information about configuring routing policy, see Implementing Routing Policy on Cisco ASR 9000
Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration
Guide.
SUMMARY STEPS
1.
configure
2.
Do one of the following:
•
router ospf process-name
•
router ospfv3 process-name
3.
router-id { router-id }
4.
redistribute protocol [ process-id ] { level-1 | level-1-2 | level-2 } [ metric metric-value ] [
metric-type type-value ] [ match { external [ 1 | 2 ]} [ tag tag-value ] [ route-policy policy-name ]
5.
Do one of the following:
•
summary-prefix address mask [ not-advertise ] [ tag tag ]
•
summary-prefix ipv6-prefix / prefix-length [ not-advertise ] [ tag tag ]
6.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Enables OSPF routing for the specified routing process and
places the router in router configuration mode.
Do one of the following:
Step 2
•
router ospf process-name
or
•
router ospfv3 process-name
Enables OSPFv3 routing for the specified routing process and
places the router in router ospfv3 configuration mode.
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
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 377
Implementing OSPF
Redistribute Routes into OSPF