11-08-2022 02:23 PM
Hi,
to permit all other traffic which are not matched by the PBR, is it a MUST to set a route-map EXAMPLE permit with no matching criteria at the last position?
Thanks
11-08-2022 03:41 PM
This is a fairly common concern for someone who is in the learning stages about PBR "is it a MUST to set a route-map EXAMPLE permit with no matching criteria at the last position?". With access lists and with route maps the implicit deny any at the end may be an issue. But there is something to understand about the route map used with PBR. In these route maps any packet that is permitted gets the special routing logic. Any packet that is denied just gets normal routing. (It is not like a packet that is denied gets dropped like an acl would, but is that normal routing is used) So there is no need for a final permit with no matching criteria.
11-08-2022 03:55 PM - edited 11-08-2022 03:55 PM
what @Richard Burts said correct.
PBR - based on the ACL and matched traffic will be routed to the next Hop, rest all go default way.
11-13-2022 11:36 AM
if you talking about route-map using with routing protocol then yes you need to add final line with no ACL match
if you talking about PBR then we usually add final line and add set interface null0 this prevent PBR to check RIB if above line it not match traffic.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide