Cisco: Basic Router Configuration
In this article I will be walking my readers through a quick tutorial on Basic Cisco Router configuration. We will be setting the hostname, the priviledged exec mode password, the global configuration mode password, the console password, and the virtual terminal password. This should give the reader a basic start to getting a Cisco router up and running. It is important to note that I am executing this tutorial with the use of the Packet Tracer program created by Cisco.
Boot up your router. Enter your router console through either a hyperterminal or a serial console session. The first thing you should see on the screen is:
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Enter the word no. As we want to configure the router ourselves without prompts, for learning purposes. Hit enter. The next thing you will see is your router prompt. Type and Execute the following command: enable. This will drop you into priviledged exec mode.
Next Type and Execute configure terminal. This command will drop you into global configuration mode where we will configure the router’s passwords and hostname.
Router# configure terminal
Now that we are in global configuration mode (deciphered by the # symbol) we can move to the next command. Type and Execute hostname MyRouter and you should see your router prompt change.
We have successfully configured the hostname of our router. The next step is to configure the priviledged exec mode and global configuration mode passwords. To start make sure we you are in global configuration mode. We will be using the password “cisco” for priviledged exec mode. We will be using the password “class” for global configuration mode. Set the password for priviledged exec mode by Typing and Executing enable password cisco. Next set the password for global configuration mode by Typing and Executing enable secret class.
In this step we will set the password for the serial console on router MyRouter. In global configuration mode, Type and Execute line console 0. Following that, Type and Execute password cisco. Then Type and Execute login. You have just set the serial console password on your router.
I will now show you how to set the password for the virtual terminals. In global configuration mode, Type and Execute line vty 0 4. This tells the router that you wish to configure virtual terminals zero through four. Next, Type and Execute password cisco. Following that, Type and Execute login. Your password is now set.
The last and Final step to this tutorial. Now that you have set all of the passwords and the hostname on your Router, you need to save your work. In priviledged exec mode, Type and Execute copy running-config startup-config and hit enter when it prompts for the file name. This command will copy your live configuration to nvram on the router. By doing this you are allowing the router to use your configuration as its default configuration. It also protects your router from losing its configuration if it is powered off and back on.
This concludes the tutorial. If you have any questions or concerns, please post a comment and I will do my best to answer your question.