[c-nsp] community on bgp update
Riccardo S
dim0sal at hotmail.com
Fri Mar 29 11:37:20 EDT 2013
Hi
do I get the same result with route-map test-1 and test-2 in setting these community on BGP update ?
*******************************
route-map test-1 permit 10
match ip address prefix-list site-a
set community 1:1
set community 1:2 additive
*******************************
route-map test-2 permit 10
match ip address prefix-list site-a
set community 1:1
continue
!
route-map test-2 permit 20
match ip address prefix-list site-a
set community 1:2 additive
And could you please give me an example of a route-map that match the route marked before with 1:1 and 1:1 + 1:2 ?
I was wondering if this is ok:
ip policy-list PERMIT100 permit
match community 1
!
ip policy-list PERMIT200 permit
match community 2
!
ip community-list 1 permit 1:1
ip community-list 2 permit 1:2
!
!
!
route-map only1-1 permit 10 <---- does it match only if it's present 1:1 ?
match policy-list PERMIT100
route-map 1-2 permit 10 <---- does it match only if are presend 1:1 AND 1:2 ?
match policy-list PERMIT100
match policy-list PERMIT200
Tks
More information about the cisco-nsp
mailing list