blob: 844ab28558f0207a9c7bf867f7212252ea1d3230 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
!
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
!
|