Introduction to Routing Configuration CNT 2510: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
Line 49: Line 49:
To set the user EXEC password you need to be in global configuration mode and type enable secret class, where class is the password desired. Then to set a password for the line console 0
To set the user EXEC password you need to be in global configuration mode and type enable secret class, where class is the password desired. Then to set a password for the line console 0
and line vty 0 4 you need to enter line config. To do so you type line before console 0 or line vty 0 4 and  
and line vty 0 4 you need to enter line config. To do so you type line before console 0 or line vty 0 4 and  
you will enter config-line. Once in config-line you can type password cisco, or another password other than cisco if desired. Then type login. Make sure after you type the password you type login so it prompts users
you will enter config-line. Once in config-line you can type password cisco, or another password other than cisco if desired. Then type login. Make sure after you type the password type login to enable the password to be checked at login.
when they try to enter the secure device.


Dante(config)# enable secret class
Dante(config)# enable secret class

Revision as of 17:07, 3 March 2011

Router Modes

Router Output Mode How to enter this mode
Router> User mode When first entering the router press enter until greeted by the device
Router# Privileged mode (also known as EXEC-level mode) Type enable, press enter
Router(config)# Global Configuration Mode Type Configuration Terminal, press enter
Router(config-if)# Interface Mode Type Interface (interface type) (interface port) Ex; Fa0/0


Configuring a Cisco Router

Step 1.

First you need to be connected to a router on a console port 0 using a rollover cable. The other end is connected to COM1.

When you load hyperterminal you will have to set the device interface to COM1 to properly access the router.

Step 2.

To configure the router you need to enter global configuration mode. From user mode type the follwing commands,

Router> enable

Router# configure terminal

Router(config)#

Step 3.

Once inside global configuration mode a router name should be configured. We are also turning off name resolution for unrecognized commands with the no ip domain-lookup command For this example we are chaning the routers name to Dante.

Router(config)# hostname Dante

Dante(config)# no ip domain-lookup

Dante(config)#

Dante(config)#

Step 4.

Next passwords should be configured for the user EXEC mode, line console 0 and line vty 0 4. For this example we setting the user EXEC password to class and the line console 0 and line vty 0 4 passwords to cisco.

To set the user EXEC password you need to be in global configuration mode and type enable secret class, where class is the password desired. Then to set a password for the line console 0 and line vty 0 4 you need to enter line config. To do so you type line before console 0 or line vty 0 4 and you will enter config-line. Once in config-line you can type password cisco, or another password other than cisco if desired. Then type login. Make sure after you type the password type login to enable the password to be checked at login.

Dante(config)# enable secret class

Dante(config)# line console 0

Dante(config-line)# password cisco

Dante(config-line)# login

Dante(config-line)# line vty 0 4

Dante(config-line)# password cisco

Dante(config-line)# login

Dante(config-line)# exit

Dante(config)#