R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

254
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 8.1.1.0/24 0.0.0.0 0 0 i
*> 9.1.1.0/24 3.1.1.1 0 0 65009i
*> 3.1.2.1 0 0 65009i
{ The output shows two valid routes to the destination 9.1.1.0/24, and both of them are marked
with a greater-than sign (>), indicating they are the best routes.
{ By using the display ip routing-table command, you can find two routes to 9.1.1.0/24: one with
next hop 3.1.1.1 and outbound interface S2/2/0, the other with next hop 3.1.2.1 and outbound
interface S2/2/1.
BGP route summarization configuration
Network requirements
As shown in Figure 76, run EBGP between Router C and Router D, so the internal network and external
network can communicate with each other.
In AS 65106, configure static routing between Router A and Router B, configure OSPF between Router B
and Router C, and configure OSPF to redistribute static routes, so devices in the internal network can
communicate with each other.
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/18 to Router D.
Figure 76 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 18 192.168.212.161