0% found this document useful (0 votes)
22 views5 pages

Elec 472 Lab Exp 2

LAB EXPERIMENT FOR FINAL YEAR ELEC 472 CONCORDIA UNIVERSITY - ELECTRICAL ENGINEERING

Uploaded by

rosalynn.nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views5 pages

Elec 472 Lab Exp 2

LAB EXPERIMENT FOR FINAL YEAR ELEC 472 CONCORDIA UNIVERSITY - ELECTRICAL ENGINEERING

Uploaded by

rosalynn.nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

ELEC 472/4 WINTER 2007

ADVANCED TELECOMMUNICATION NETWORKS

LAB REPORT 2
Router Foundations

Rosalynn Nguyen
ID: 4711165

Tuesday April 3rd 2007

Concordia University
EXPERIMENT 2

1. OBJECTIVES

The objective of this second lab is to achieve better understanding about the basic router
configuration commands.

II, INTRODUCTION

THE CISCO 3700 ROUTER

Using the modular Cisco 3700 Series Multiservice Access Routers we also learn about WAN
interface, WICS, Advanced Integration Modules ( AIMS) from the Cisco 1700, 2600 and 3600
Series Routers for WAN Access, Voice Gateway, Security, Content, Circuit Emulation, and
finally Dial Alpplications. There is a new doublewide form factor which provides support for the
high density services modules. We use HDSM that has the capability to use higher density and
better and enhanced services.

III. PROCEDURE AND RESULTS

Here we will learn how to use a basic router, by testing commands as well as troubleshooting
for help.

By following the lab manual for experiment 2 the steps 1, 2, 3, we first expect:

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog?


[yes/no]: n (type n and press enter)

We type in ‘no’ and then enter. Afterwards, choosing yes will terminate the autoinstall. Once
the hyperterminal session will begin as the user prompt appears:

00:00:51: %SYS-5-RESTART: System restarted --


Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-DS-M), Version 12.0(13),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Wed 06-Sep-00 02:30 by linda
Router>
The next art will be about exploring the help feature. We type in ‘no’ and obtain the screen
saying:

Help may be requested at any point in a command by entering


a question mark '?'. If nothing matches, the help list
will be empty and you must backup until entering a '?'
shows the available options.
Two styles of help are provided:
Full help is available when you are ready to enter a command
argument (e.g. 'show ?') and describes each possible argument.

We then get to know about the privileged mode prompt. We apply, without forgetting
that we always switch out to user mode prompt by typing disable.

router>enable
router#

Checking router configurations entitles us to use the function ‘show run’.


To Reboot the Router, we use ‘reload’, it will reboot.

router#ping 192.168.20.18 (typed)

router#ping 192.168.20.20 (typed)

Supplemental Labs or Challenge Actvity:

What are the other options available with the copy command?

Command Description
Access-enable Create a temporary Access-list entry
Access-profile Apply user-profile to interface
Access-template Create a temporary access-list entry
Archive Manage archive files
Audio-prompt Load IVR prompt
Auto Exec level automation
Call Reload IVR call application accounting template
Debug Debugging function (see also “undebug”)

If your router is already started then how would you get the router setup script back?

BASIC ROUTER CONFIGURATION


We shall apply to learn a method for configuring basic router commands that will be later used.

There are 4 steps to follow in order to configure the router: we set up the router basics, we
configure interfaces, then configure routing protocols, and and add any other items (ACL’s,
security, routes, etc). We will focus on the first step in this part.

1. Boot up the router and do not use the setup program. Oh sure, setup is easy, but you need to learn it
all from the command line. Enter the privileged mode:

Router>enable (or just “en”)


Router# since no enable password is set yet, the
router does not ask for a password

2. Enter configuration mode:

RouterA#configure (or just “config t”)


RouterA#terminal
RouterA(config)#

3. Configure the vty lines with a password “colab.” These are the available Telnet ports for use from
the Internet or from other networking devices on your network. Without a password no one will be
able to telnet into the router.

RouterA(config)#line vty 0 4
RouterA(config-line)#password colab
RouterA(config-line)#login
RouterA(config-line)#exit

4. Configure the console line so messages will not interrupt what you are typing and so your session
does not time out:

RouterA(config)#line con 0
RouterA(config-line)#logging synchronous
RouterA(config-line)#exec-timeout 0 0
RouterA(config-line)#exit

Feeling frisky? Change exec-timeout to 0 1. This will cause your router session to time out every
1 second (it can take up to about 5 minutes to start though). There are only two ways to fix it: router
recovery or press the “down” arrow key while you change the exec timeout to a higher number with
your other hand at the same time. Doing this generates a continuous interrupt request to the CPU and
the session, therefore, does not time out. Logging synchronous is a nice command. When you are
configuring a router sometimes messages will interrupt your work. Without this command in your
script when you are interrupted you will have to remember exactly what you typed when you were
interrupted. With this command the router will “refresh” what you typed on the current line.
5. Configure the secret password “concis” and the enable password “class.” The enable secret
password is used to get from user mode into privileged mode. The enable password is something
that shows up from time to time on tests and whether you know how to configure it or not.

RouterA(config)#enable secret concis


RouterA(config)#enable password class

To see what you have done so far you can always look at the running-configuration file:
Once you have determined that your configuration is what you would like on your router you need to save
it to your startup-configuration file. Otherwise if your router is re-booted or you loose power then your
configuration will be lost.

RouterA(config)#exit (or use control+Z to get all the way out)


RouterA#sh ru (short for show run)

Great. Now you know how to save your configuration.

So what if you made a mistake when you are typing something? Some things you can just re-type and
they will be changed (like hostname) and some others you can un-do just by typing the word “no” and
repeating the errant command.

RouterA(config)#hostname mark (darn! We wanted “r45-1”)


Mark(config)#hostname r45-1 (just type in “r45-1”)
r45-1(config)#

r45-1(config)#line vty 0 4
r45-1(config-line)#password csico (darn! We wanted “colab”)
r45-1(config-line)#no password csico
r45-1(config-line)#password colab

CONCLUSION

After the completion of this lab I can understand the many features that are offered from the
Cisco router we have been using since the beginning. We have started to become familiar
with the router settings and configurations.

You might also like