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. And see here for current known issues.

New Member

Instance numbers following route maps

I am working at a client site today, and am trying to prune some routes from one path,

and add them to another.  As I examine the configuration on this specific router, I come across the following:

route-map bgp-eigrp-rm permit 10
match ip address bgp-eigrp
!
route-map eigrp-bgp-rm permit 10
match ip address eigrp-bgp
!
route-map eigrp-bgp-rm deny 20

Can anyone tell me here what the 10's and 20"s mean on the end of each of these statments?  What do they pertain to?

Thanks

Kevin

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Instance numbers following route maps

Each route-map can have multiple sequences to it, which dictate the order by which you move through a route-map.

Once the item (packet, route prefix, etc) being sent through the route-map finds a matching statement, it will take the action dicated in that specific sequence, and then immediately exit the route-map.

For example, in this route-map:

route-map eigrp-bgp-rm permit 10
match ip address  eigrp-bgp
!
route-map eigrp-bgp-rm deny 20

If a route DOES match the "eigrp-bgp" access-list, then it will be allowed (this route-map is probably used for redistribution).

If not, it will proceed to the second sequence of the route-map (which happens to be a deny all entry, since no match statement is used in conjunction with a deny type), and the route will not be redistributed.

HTH,

Rob

2 REPLIES
Cisco Employee

Re: Instance numbers following route maps

Each route-map can have multiple sequences to it, which dictate the order by which you move through a route-map.

Once the item (packet, route prefix, etc) being sent through the route-map finds a matching statement, it will take the action dicated in that specific sequence, and then immediately exit the route-map.

For example, in this route-map:

route-map eigrp-bgp-rm permit 10
match ip address  eigrp-bgp
!
route-map eigrp-bgp-rm deny 20

If a route DOES match the "eigrp-bgp" access-list, then it will be allowed (this route-map is probably used for redistribution).

If not, it will proceed to the second sequence of the route-map (which happens to be a deny all entry, since no match statement is used in conjunction with a deny type), and the route will not be redistributed.

HTH,

Rob

New Member

Re: Instance numbers following route maps

Rob

Thanks for the detailed explanation.  It is a big help and makes it crystal clear.

Kevin

203
Views
0
Helpful
2
Replies