For those of you Cisco IOS ninjas that can differentiate the show ip route table codes in your sleep, the first several lines of this command output are just a nuisance. Here’s a quick way to remove that unnecessary text from the output so you can get straight to finding out where your traffic is headed. And all with just a few additional keystrokes to the end of the command:

# show ip route | e -

Cleans up this table…

…so it looks like this:

Much cleaner, right?!?

Also, this works when you’re printing out RIBs for multiple VRFs. In just a small MPLS VPN lab the routes can quickly get out of hand, but see how much nicer this is to look through:

Leave a Reply

Your email address will not be published. Required fields are marked *