route map behaviour
captured from TCP/IP vol 1 Doyle/Caroll...
The behavior of a "deny" action depends on whether the route map is being used for policy routing or for redistribution.
If a route map is being used for redistribution and a route matches a statement with a deny action, the route will not be redistributed.
If the route map is being used for policy routing and a packet matches a statement with a deny action, the packet is not policy routed but is passed back to the normal routing process for forwarding.
Each map statement might have multiple match and set statements, as shown in Example 14-6.
Example 14-6. Route map Garfield contains multiple match and set statements for the map statement with sequence number 10.
route-map Garfield permit 10
match ip route-source 15
match interface Serial0
set metric-type type-1
set next-hop 10.1.2.3
In a case such as this, every match statement must be matched for the set statements to be executed.
- dyusuf's blog
- Login or register to post comments
