文档详情

E-配置BGP.ppt

发布:2018-05-18约4.48万字共170页下载文档
文本预览下载声明
* * * * * * * * BGP团体属性 (自定义) 用户可以自定义团体属性,简化网络的配置 ip community-list 团体属性值的两种格式: 十进制 ( 缺省 ) AA:NN (ip bgp community new-format) AA:NN团体属性值的表示方法 直接在AA:NN中输入团体属性值 例如: set community 400:50 以十六进制输入 例如: set community 0x1900032 以十进制形式输入 例如: set community自定义团体属性 London Denver 10.1.1.6/30 AS 50 Florence 10.1.1.5/30 10.1.1.2/30 10.1.1.1/30 AS 65001 192.168.1.0/24 192.168.0.0/24 1.1.1.1 2.2.2.2 3.3.3.3 192.168.3.0/24 192.168.2.0/24 AS 65003 自定义团体属性配置(缺省十进制) London:(Denver配置省略) access-list 1 permit 192.168.0.0 0.0.0.255 ! route-map set-comm permit 10 match ip address 1 set community 5 route-map set-comm permit 20 set community 10 ! router bgp 65001 neighbor 2.2.2.2 send-community neighbor 2.2.2.2 route-map set-comm out Florence: ip community-list 1 permit 5 ! route-map comm-pref permit 10 match community 1 set local-preference 150 route-map comm-pref permit 20 set local-preference 200 ! router bgp 50 neighbor 3.3.3.3 route-map comm-pref in 自定义团体属性配置(AA:NN) London:(Denver配置省略) ip bgp-community new-format access-list 1 permit 192.168.0.0 0.0.0.255 route-map set-comm permit 10 match ip address 1 set community 65001:5 route-map set-comm permit 20 set community 65001:10 ! router bgp 65001 neighbor 2.2.2.2 send-community neighbor 2.2.2.2 route-map set-comm out Florence: ip bgp-community new-format ip community-list 101 permit .*:5 route-map comm-pref permit 10 match community 101 set local-preference 150 route-map comm-pref permit 20 set local-preference 200 ! router bgp 50 neighbor 3.3.3.3 route-map comm-pref in BGP联盟 IBGP Transit AS - Problems IBGP 需要在BGP对等体间建立全网状互联 large number of TCP sessions unnecessary duplicate routing traffic 解决方案 route reflectors modify IBGP split horizon rules BGP confederations modify IBGP AS Path processing BGP联盟– 将AS分成更小的AS AS 51 AS 52 AS 53 AS 65001 AS 65002 AS 65003 AS 65004 真实的EBGP会话 IBGP会话 联盟内的EBGP会话 将AS划分成更小的AS可以减少IBGP会话的数量 BGP联盟隐藏了内部AS的号码 ,对外部只宣告一个AS号 联盟对BGP选路的影响 到联盟的外部EBGP路由优于到联盟成员AS的EBGP 路由,而到联盟成员
显示全部
相似文档