Routing and Route Lookup

Use these commands when traffic exits the wrong interface, a route is missing, or dynamic routing does not install the expected path.

Route table checks

get router info routing-table all
get router info routing-table details 203.0.113.10
diagnose ip route list

Policy routes

show router policy
diagnose firewall proute list

Policy routes can override normal route table selection. Check them before assuming the longest-prefix route is being used.

Static routes

show router static

Dynamic routes

get router info bgp summary
get router info bgp network
get router info ospf neighbor
get router info ospf route