Here’s some basic commands that every Cisco Engineer should know. However, they are so basic, that they are often overlooked:
Disable DNS Lookup
no ip domain-lookup
——————————-
Disable Switches/ Routers from being rude
line con 0
logging synchronous
If you are in the middle of typing something, the device will echo your command back to you once it’s done spitting it’s garbage out.
——————————-
setting console speed
line con 0
speed 115200
——————————-
command replacements:
wr---copy run start
wr erase---erase start
who---show users
where---show sessions
——————————-
Timestamping your logs
service timestamps log datetime localtime
——————————-
setting the clock
clock set 1:59:00 2 May 2007
clock timezone EST -5
clock summer-time EDT recurring
——————————-
Erasing interface config info
default int gig0/1
——————————-
fast debug recovery
u all
——————————-
Editing access-lists
Make sure that you are using an extended access list for this one
Router(config)#ip access-list extended TEST
Router(config-ext-nacl)#10 permit ip host 10.1.1.1 host 10.6.5.4
Router(config-ext-nacl)#20 permit icmp any any
Router(config-ext-nacl)#30 permit tcp any host 10.1.1.1
Router(config-std-nacl)#15 permit ip 10.5.5.0 0.0.0.255 any
Router#show access-list TEST
10 permit ip host 10.1.1.1 host 10.6.5.4
15 permit ip 10.5.5.0 0.0.0.255 any
20 permit icmp any any
30 permit tcp any host 10.1.1.1