
Purpose
Command or Action
one form or the other for an area. We recommend using
the IPv4 address notation.
Consolidates and summarizes OSPF routes at an area
boundary.
Do one of the following:
Step 5
•
range ip-address mask
[
advertise
|
not-advertise
]
• The
advertise
keyword causes the software to
advertise the address range of subnetworks in a Type
3 summary LSA.
•
range ipv6-prefix / prefix-length
[
advertise
|
not-advertise
]
• The
not-advertise
keyword causes the software to
suppress the Type 3 summary LSA, and the
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# range
192.168.0.0 255.255.0.0 advertise
subnetworks in the range remain hidden from other
areas.
or
• In the first example, all subnetworks for network
192.168.0.0 are summarized and advertised by the
ABR into areas outside the backbone.
RP/0/RP0/CPU0:router(config-ospf-ar)# range
4004:f000::/32 advertise
• In the second example, two or more IPv4 interfaces
are covered by a 192.
x.x
network.
Enters interface configuration mode and associates one or
more interfaces to the area.
interface type interface-path-id
Example:
Step 6
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet 0/2/0/3
commit
Step 7
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
module in the
Routing
Configuration Guide for Cisco NCS 6000 Series Routers
.
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:
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
297
Implementing OSPF
Redistribute Routes into OSPF