《BGP路由聚合 配置(2020年12月16日整理).pptx》由会员分享,可在线阅读,更多相关《BGP路由聚合 配置(2020年12月16日整理).pptx(2页珍藏版)》请在金锄头文库上搜索。
1、拓扑:,R1: R1: # acl number 2000 rule 5 permit source 192.168.2.1 0 # interface GigabitEthernet0/0/0 ip address 10.0.12.1 255.255.255.0 # interface LoopBack0 ip address 1.1.1.1 255.255.255.255 # interface LoopBack1 ip address 192.168.1.1 255.255.255.255 # interface LoopBack2 ip address 192.168.2.1 255.
2、255.255.255 # interface LoopBack3 ip address 192.168.3.1 255.255.255.255 # bgp 100 peer 10.0.12.2 as-number 200 # ipv4-family unicast undo synchronization aggregate 192.168.0.0 255.255.252.0 detail-suppressed suppress-policy 1 import-route direct peer 10.0.12.2 enable # route-policy 1 permit node 10 if-match acl 2000 #,1,R2: R2:,2,# interface GigabitEthernet0/0/0 ip address 10.0.12.2 255.255.255.0 # bgp 200 peer 10.0.12.1 as-number 100 # ipv4-family unicast undo synchronization peer 10.0.12.1 enable #,