《Configuring advanced BGP》由会员分享,可在线阅读,更多相关《Configuring advanced BGP(26页珍藏版)》请在金锄头文库上搜索。
1、Configuring advanced BGP,Overview,Peer Group路由反射器Filter-listSuppress-mapAttribute-mapAdvertise-mapBGP backdoorBGP团体BGP联盟,本PPT为新版NP扩展内容,已超出NP的大纲要求,仅供有志于获得CCIE的学员学习.具体内容如下:,Peer Group,neighbor peer-group-name peer-group,Router(config-router)#,创建对等体组,neighbor ip-address peer-group peer-group-name,Route
2、r(config-router)#,为一组邻居定义相同参数设置的模板用于替代逐个的配置.通常使用在多个邻居需要相同的出站策略.成员可以拥有不同的进站策略.一次更新组内的多个邻居.简单易于配置.,Example: Peer Group,Router C Using a Peer Group,Router C Without a Peer Group,router bgp 65100neighbor 192.168.24.1 remote-as 65100neighbor 192.168.24.1 update-source loopback 0neighbor 192.168.24.1 next
3、-hop-selfneighbor 192.168.24.1 distribute-list 20 outneighbor 192.168.25.1 remote-as 65100neighbor 192.168.25.1 update-source loopback 0neighbor 192.168.25.1 next-hop-selfneighbor 198.101.25.1 distribute-list 20 outneighbor 192.168.26.1 remote-as 65100neighbor 192.168.26.1 update-source loopback 0ne
4、ighbor 192.168.26.1 next-hop-selfneighbor 198.101.26.1 distribute-list 20 out,router bgp 65100neighbor internal peer-groupneighbor internal remote-as 65100neighbor internal update-source loopback 0neighbor internal next-hop-selfneighbor internal distribute-list 20 outneighbor 192.168.24.1 peer-group
5、 internalneighbor 192.168.25.1 peer-group internalneighbor 192.168.26.1 peer-group internal,路由反射器,AS 64513,l0172.16.1.1/24172.16.2.1/24172.16.3.1/24172.16.4.1/24,192.168.2.2/24S1/0,S1/1192.168.2.1/24,R2,R1,S1/1192.168.1.1/24,192.168.1.2/24S1/0,router bgp 64513 neighbor 192.168.2.1 route-reflector-cl
6、ient neighbor 192.168.3.2 route-reflector-client,IBGP,R3,R4,AS 64512,S1/1192.168.3.1/24,S1/0192.168.3.2/24,Filter-list,Suppress-map,Attribute-map,Advertise-map,BGP backdoor,BGP团体,BGP团体属性主要包含如下四种:no-export:该属性的路由不通告给AS以外的对等体no-advertise:该属性的路由不通告给任何BGP的对等体internet:该属性的路由会通告所有BGP对等体local-as:该属性的路由仅仅会通
7、告给本地AS的对等体,BGP Community : internet,AS 64512,AS 64513,l0172.16.1.1/24172.16.2.1/24172.16.3.1/24172.16.4.1/24,192.168.2.2/24S1/0,S1/1192.168.2.1/24,R3,R1,S1/1192.168.1.1/24,192.168.1.2/24S1/0,R2,R4,FA0/0192/168.3.1/24,FA0/0192/168.3.2/24,172.16.1.1/24 (internet)172.16.2.1/24 (internet)172.16.3.1/24 (
8、internet)172.16.4.1/24 (internet),BGP Community : no-export,AS 64512,AS 64513,l0172.16.1.1/24172.16.2.1/24172.16.3.1/24172.16.4.1/24,192.168.2.2/24S1/0,S1/1192.168.2.1/24,R3,R1,S1/1192.168.1.1/24,192.168.1.2/24S1/0,172.16.1.1/24 (no-export)172.16.2.1/24172.16.3.1/24 (no-export)172.16.4.1/24,172.16.2
9、.1/24172.16.4.1/24,R2,R4,FA0/0192/168.3.1/24,FA0/0192/168.3.2/24,172.16.1.1/24 (no-export)172.16.2.1/24172.16.3.1/24 (no-export)172.16.4.1/24,如果有BGP联盟存在,则no-export会通告给联盟的其它的AS.而不会向联盟以外的AS进行通告.,BGP Community : no-advertise,AS 64512,AS 64513,l0172.16.1.1/24172.16.2.1/24172.16.3.1/24172.16.4.1/24,192.1
10、68.2.2/24S1/0,S1/1192.168.2.1/24,R3,R1,S1/1192.168.1.1/24,192.168.1.2/24S1/0,R2,R4,FA0/0192/168.3.1/24,FA0/0192/168.3.2/24,172.16.1.1/24 (no-advertise)172.16.2.1/24 (no-advertise)172.16.3.1/24 (no-advertise)172.16.4.1/24 (no-advertise),BGP Community : local-as,AS 64512,AS 64513,l0172.16.1.1/24172.16
11、.2.1/24172.16.3.1/24172.16.4.1/24,192.168.2.2/24S1/0,S1/1192.168.2.1/24,R3,R1,S1/1192.168.1.1/24,192.168.1.2/24S1/0,R2,R4,FA0/0192/168.3.1/24,FA0/0192/168.3.2/24,172.16.1.1/24 (local-as)172.16.2.1/24 (local-as)172.16.3.1/24 (local-as)172.16.4.1/24 (local-as),LAB : BGP Community,AS 64512,AS 64513,l01
12、72.16.1.1/24172.16.2.1/24172.16.3.1/24172.16.4.1/24,192.168.2.2/24S1/0,S1/1192.168.2.1/24,R3,R1,S1/1192.168.1.1/24,192.168.1.2/24S1/0,R2,R4,FA0/0192/168.3.1/24,FA0/0192/168.3.2/24,access-list 1 permit 172.16.1.0 0.0.0.255access-list 1 permit 172.16.2.0 0.0.0.255!route-map NO_EXP permit 10 match ip a
13、ddress 1 set community no-exportroute-map NO_EXP permit 20!router bgp 64512 neighbor 192.168.1.2 route-map NO_EXP out neighbor 192.168.1.2 send-community,BGP联盟,END,Implementing IPv6,Introducing IPv6,Why Do We Need a Larger Address Space?,Internet populationApproximately 973 million users in November
14、 2005Emerging population and geopolitical and address spaceMobile usersPDA, pen-tablet, notepad, and so on Approximately 20 million in 2004Mobile phonesAlready 1 billion mobile phones delivered by the industryTransportation1 billion automobiles forecast for 2008Internet access in planes Example: Luf
15、thansaConsumer devicesSony mandated that all its products be IPv6-enabled by 2005Billions of home and industrial appliances,IPv6 Advanced Features,Larger address spaceGlobal reachability and flexibilityAggregationMultihomingAutoconfigurationPlug-and-playEnd to end without NATRenumbering,Simpler headerRouting efficiencyPerformance and forwarding rate scalabilityNo broadcastsNo checksumsExtension headersFlow labels,IPv6 Advanced Features (Cont.),Mobility and securityMobile IP RFC-compliantIPsec mandatory(or native) for IPv6,Transition richnessDual stack6to4 tunnelsTranslation,