cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
328
Views
0
Helpful
1
Replies

Route-Map Q

sanjaynadarajah
Level 1
Level 1

Just want to clarify abt. route-maps. If I have a route-map as follows :

--------------------------------------

route-map FROM_R2 permit 10

match ip address prefix-list VLAN2

set weight 100

!

route-map FROM_R2 permit 1000

--------------------------------------

Does this mean that the line 'permit 1000' allows all traffic that does not meet criteria in 'permit 10' as the default condition for route-map is to deny any at the end just like ACLs.

Thank you,

- SN -

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

SN

Your understanding is correct. The basic behavior of route maps is similar to that of access lists - if there is not something that permits a certain traffic as it goes through the list/map then when it gets to the bottom it is denied. So if the route map had only instance 10 (and not 1000) then only traffic that had permit in prefix-list VLAN2 would be sent). Including instance 1000 (with no match clause and no set clause) will allow all other route advertisements to be sent (without any modification).

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card