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

ip local policy route-map

Alain Desnoyers
Level 1
Level 1

Could someone explain to me what exactly this means, docs mention that this is used to policy route packets generated by the router itself. Now I have a L3 switch that I want to configure PBR on and I have to physical outbound interfaces one of which I want specify traffic to go out. My first thought was to just create a routemap and tie it to the primary exit interface where are all packets exit the switch by default. That route map would match a set ip addresses and set the next hop for those ip addresses via the other exit interface. Or is it easier to just apply the ip local policy route-map command . I am not sure how to interpret the description "generated by the router itself" so packets from hosts connected to this L3 switch, do they qualify as packets generated by the router?

Thanks

1 Reply 1

zartar911
Level 1
Level 1

Hi Alain,

  • ip local policy route-map is to match traffic generated by the router/switch
  • ip policy route-map is to match traffic coming into the router/switch from hosts.

For PBR, you would probably want to configure the policy on the input interface instead of the output interface.

Regards,

Tim

Review Cisco Networking for a $25 gift card