Warning: DOMDocument::save(/homepages/15/d664052299/htdocs/app664170094/sitemap.xml): failed to open stream: Permission denied in /homepages/15/d664052299/htdocs/app664170094/wp-content/plugins/google-sitemap-plugin/google-sitemap-plugin.php on line 551

Warning: filemtime(): stat failed for /homepages/15/d664052299/htdocs/app664170094/sitemap.xml in /homepages/15/d664052299/htdocs/app664170094/wp-content/plugins/google-sitemap-plugin/google-sitemap-plugin.php on line 739
Cisco CLI shortcuts - #LineVTY.com

Cisco CLI shortcuts

So, another addition to a base config, you can save yourself some precious time with these nifty alias shortcuts…

My favorites, are;

SRI – pipes the ‘include’ statement to a show run, probably my favorite
R1(config)#alias exec sri show run | include

SHIP – really lazy command, but every second counts when troubleshooting problem
R1(config)#alias exec ship show ip route

SHBV – this skips past all the physical interface’s, very handy if your wanting to just look at multiple vlan configs while working on a stack of switches or on a 4/6k with multiple line cards
R1(config)#alias exec srbv show run | begin interface V

SAVEME – have a tftp server running? want to take a store backup of the config off the device before you make a change?
R1(config)#alias exec saveme copy run tftp://203.0.113.1/R1.txt

Example of it in use:
R1#sri snmp-server
snmp-server community read-write RW 1
snmp-server ifindex persist
snmp-server location Some Location
snmp-server contact Some Person

Leave a Reply

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