IOS:
router bgp 65535
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.2 route-map community-ingress in
neighbor 10.0.0.2 route-map community-egress out
exit-address-family
!
ip extcommunity-list 10 permit rt 65535:1
ip extcommunity-list 10 permit rt 65535:2
ip extcommunity-list 10 permit rt 65535:3
ip extcommunity-list 10 permit rt 65534:1
!
route-map community-egress permit 10
match extcommunity 10
set metric +50
!
route-map community-ingress permit 10
match extcommunity 10
set metric +50
IOS-XR:
router bgp 65535
address-family vpnv4
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community extended
neighbor 10.0.0.2 route-map community-ingress in
neighbor 10.0.0.2 route-map community-egress out
exit-address-family
!
ip extcommunity-list 10 permit rt 65535:1
ip extcommunity-list 10 permit rt 65535:2
ip extcommunity-list 10 permit rt 65535:3
ip extcommunity-list 10 permit rt 65534:1
!
route-map community-egress permit 10
match extcommunity 10
set metric +50
!
route-map community-ingress permit 10
match extcommunity 10
set metric +50
IOS-XR:
Комментариев нет:
Отправить комментарий