Introduction to Routing Configuration CNT 2510: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 33: Line 33:


=== Step 3. ===
=== Step 3. ===
Once inside global configuration mode a router name, a password for user EXEC mode, password for line console 0, line vty 0 4 and a message of the day banner need to be set for device security. For this example we will be setting the host name to Dante. Password for user EXEC will be cisco and pass word for both line console 0 and vty 0 4 will be class. We will also be turning off name resolution for unrecognized commands by entering in the no ip domain-lookup command as well.
Once inside global configuration mode a router name should be configured.
For this example we are chaning the routers name to Dante.


Router(config)# hostname Dante
Router(config)# hostname Dante


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. 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.
Make sure after you type the password you type login so it prompts users when they first try to configure the router.
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)#
Dante(config)#

Revision as of 16:59, 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. For this example we are chaning the routers name to Dante.

Router(config)# hostname Dante

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. 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. Make sure after you type the password you type login so it prompts users when they first try to configure the router.

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)#