Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Too many static routes

I have routers with very many static routes, many of which I suspect are no longer needed. Is there some command that will show the number of matches for each "ip route" statement? cf. show access-list for matches of ACLs. Does anybody know any other trick to remove unnecessary static route statements? Thank you.

1 REPLY
ovt Bronze
Bronze

Re: Too many static routes

ip cef

ip cef accounting per-prefix

show ip cef detail

For example:

0.0.0.0/0, version 60, epoch 0, cached adjacency xx.13.62.33

5 packets, 307 bytes

Flow: AS 0, mask 0

via xx.13.62.33, Vlan4, 0 dependencies

next hop xx.13.62.33, Vlan4

valid cached adjacency

HTH, rate if it does

134
Views
3
Helpful
1
Replies
CreatePlease to create content