Introduction to Routing Configuration CNT 2510: Difference between revisions
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
=== Step 3. === | === Step 3. === | ||
===== Setting a router name ===== | |||
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 | 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. | For this example we are chaning the routers name to Dante. | ||
Line 46: | Line 47: | ||
Dante(config)# | Dante(config)# | ||
=== Step 4. === | === Step 4. === | ||
===== Device Security ===== | |||
Next passwords should be configured for the user EXEC mode, line console 0 and line vty 0 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. | For this example we setting the user EXEC password to class and the line console 0 and line vty 0 4 passwords to cisco. |
Revision as of 17:18, 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.
How to configure a router
To configure the router you need to enter global configuration mode. When in global configuration mode you can change the router name set passwords, set MOTDs and turn off and on interface and serial devices. First we're going to show you how to enter global configuration mode. From user mode type the follwing commands,
Router> enable
Router# configure terminal
Router(config)#
Step 3.
Setting a router name
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.
Device Security
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)#