in this article, I will discuss about Basic Configuration of Cisco Routers.
You want to learn how to configure a Cisco router? do not worry, this time I will give you a little experience on how to configure Cisco router. But on this occasion, I will only discuss about the basic configuration, which is a configuration that is generally done by an administrator. Ok, see, the following discussion.
To configure the router is done, the first step that needs to be done is, build a console session. Console session is formed by connecting the console port on the router with COM 1 port on PC.
After the console session is formed, next activate the emolution terminal, which is commonly used in Windows Operating System is hyper terminal (router configuration via minicom in Linux see here). Enable hyper terminal, make sure the selected port is COM1, then configure:
Bits per second: 9600 bpsData bits: 8Parity: noneStop bits: 1Flow control: none
Then turn on the router (power on), the router will boot up, after the boot process is complete the router will display the message "Would you like enter initial configuration dialog?" Should answer "no". then the router displays the message "Press return to get a start". To start we press the "Enter" key. In the router that has not been configured then the router will display a prompt "router>" which indicates we are in EXEC user operation mode.
to start the configuration enable "enable" like the following example:
Router> enableRouter #
Currently, we are in the EXEC privilege operation mode, the configuration is usually done in global configuration mode, meaning that the configuration done in this mode will affect the whole system. If we were in EXEC privilege mode then to switch to global configuration mode the command is:
Router # config terminal orRouter # conf t
Some basic configurations that need to be done are:
Its function is to name the router
router (config) #hostname desired router name
eg the name of the desired router is cisco, then the command form
router (config) #hostname ciscocisco (config) #
b. Enable password
Its function is to enable the password in enable command
cisco (config) #enable password passwords are desired
eg the password-word is cisco, then the command form
cisco (config) #enable password cisco
c. Enable secret
Its function is to enable secret word in enable command, its function is same as enable password command, but enable secret has higher priority and secret word in encrypted form.
cisco (config) #enable secret the desired secret-word
for example, the desired secret word is the class, then the command form is
Cisco (config) #enabel secret class
c. Line console
Enable the password on the line console, so that only people who know/have my password that can access the router through line console. The router only has 1 line console.
cisco (config) #line console 0cisco (config-line) #password password-word is desiredcisco (config-line) #exec-timeout 5cisco (config-line) #logind. Line auxiliary
Enable the password online aux, so that only people who know/have my password that can access the router through line aux. The router only has 1 line aux.
cisco (config) #line aux 0cisco (config-line) #password password-word is desiredcisco (config-line) #exec-timeout 5cisco (config-line) #login
e. Line Virtual Terminal
Enable passwords on the virtual terminal line, so only the person who knows/has my password can access the router through the virtual terminal line. The router only has 5 virtual terminal lines (vty).
Read to : Understanding LAN, WAN, PAN, And MAN
cisco (config) #line vty 0 4cisco (config-line) #password password-word is desiredcisco (config-line) #exec-timeout 5cisco (config-line) #login