BGP-Community-1
阿新 • • 發佈:2018-01-24
nec back vpd fff 51cto loopback watermark family group BGP-Community:間接影響路由選路!
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
如下圖: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.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