26 lines
600 B
Text
26 lines
600 B
Text
!
|
|
bgp send-extra-data zebra
|
|
!
|
|
bgp community alias 65001:1 community-r2-1
|
|
bgp community alias 65002:2 community-r2-2
|
|
bgp community alias 65001:1:1 large-community-r2-1
|
|
!
|
|
bgp large-community-list expanded r2 seq 5 permit _65001:1:1_
|
|
!
|
|
router bgp 65001
|
|
no bgp ebgp-requires-policy
|
|
neighbor 192.168.1.2 remote-as external
|
|
address-family ipv4 unicast
|
|
redistribute connected
|
|
neighbor 192.168.1.2 route-map r2 in
|
|
exit-address-family
|
|
!
|
|
route-map r2 permit 10
|
|
match alias community-r2-1
|
|
set tag 10
|
|
route-map r2 permit 20
|
|
match alias community-r2-2
|
|
set tag 20
|
|
route-map r2 permit 30
|
|
set tag 100
|
|
!
|