
The following example shows how to configure the prefix for OSPF summary LSAs. If the prefix matches
any of 111.105.3.0/24, 111.105.7.0/24, 111.105.13.0/24, it is accepted. If the prefix matches any of
111.106.3.0/24, 111.106.7.0/24, 111.106.13.0/24, it is dropped.
route-policy OSPF-area-in
if destination in (
111.105.3.0/24,
111.105.7.0/24,
111.105.13.0/24) then
drop
endif
if destination in (
111.106.3.0/24,
111.106.7.0/24,
111.106.13.0/24) then
pass
endif
end-policy
router ospf 1
area 1
route-policy OSPF-area-in in
Area-out
The area-out attach point within OSPF allows you to filter outbound OSPF type-3 summary LSAs. The attach
point provides prefix-based matching and, hence, increased control for filtering type-3 summary LSAs.
The following example shows how to configure the prefix for OSPF summary LSAs. If the prefix matches
any of 211.105.3.0/24, 211.105.7.0/24, 211.105.13.0/24, it is announced. If the prefix matches any of
.105.3.0/24, 212.105.7.0/24, 212.105.13.0/24, it is dropped and not announced.
route-policy OSPF-area-out
if destination in (
211.105.3.0/24,
211.105.7.0/24,
211.105.13.0/24) then
drop
endif
if destination in (
212.105.3.0/24,
212.105.7.0/24,
212.105.13.0/24) then
pass
endif
end-policy
router ospf 1
area 1
route-policy OSPF-area-out out
SPF Prefix-priority
The spf-prefix-priority attach point within OSPF allows you to define the route policy to apply to OSPFv2
prefix prioritization.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
432
Implementing Routing Policy
Area-out