2011-07-29

Router Cisco Basic Configuration

You want to learn how to configure cisco router? do not worry, this time I will give you a little experience on how to configure Cisco routers. But on this occasion I will only discuss the basic configuration, the configuration is generally done by an administrator. Ok, consider, 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 an available COM port on the PC.

After console session is formed, then activate the terminal emolusi, commonly used on Windows Operating System is hyperterminal (router configuration via minicom on linux see here). Activate hyperterminal, make sure the selected port is COM1, then the configuration:

    
* Bits per second: 9600 bps
    
* Data bits: 8
    
* Parity: none
    
* Stop bits: 1
    
* Flow control: none
Then turn on the router (power on), the router will do the boot up process, after the boot up process is complete the router will display the message "Would you like enter the initial configuration dialog?" Best answer "no". then the router displays the message "Press return to get your start". To begin, we press the "Enter". On a router that has not been configured then the router will display the prompt "router>" which indicates we are at the user EXEC mode of operation.
to start the configuration of typing "enable" such as the following example:
Router> enable
Router #
Currently we are at the privileged EXEC mode of operation, the configuration is usually done in global configuration mode, meaning that the configuration performed in this mode will affect the entire system. If ever we are at privillege EXEC mode then to switch to global configuration mode command is:
Router # config terminal or
Router # conf t
Some of the basic configuration that needs to be done is:
a. Hostname
Its function is to give names to the router
syntax:
router (config) # hostname name of the desired router
ie the desired name is cisco router, then the form of the command
router (config) # hostname cisco
cisco (config) #
b. Enable password
Its function is to activate the password on the command enable
syntax:
cisco (config) # enable password password diiinginkan words
eg word-desired password is cisco, then the form of the command
cisco (config) # enable password cisco
c. Enable secret
Its function is to activate the command enable secret word, the same function with the commands enable password, but the enable secret has a higher priority and the word secret in encrypted form.
syntax:
cisco (config) # enable secret-secret words which the desired
ie the desired secret word is a class, then the form of the command is
cisco (config) # class fosters secret
c. Line console
Enable password on the line console, so that only people who know / have a password I can access the router through console line. The router only has 1 piece of line console.
cisco (config) # line console 0
cisco (config-line) # password password-desired word
cisco (config-line) # exec-timeout 5
cisco (config-line) # login
d. Auxiliary line
Enable password on the line aux, so only people who know / have a password I can access the router via the aux line. The router only has 1 line aux fruits.
cisco (config) # line aux 0
cisco (config-line) # password password-desired word
cisco (config-line) # exec-timeout 5
cisco (config-line) # login
e. Virtual Terminal Line
Enable password on the virtual terminal line, so that only people who know / have a password I can access the router via a virtual terminal line. The router only has 5 line virtual terminal (VTY).
cisco (config) # line vty 0 4
cisco (config-line) # password password-desired word
cisco (config-line) # exec-timeout 5
cisco (config-line) # login
Good luck!

No comments:

Post a Comment