R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
257
The output shows that Router C has a summary route 192.168.64.0/18 with the output interface
Null0.
# Display the IP routing table information on Router D.
[RouterD] display ip routing-table
Routing Tables: Public
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
4.4.4.4/32 Direct 0 0 127.0.0.1 InLoop0
10.220.2.0/24 Direct 0 0 10.220.2.217 S2/2/0
10.220.2.217/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
192.168.64.0/18 BGP 255 0 10.220.2.16 S2/2/0
The output shows that Router D has only one route 192.168.64.0/18 to AS 65106.
After the above configurations, ping the hosts on subnets 192.168.64.0/24, 192.168.74.0/24
and 192.168.99.0/24 from Router D. The ping operations succeed.
BGP community configuration
Network requirements
As shown in Figure 77, EBGP runs between Router B and Router A, and between Router B and Router C.
Configure No_Export community attribute on Router A to make routes from AS 10 not advertised by AS
20 to any other AS.
Figure 77 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure EBGP connections:
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 10
[RouterA-bgp] router-id 1.1.1.1