Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

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

 

Regards Thanveer "Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
3 REPLIES

It means that if BGP

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

Dear FriendThanks for your

Dear Friend

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

Regards

Thanveer

Regards Thanveer "Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
Hall of Fame Super Blue

ThanveerI haven't used

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

204
Views
9
Helpful
3
Replies