Link to home
Start Free TrialLog in
Avatar of amigan_99
amigan_99Flag for United States of America

asked on

Showing PBR and routes in one command?

Is there a show command that should all router route decisions whether spawned by policy based routing (next hop) or a dynamic or static route? I think show ip route will not include pbr based route decisions.
Avatar of Svet Chinkov
Svet Chinkov

Hello,

I do not think that there is a sigle command you can use but you can use show ip policy to verify PBR. If the traffic is generated from the local router you should use show ip local policy but you also need to make sure a local PBR policy is applied to the interface. You can use show ip cache policy to display the cached entries in the policy and the next hop (fast switching policy only). Please let me know if you have any questions. I hope that helps.

Thank You
Also you can see how traffic is being router in real time by using debug ip policy but I will recommend using a ACL to filter the ouput of the debug command. Also be careful using any debug commands as they are CPU intensive and do not forget to disable them when you are done.
Avatar of amigan_99

ASKER

Thanks much!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.