325
round-trip min/avg/max/std-dev = 2.000/8.000/12.000/3.406 ms
[SwitchC] ping -a 9.1.2.1 8.1.1.1
Ping 8.1.1.1 (8.1.1.1) from 9.1.2.1: 56 data bytes, press CTRL_C to break
56 bytes from 8.1.1.1: icmp_seq=0 ttl=254 time=9.000 ms
56 bytes from 8.1.1.1: icmp_seq=1 ttl=254 time=4.000 ms
56 bytes from 8.1.1.1: icmp_seq=2 ttl=254 time=3.000 ms
56 bytes from 8.1.1.1: icmp_seq=3 ttl=254 time=3.000 ms
56 bytes from 8.1.1.1: icmp_seq=4 ttl=254 time=3.000 ms
--- Ping statistics for 8.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/4.400/9.000/2.332 ms
BGP route summarization configuration example
Network requirements
As shown in Figure 70, run EBGP between Switch C and Switch 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 Switch A and Switch B.
ï‚¡ Configure OSPF between Switch B and Switch C.
ï‚¡ Configure OSPF to redistribute static routes.
Configure route summarization on Switch C so BGP advertises a summary route instead of
advertising routes to the 192.168.64.0/24, 192.168.74.0/24, and 192.168.99.0/24 networks to
Switch D.
Figure 70 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure static routing between Switch A and Switch B:
# Configure a default route with the next hop 192.168.212.1 on Switch A.
<SwitchA> system-view
[SwitchA] ip route-static 0.0.0.0 0 192.168.212.1
Loop0
1.1.1.1/32
Loop0
3.3.3.3/32
Loop0
4.4.4.4/32
Vlan-int100
172.17.100.1/24
Vlan-int100
172.17.100.2/24
Vlan-int110
192.168.212.1/24
Vlan-int110
192.168.212.161/24
External network
AS 64631
Internal network
AS 65106
Switch A
Distribution layer device
Loop0
2.2.2.2/32
Vlan-int200
10.220.2.16/24
Vlan-int200
10.220.2.217/24
192.168.64.0/24
192.168.74.0/24
192.168.99.0/24
Switch B
Core layer device
Switch C
Boundary device
Switch D
External network device