1. 程式人生 > >BGP-Community-1

BGP-Community-1

nec back vpd fff 51cto loopback watermark family group

BGP-Community:間接影響路由選路!
技術分享圖片

如下圖:100的網絡離開AS100時,攜帶屬性離開!
技術分享圖片

AR1的配置:

bgp 100
peer 2.2.2.2 as-number 200
peer 2.2.2.2 ebgp-max-hop 255
peer 2.2.2.2 connect-interface LoopBack0
peer 3.3.3.3 as-number 200
peer 3.3.3.3 ebgp-max-hop 255
peer 3.3.3.3 connect-interface LoopBack0
group as200 internal

ipv4-family unicast
undo synchronization

network 100.1.1.0 255.255.255.0
network 100.1.2.0 255.255.255.0
peer 2.2.2.2 enable
peer 2.2.2.2 route-policy 10 export
peer 2.2.2.2 advertise-community
peer 3.3.3.3 enable
peer as200 enable

route-policy 10 permit node 10
if-match acl 2000
apply community 100:100

AR2的團體屬性
技術分享圖片

BGP-Community-1