Cisco Router

If you are configuring your Cisco router or studying for a certification exam & want to save time, please proceed. With these Cisco router commands, you can gain speed in your configuration and experiments and minimize possible errors.

My advice to you is to collect those commands and save them in a txt file. In this way, you can add these to many devices by copy-paste and provide integrity in your lab or installation. Below are the commands that I’ve compiled:

Cisco Router Commands

no ip domain-lookup

This command is mainly used to prevent the router from performing a DNS query. If your configuration does not have a line that uses FQDN, I recommend using this command. This command prevents you from waiting for the query to be timeout by preventing the device from performing a DNS query when you enter an incorrect command during configuration.

alias exec

This command is used to make it easier to type a name by typing in a series of words. For example, you can save time by typing ccsip instead of typing debug ccsip messages.

exec-timeout 0 0

This command can be used to prevent the device from closing the connection due to timeout when you access the console and telnet / SSH. 0 means 0, 0 minutes and 0 seconds, which means that it never expires. If the devices will work in a production environment, I strongly recommend that you update this command when you are done.

logging synchronous

You are probably confused by an information / warning message (interface up / down, EIGRP messages, etc.) that falls into the console in the middle when you type a command. This command is to eliminate this problem. With the command above, you can apply this to VTY / console configurations.

Save These to a File

After you create your configuration draft, you can save it to a file and apply it to many devices with copy-paste method and apply it to your later works. You can find all of these commands in the following example:

conf t
no ip domain-lookup
alias exec ccsip debug ccsip messages
alias exec sib show ip interface brief
line con 0
exec-timeout 0 0
logging synchronous
exit
line vty 0 15
exec-timeout 0 0
logging synchronous
exit
end

Again Note: If you are configuring these commands on a live system, please note that these could create a security vulnerability when going live and please take the necessary precautions 🙂