cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2004
Views
9
Helpful
3
Replies

what is if community matches-any (ios-regex'

What actually this means

route-policy  IAM-OUT
  if community matches-any (ios-regex '_61113:187_', 62234:200) then

there are set of other commands

BR

Thanveer

 

3 Replies 3

It means that if BGP advertisement include the community 61113:187 or 62234:200 it will pass this if statement.

Dear Friend

Thanks for your response, any document reference is truly appreciated.

Regards

Thanveer

Thanveer

I haven't used Routing Policy Language (RPL) so i may be wrong  but as far as i can tell -

1) the first entry is a regex which matches any route with that community in the community list

2) the second entry is not a regex so it simply matches any routes with that specific community

here is a link to the RPL command reference guide -

http://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-0/routing/command/reference/b_rr40crs1book/b_rr40crs1book_chapter_01000.html

Jon