Theoretical Preparation:
There is no requirement for the zone type by using the Abr-summary filter in the routing area.
The use of Asbr-summary filter area of external routing, need to be in the area of the ASBR on the configuration, when the ASBR many, the configuration is more complex.
By using Asbr-summary to filter external routes within an area, you only need to configure the ABR, but require that the zone be nssa.
Not-advertise parameter: Does not advertise the route that matches the specified IP address/mask
First, the experimental proof of the following two points
Using Abr-summary to filter the routing within the area
Abr-summary ip-address Mask [Advertise | not-advertise]
Using Asbr-summary to filter external routes within the area
Asbr-summary ip-address Mask [not-advertise | tag Tag-value]
The topology is as follows, the configuration will be posted at the end, the device is using a Huasan simulator
1, 1 configuration before aggregation:
<r4>dis IP ro
Routing Tables:public
Destinations:15 routes:15
Destination/mask Proto Pre cost Nexthop Interface
3.3.3.0/30 OSPF 3124 4.4.4.1 S0/6/1
3.3.3.2/32 o_ase 1 4.4.4.1 s0/6/1
4.4.4.0/30 Direct 0 0 4.4.4.2 S0/6/1
4.4.4.1/32 Direct 0 0 4.4.4.1 S0/6/1
4.4.4.2/32 Direct 0 0 127.0.0.1 InLoop0
6.1.1.1/32 o_ase 1 4.4.4.1 s0/6/1
6.1.2.1/32 o_ase 1 4.4.4.1 s0/6/1
6.1.3.1/32 o_ase 1 4.4.4.1 s0/6/1
7.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
7.1.2.1/32 Direct 0 0 127.0.0.1 InLoop0
7.1.3.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.2/32 o_ase 1 4.4.4.1 s0/6/1
10.1.1.4/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
There are three o_ase 6.1.0.0/16 network segments in the R4 routing table
[R4]dis OSPF LSDB
OSPF Process 1 with Router ID 10.1.1.4
Link State Database
area:0.0.0.1
Type linkstate ID advrouter age Len Sequence Metric
Router 10.1.1.4 10.1.1.4 812 84 80000004 0
Router 10.1.1.3 10.1.1.3 813 48 80000002 0
Sum-net 3.3.3.0 10.1.1.3 821 28 80000001 1562
SUM-ASBR 10.1.1.2 10.1.1.3 821 28 80000001 1562
As External Database
Type linkstate ID advrouter age Len Sequence Metric
External 6.1.2.1 10.1.1.2 266 36 80000001 1