Top Ten Cisco IOS commands

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
Hi Guys,

I need to brush up on my cisco skills. I'm googling this, but I was curious if anybody could chime in on their most used CISCO commands, and any switches that seem to come along with those commands.

Even if you only have a few, please post and give a short explanation of what they do and why you use them. Thanks!
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
This is pointless...everyone who uses Cisco is going to have different things they look at and different purposes for running Cisco equipment. Context is everything.

For instance, I commonly use the command "sh ip bgp vpnv4 rd (route-distinquisher)". That command is useless to anyone outside of the service provider world.

Need moar context.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
sh run int
sh ip int brief
sh ip route
sh int status
sh int
ping
trace
sh spanning-tree
sh ip <routing protocol> nei
 

alkemyst

No Lifer
Feb 13, 2001
83,769
19
81
Get the IOS Cookbook by O'Reilly. It's going to be the best bang for buck and is laid out like a real cookbook. You look up what you want to do (configure a vlan for example) and it gives you the recipe.

There is a Version 2 out, so make sure you get the right one.

www.addall.com will find you the best price.

to add to the list above:

show running-config
show startup-config
show arp
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Hi Guys,

I need to brush up on my cisco skills. I'm googling this, but I was curious if anybody could chime in on their most used CISCO commands, and any switches that seem to come along with those commands.

Even if you only have a few, please post and give a short explanation of what they do and why you use them. Thanks!

Only 10? 10 won't get you far.
 

MtnMan

Diamond Member
Jul 27, 2004
9,363
8,701
136
enable
sh
conf
int
route
net
ip
no
wr
?

no parameters, just commands
 
Last edited:

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
The fun way to screw with someone.

Reload at and Reload in are safety net commands. Working remotely you basically do:

copy run start
reload in 60 (some amount of time that you know you will finish entering commands)
{stuff}

And either: "hey it worked": Reload cancel
copy run start

or: "Crap I locked myself out of the router"
wait for the 60 minutes to run out
log back in and curse that you did something stupid.

The alternative is walking a phone tree trying to get someone on site to reboot the remote router.....
 

Railgun

Golden Member
Mar 27, 2010
1,289
2
81
I know this. But in a non-production environment....

Best practice there would be to have some out of band management to get in via the console.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
I know this. But in a non-production environment....

Best practice there would be to have some out of band management to get in via the console.

That works until it is some tiny sub office with a DSL line. They don't often want backup lines / network serial adapter etc.