R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Configuration Guide

101
5. Configure summary route 10.0.0.0/8 on Router B and advertise it:
[RouterB-ospf-1] asbr-summary 10.0.0.0 8
# Display the routing table of Router A.
[RouterA] display ip routing-table
Routing Tables: Public
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost NextHop Interface
10.0.0.0/8 O_ASE 150 2 11.2.1.1 GE2/1/1
11.2.1.0/24 Direct 0 0 11.2.1.2 GE2/1/1
11.2.1.2/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
The output shows that routes 10.1.1.0/24, 10.2.1.0/24, 10.3.1.0/24 and 10.4.1.0/24 are
summarized into one route 10.0.0.0/8.
Configuring an OSPF stub area
Network requirements
Enable OSPF on all routers, split the AS into three areas.
Configure Router A and Router B as ABRs to forward routing information between areas.
Configure Router D as the ASBR to redistribute static routes.
Configure Area 1 as a stub area to reduce LSAs advertised without influencing reachability.
Figure 25 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure OSPF basic functions (see "Configuring OSPF basic functions").
3. Configure Router D to redistribute static routes:
<RouterD> system-view
[RouterD] ip route-static 3.1.2.1 24 10.5.1.2
[RouterD] ospf
[RouterD-ospf-1] import-route static