R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

300
BGP route summarization configuration example
Network requirements
As shown in Figure 67, run EBGP between Router C and Router D, so the internal network and external
network can communicate with each other.
In AS 65106, perform the following configurations so the devices in the internal network can
communicate:
{ Configure static routing between Router A and Router B.
{ Configure OSPF between Router B and Router C.
{ Configure OSPF to redistribute static routes.
Configure route summarization on Router C so BGP advertises a summary route instead of the
specific networks 192.168.64.0/24, 192.168.74.0/24, and 192.168.99.0/24 to Router D.
Figure 67 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure static routing between Router A and Router B:
# Configure a default route with the next hop 192.168.212.1 on Router A.
<RouterA> system-view
[RouterA] ip route-static 0.0.0.0 0 192.168.212.1
# Configure static routes to 192.168.64.0/24, 192.168.74.0/24, and 192.168.99.0/24 with
the same next hop 192.168.212.161 on Router B.
<RouterB> system-view
[RouterB] ip route-static 192.168.64.0 24 192.168.212.161
[RouterB] ip route-static 192.168.74.0 24 192.168.212.161
[RouterB] ip route-static 192.168.99.0 24 192.168.212.161
3. Configure OSPF between Router B and Router C and configure OSPF on Router B to redistribute
static routes:
# Configure OSPF to advertise the local network and enable OSPF to redistribute static routes on
Router B.
[RouterB] ospf
[RouterB-ospf-1] area 0