Sunteți pe pagina 1din 9

SOUTHERN LUZON STATE UNIVERSITY

COLLEGE OF ENGINEERING
ECE DEPARTMENT
Lucban, Quezon

ECE13L - DATA COMMUNICATIONS LAB

ACTIVITY 5
CISCO ROUTER & ITS CONFIGURATION

Submitted by:
Aseron, Julio Gabriel L.
Depasupil, Aira Dawn M.
Rosal, Paolo H.
Date Submitted:
January 29, 2015
PRINCE DHUNHILL M. RUEDAS, ECE, CCNA
Instructor
I.

OBJECTIVES

Familiarized oneself with the Cisco Router.


Connect a router and workstation using a console cable.
Configure HyperTerminal to establish a console session with the router.
Log in to a router in user, privileged and global modes.
Become familiar with the router prompt for each mode.
Use several basic router commands to determine how the router is
configured.
Use the router help facility.
Use the command history and editing features.
Become familiar with the basic router show command.
Use the system configuration dialog (setup).

II.

APPARATUS (Software/ Hardware)


Packet Tracer

III.

PROCEDURE

Part I Parts of a Cisco Router


Central Processing unit (CPU)
Executes instructions, such as system initialization, routing and
switching functions
Read Only Memory (ROM)
Stores the bootstrap program and Power- On- Self- Test (POST)
Random Access Memory (RAM)
Stores the ff: running configuration, routing table, ARP cache and
packet buffer
Non Volatile RAM (NVRAM)
Stores the startup configuration and the configuration register
FLASH
Stores the Internetwork Operating System (IOS). Can be used to store
any other files
Part II Cisco Router Process

Power- On
Self- Test
Check
Configuration
Register
Setting
Load IOS
Load Startup
Configuration

Part III Establishing a Console Connection to a Router


1. Connect a rollover cable to the console port
Connect a rollover cable to the console port on the router and the other end
to the PC with adapter to a COM port. Perform this step before you turn on
any of the devices.
1. Start the HyperTerminal
a. Turn on the computer and router.
b. From PCs Desktop, locate the HyperTerminal program.
2. Specify the computers connecting interface.
3. Specify the interface connection properties.
a. In the COM1 Properties window, select the following properties.
Bits per second = 9600
Data bits = 8
Parity = None
Stop bits = 1
Flow control = none
Then, click OK.
b. When the HyperTerminal session window opens, turn on the router, if router is
already on, press the Enter key. You should see a response from the router. If
you do, then the connection was successfully completed.
Part IV Command Line Interface Fundamentals
a. Router Modes
Initial Configuration
Dialog/ Setup

Would you like to enter initial configuration


dialog? [Yes/ no]

Ctrl + C
User Exec Mode
Router >
Enable
Privileged Exec
Mode

Global Config Mode


b. CLI Navigation

Router #
Configure
terminal
Router (config)#

Help Feature
Error Messages
Incomplete command
Invalid input detected at ^
Ambiguous command
o Improving User Experience
--More

Tab
Shortcut
c. System Information
o
o

Router> show version


IOS Version: 12.4 (15) T1
Where the router got the IOS: 1986- 2007 by cisco systems, inc
Model: cisco 1841 (revision 5.0)
Size of RAM: 114688K/ 16384K bytes
Size of NVRAM: 191K bytes
Size of Flash: 63488 bytes
Configuration Register Setting:
d. Basic Configurations
Running Configuration:
Router> enable
Router# show running- config

Startup Configuration:
Router> enable
Router# show startup- config
How to save your running configuration:
Router> enable
Router# copy running- config startup- config
How to delete your running configuration:
Hostname:
Router> enable
Router# configure terminal
Router> enable
Router ( config)# no [config to be deleted]
Router# configure terminal
Router ( config)# hostname [name of the
device]

Basic Passwords:
1. Console:
Router> enable
Router# configure terminal
Router ( config)# line console 0
Router ( config- line)# password [password]
Router ( config- line)# login
Router ( config- line)# logging synchronous
Router ( config- line)# exec- timeout [min]
2.
Auxiliary:
[sec]
Router> enable
Router# configure terminal
Router ( config)# line aux 0
Router ( config- line)# password [password]
Router ( config- line)# login
Router ( config- line)# logging synchronous
3. Vty 0 4:
Router ( config- line)# exec- timeout [min]
[sec]
Router> enable
Router# configure terminal
Router ( config)# line vty 0 4
Router ( config- line)# password [password]
Router ( config- line)# login
Router ( config- line)# logging synchronous
Router ( config- line)# exec- timeout [min]
[sec]
Privileged
Mode Passwords:
1. Enable password command:
Router> enable
Router#
configure
terminal
2.
Enable
secret command:
Router (config)# enable password [password]
Router> enable
Router# configure terminal
Router (config)# enable secret [password]
Encrypt All Passwords:
Router> enable
Router# configure terminal
Router (config)# service passwordencryption

Interface Configuration:
Router> enable
Router# configure terminal
Router (config)# enable password [password]

