BGP路由汇总
1.实验拓扑

2.关键技术
2.1 对 import-route 命合引入的路由进行自动汇总 #创建IP前缀列表1,匹配 Loopback1、Loopback2 接口路由
[R1] ip ip-prefix 1 permit 172.16.0.0 16 greater-equal 24 less-equal 24
#创建 Route-Policy Rplist,并创建节点 10,在其中调用 IP 前缀列表 1
[Rl]route-policy Rplist permit node 10
[R1-route-policy] if-match ip-prefix 1
[R1-route-policy] quit
[R1]bgp 64511
[R1-bgp] import-route direct route-policy Rplist
[R1-bgp] summary automatic
Info: Automatic summarization is valid only for the routes imported through the import-route command
2.2 使用 aggregate 命合进行手动路由汇总
[R2] bgp 64512
[R2-bgp] aggregate 172.17.0.0 22 detail-suppressed
2.3 手动路由汇总时通过 AS-SET 参数防止路由环路