06-23-2008 02:44 PM - edited 03-05-2019 11:46 PM
Any advice on how to use the sh ip route profile command. Can't find much guidance on this little known command. Even my local CCIE was unfamiliar with it. The command reference definitions suggest there are a lot of routing table updates going on in my network. How do others use it and interpret this command output?
sh ip route vrf pbc profile
IP routing table change statistics:
Frequency of changes in a 5 second sampling interval
-------------------------------------------------------------
Change/ Fwd-path Prefix Nexthop Pathcount Prefix
interval change add change change refresh
-------------------------------------------------------------
0 541787 542167 578258 576943 504842
1 7612 7947 62 321 1766
2 1821 2063 44 243 100
3 733 662 5 195 137
4 881 748 13 352 104
5 1158 741 25 211 11148
10 23989 23869 6 115 8660
15 274 189 13 34 473
20 61 21 2 23 548
25 30 13 0 1 1060
30 72 19 34 8 42983
55 13 5 1 13 6280
80 10 3 1 3 127
105 2 1 0 1 89
130 2 2 0 1 29
155 12 8 1 1 39
280 2 1 0 0 50
405 0 0 0 0 11
-------------------------------------------------------------
Change/ Fwd-path Prefix Nexthop Pathcount Prefix
interval change add change change refresh
-------------------------------------------------------------
530 0 0 0 0 5
655 1 1 0 0 10
780 4 4 0 0 4
1405 1 1 0 0 0
2030 0 0 0 0 0
2655 0 0 0 0 0
3280 0 0 0 0 0
3905 0 0 0 0 0
7030 0 0 0 0 0
10155 0 0 0 0 0
13280 0 0 0 0 0
Overflow 0 0 0 0 0
06-27-2008 02:46 AM
Use the show ip route command with no arguments to display all IP routes.
Use the show ip route command with the address argument to display routes to a specific IP address.
Use the show ip route command with the mask argument to display routes with a specific network mask.
Use the show ip route command with the bgp, isis, ospf keyword to display summary information about all routes for the specified protocol.
Use the show ip route multicast command to display active routes used by Multicast protocols.
Use the show ip route unicast command to display active routes used for unicast forwarding.
Use the show ip route connected command to display summary information about all directly connected routes.
Refer this link for more information:
http://www.cisco.com/en/US/docs/ios/12_3/iproute/command/reference/ip2_s3g.html#wp1039689
06-27-2008 07:27 AM
Thanks for the reply. I guess nobody uses this command, (sh ip route profile)though I find it useful in summarizing at a glance how many routing table changes are going on in my network. I reset it each day on our core routers and track the cumulative path changes for a 24 hr period. Was hoping to see how others use it but it must be too obscure a command. Here's the only Cisco reference I can find on it.
http://www.cisco.com/en/US/docs/ios/12_2/iproute/command/reference/1rfindp2.html#wp1058095
06-29-2008 12:18 PM
Andrew,
this command looks like interesting and you are right is not well known.
We are here to learn everyday...
So you enable it with the ip route profile command and I guess you reset statistics by removing and adding the same command.
However, we should need more information in how it is implemented to understand if it can be used in a context where a BGP full table is present (I mean scalability).
It may fit in an enterprise with a few hundreds / some thoudsands of routes in the routing table.
To get similar information some debug like debug ip routing should be used but it is not possible to let it active all time on a production network!
best regards
Giuseppe
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