Interface Verification:
1. Show interfaces
2. Show interfaces [interface type]/[port no.]
3. Show ip interface brief
Disable Hostname Resolution:
Router> enable
Router# configure terminal
Router (config)# no ip domain- lookup

Part V Router Configuration Using Setup


1. Start the router and begin setup mode.
o

If the router starts without a configuration file, it automatically enters


setup mode without requiring a password. A new router starts in this
way.

If the router was previously configured but you want to see and change
existing settings, you must log in and provide a password of cisco. Type
enable at the command prompt to enter privileged mode, and enter
the password cisco. Enter setup at the router prompt to open the
system configuration dialog.
If the router was previously configured, you can stimulate a new router
by removing the configuration file from the NVRAM using the erase
startup- config command in privileged mode. Use the reload
command to restart and enter setup mode.

2. Continue with the setup dialog.


a. Enter yes to continue with the setup dialog.
b. What is the importance of the words in square brackets?

3. Configure the global parameters.


Configure the router using the default settings for any questions the router
asks if it has already been configured. You can name the router at this time if
it does not already have a name. Make sure that you enter cisco as the
enable secret password.
4. Show the current interface summary.
When the router asks, First, would you like to see the current
interface summary? press Enter or type yes to accept the default
answers.
5. Configure the interface parameters.
6. Specifying whether to use the configuration command script.
a. The router displays the configuration command script that you created
and then asks whether you want to save this configuration.
b. Select option 2 to save and exit.

IV.

ANALYSIS/ OBSERVATION

V.
VI.
VII.
VIII.

Configure HyperTerminal to establish a console session with the router.


Log in to a router in user, privileged and global modes.
Become familiar with the router prompt for each mode.
Use several basic router commands to determine how the router is
configured.
Use the router help facility.
Use the command history and editing features.
Become familiar with the basic router show command.
Use the system configuration dialog (setup).

IX.
X.
XI.
XII.

Parts, process, connection,command, config

This activity is all about CISCO Router and how it is configured. To be familiar
with the CISCO router, we tried to configure a Cisco router by establishing a console
connection using a rollover cable to the console port. To be able to establish a
console session with the router, we also configured the Putty terminal configuration,
which is a type of a HyperTerminal program and then switch on the router to check
if the connection was successful.
The next step we do is to learn how to use the command line interface
fundamentals. A router can be configured in three modes; it can be on user exec
mode, privileged exec mode and global config mode. As we turned on the
router, it stated, Would you like to enter initial configuration dialog? [Yes/
no]", then we pressed Ctrl + C and transferred to user exec mode "router>" which
is equivalent to a guest account, and therefore has a limited access. To switch to
another mode, we type "enable" in the command prompt, to enter the privileged
exec mode "router#" which is the administrator account of the router. Entering the
"configure terminal" transfers us to global config mode "router(config)#" which
gives the highest authority in configuring a router, and can make all configurations.
Typing wrong commands gives error messages such as "incomplete command",
"invalid input detected at'^' and ambiguous command".
As we learn how to configure a cisco router, we also encountered some
shortcuts in entering a command, which is very helpful when you are considering
time. As long as the first two letters is unique, it can be a shortcut of any command.
We check the system information by typing, "show version" in exec user
mode. IOS Version: 12.4 (15) T1
Where the router got the IOS: 1986- 2007 by cisco systems, inc, Model: cisco
1841 (revision 5.0), Size of RAM: 114688K/ 16384K bytes, Size of NVRAM: 191K
bytes, Size of Flash: 63488 bytes can now be seen.
We also tried to change the hostname and enable a password. Whenever you want
to re-configure the router it will prompt you to login and enter a password. We just
type enable at the command prompt to enter privileged mode, and again enter the
password. We also encrypted all passwords to secure that the password is hidden,
just type "router (config)#service password- encryption". To be able save a
configuration, the running configurations must be copied to the startup
configurations. We type Router# copy running- config startup- config. To go
back to the previous mode, just type exit or end in the command prompt. In
the end, we successfully configured a router and as a reminder, always make the
connections first befoore turning on the devices.
XIII.

SUMMARY/ CONCLUSION

We therefore conclude that configuring of a Cisco router is very important


specially in making a network for a company. A router has two configuration files

namely running configuration and startup configuration. To save the configuration


made, the information must be copied from the running config to the start up
configurations. Working without an operating system and a hyperterminal program
such as Putty is not possible when configuring a router.
We also learned the three modes in command line interface: the User exec
mode, which is the guest account of the router, that has limited access, and
somehow show commands but no configuration. In privileged exec mode it is the
administrator account of the router, and can show all commands but some
configurations. While in global configuration mode it is the owner or highest
possible level of account of the router, it has all the configurations, and no show
commands. To exit in any existing mode, type exit or end in the command
prompt.
There are many ways in setting up a router, we also configured the router using
Setup, and entered in privilege mode. Entering with yes leads to the setup dialog.
Enter or type yes to accept the default answers to show the current interface
summary.

S-ar putea să vă placă și