Docsity

Router Configuration in Computer Networks: Lab-09, Exercises of Computer Networks

Toggle sidebar
bg1
Computer Networks Lab-09 Router Configuration
โ€ข Read๎˜ƒthis๎˜ƒdocument๎˜ƒit๎˜ƒprovides๎˜ƒbasic๎˜ƒinformation๎˜ƒabout๎˜ƒthe๎˜ƒrouter,๎˜ƒit๎˜ƒwill๎˜ƒbe๎˜ƒhelpful๎˜ƒin๎˜ƒ
understanding๎˜ƒthe๎˜ƒwork๎˜ƒthat๎˜ƒyou๎˜ƒare๎˜ƒgoing๎˜ƒto๎˜ƒperform๎˜ƒin๎˜ƒthis๎˜ƒlab๎˜ƒ
โ€ข Copy๎˜ƒ๎˜ƒBOSON๎˜ƒNetsim๎˜ƒCCNP๎˜ƒ7๎˜ƒ.rar๎˜ƒfrom๎˜ƒ\\172.30.10.8\learningmaterial\Nauman๎˜ƒ
Shamim\CN2010๎˜ƒ,๎˜ƒextract๎˜ƒthe๎˜ƒfile๎˜ƒand๎˜ƒinstall๎˜ƒBoson๎˜ƒNetsim๎˜ƒ6๎˜ƒusing๎˜ƒnetsim6.exe๎˜ƒ,๎˜ƒregister๎˜ƒthe๎˜ƒ
demo๎˜ƒversion๎˜ƒusing๎˜ƒfollowing๎˜ƒsteps๎˜ƒ
o Start๎˜ƒthe๎˜ƒsimulator๎˜ƒ๎˜ƒ
o Go๎˜ƒto๎˜ƒordering๎˜ƒtab๎˜ƒon๎˜ƒmain๎˜ƒmenu,๎˜ƒselect๎˜ƒrepair๎˜ƒkey๎˜ƒoption๎˜ƒ๎˜ƒ
o Select๎˜ƒfull๎˜ƒlisence๎˜ƒand๎˜ƒcopy๎˜ƒthe๎˜ƒkey๎˜ƒprovided๎˜ƒunder๎˜ƒthese๎˜ƒoptions๎˜ƒ
o Start๎˜ƒthe๎˜ƒkey๎˜ƒgenerator๎˜ƒand๎˜ƒpaste๎˜ƒthe๎˜ƒkey๎˜ƒthere๎˜ƒ,๎˜ƒit๎˜ƒwill๎˜ƒprovide๎˜ƒyou๎˜ƒthe๎˜ƒregistration๎˜ƒkey๎˜ƒ
paste๎˜ƒit๎˜ƒback๎˜ƒto๎˜ƒthe๎˜ƒrepair๎˜ƒkey๎˜ƒdialog๎˜ƒ๎˜ƒ
โ€ข Start๎˜ƒthe๎˜ƒsimulator๎˜ƒand๎˜ƒgo๎˜ƒto๎˜ƒlabnavigator๎˜ƒ,๎˜ƒselect๎˜ƒsequential๎˜ƒlabs๎˜ƒand๎˜ƒperform๎˜ƒbasic๎˜ƒrouter๎˜ƒ
configuration๎˜ƒusing๎˜ƒsimulator๎˜ƒ
โ€ข After๎˜ƒcompleting๎˜ƒthe๎˜ƒlab,๎˜ƒgo๎˜ƒto๎˜ƒthe๎˜ƒrouter๎˜ƒplaced๎˜ƒin๎˜ƒlab๎˜ƒand๎˜ƒmake๎˜ƒphysical๎˜ƒand๎˜ƒhyper๎˜ƒterminal๎˜ƒ
connection๎˜ƒas๎˜ƒmentioned๎˜ƒbelow๎˜ƒ
โ€ข After๎˜ƒsetting๎˜ƒup๎˜ƒthe๎˜ƒrouter๎˜ƒ,๎˜ƒperform๎˜ƒthe๎˜ƒsame๎˜ƒlab๎˜ƒon๎˜ƒthis๎˜ƒrouter๎˜ƒand๎˜ƒnote๎˜ƒthe๎˜ƒdifferences๎˜ƒ
Making the physical connection
The๎˜ƒcable๎˜ƒand๎˜ƒadapters๎˜ƒrequired๎˜ƒfor๎˜ƒthis๎˜ƒconnection๎˜ƒare๎˜ƒincluded๎˜ƒwith๎˜ƒthe๎˜ƒrouter.๎˜ƒFollow๎˜ƒthese๎˜ƒsteps๎˜ƒto๎˜ƒ
connect๎˜ƒthe๎˜ƒrouter๎˜ƒto๎˜ƒa๎˜ƒterminal๎˜ƒor๎˜ƒPC๎˜ƒrunning๎˜ƒterminal๎˜ƒemulation๎˜ƒsoftware:๎˜ƒ
โ€ข Locate๎˜ƒthe๎˜ƒconsole๎˜ƒport๎˜ƒon๎˜ƒthe๎˜ƒback๎˜ƒof๎˜ƒthe๎˜ƒrouter.๎˜ƒ
โ€ข Connect๎˜ƒthe๎˜ƒconsole๎˜ƒ(or๎˜ƒrollover)๎˜ƒcable๎˜ƒto๎˜ƒthe๎˜ƒconsole๎˜ƒport๎˜ƒon๎˜ƒthe๎˜ƒrouter.๎˜ƒ
โ€ข The๎˜ƒconsole๎˜ƒcable๎˜ƒwill๎˜ƒneed๎˜ƒan๎˜ƒRJโ€45๎˜ƒto๎˜ƒDBโ€25๎˜ƒadapter๎˜ƒ๎˜ƒ
โ€ข Use๎˜ƒthe๎˜ƒcorrect๎˜ƒadapter๎˜ƒto๎˜ƒconnect๎˜ƒthe๎˜ƒother๎˜ƒend๎˜ƒof๎˜ƒthe๎˜ƒcable๎˜ƒto๎˜ƒyour๎˜ƒterminal๎˜ƒor๎˜ƒPC.๎˜ƒ๎˜ƒ
Setting up a HyperTerminal connection file
โ€ข Click๎˜ƒthe๎˜ƒStart๎˜ƒbutton๎˜ƒon๎˜ƒthe๎˜ƒWindows๎˜ƒTaskbar,๎˜ƒand๎˜ƒselect๎˜ƒPrograms๎˜ƒ>๎˜ƒAccessories๎˜ƒ>๎˜ƒ
Communications๎˜ƒ>๎˜ƒHyperTerminal.๎˜ƒHyperTerminal๎˜ƒlaunches๎˜ƒand๎˜ƒdisplays๎˜ƒthe๎˜ƒConnection๎˜ƒ
Description๎˜ƒdialog๎˜ƒbox.๎˜ƒ
โ€ข Type๎˜ƒin๎˜ƒa๎˜ƒname๎˜ƒand๎˜ƒoptionally๎˜ƒselect๎˜ƒan๎˜ƒIcon๎˜ƒto๎˜ƒrepresent๎˜ƒyour๎˜ƒHyperTerminal๎˜ƒsession.๎˜ƒClick๎˜ƒOK.๎˜ƒ
The๎˜ƒPhone๎˜ƒNumber๎˜ƒwindow๎˜ƒappears.๎˜ƒ
โ€ข Select๎˜ƒ"๎˜ƒCOM1"๎˜ƒfrom๎˜ƒthe๎˜ƒdropโ€down๎˜ƒlist.Click๎˜ƒOK.๎˜ƒThe๎˜ƒCOM1๎˜ƒProperties๎˜ƒwindow๎˜ƒappears.๎˜ƒ
โ€ข On๎˜ƒthe๎˜ƒPort๎˜ƒSettings๎˜ƒtab,๎˜ƒenter๎˜ƒthe๎˜ƒfollowing๎˜ƒsettings:๎˜ƒ
o Speed๎˜ƒโ€๎˜ƒ9600๎˜ƒ
o Data๎˜ƒBits๎˜ƒโ€๎˜ƒ8๎˜ƒ
o Parity๎˜ƒโ€๎˜ƒnone๎˜ƒ
o Stop๎˜ƒbits๎˜ƒโ€๎˜ƒ1๎˜ƒ
docsity.com
pf3
pf4
pf5

Partial preview of the text

Download Router Configuration in Computer Networks: Lab-09 and more Exercises Computer Networks in PDF only on Docsity!

Computer Networks Lab-09 Router Configuration

  • Read this document it provides basic information about the router, it will be helpful in understanding the work that you are going to perform in this lab
  • Copy BOSON Netsim CCNP 7 .rar from \172.30.10.8\learningmaterial\Nauman Shamim\CN2010 , extract the file and install Boson Netsim 6 using netsim6.exe , register the demo version using following steps o Start the simulator o Go to ordering tab on main menu, select repair key option o Select full lisence and copy the key provided under these options o Start the key generator and paste the key there , it will provide you the registration key paste it back to the repair key dialog
  • Start the simulator and go to labnavigator , select sequential labs and perform basic router configuration using simulator
  • After completing the lab, go to the router placed in lab and make physical and hyper terminal connection as mentioned below
  • After setting up the router , perform the same lab on this router and note the differences Making the physical connection The cable and adapters required for this connection are included with the router. Follow these steps to connect the router to a terminal or PC running terminal emulation software:
  • Locate the console port on the back of the router.
  • Connect the console (or rollover) cable to the console port on the router.
  • The console cable will need an RJโ€ 45 to DBโ€ 25 adapter
  • Use the correct adapter to connect the other end of the cable to your terminal or PC. Setting up a HyperTerminal connection file
  • Click the Start button on the Windows Taskbar, and select Programs > Accessories > Communications > HyperTerminal. HyperTerminal launches and displays the Connection Description dialog box.
  • Type in a name and optionally select an Icon to represent your HyperTerminal session. Click OK. The Phone Number window appears.
  • Select " COM1" from the dropโ€down list.Click OK. The COM1 Properties window appears.
  • On the Port Settings tab, enter the following settings: o Speed โ€ 9600 o Data Bits โ€ 8 o Parity โ€ none o Stop bits โ€ 1

o Flow Control โ€ none

  • Click OK to make the connection. The COM1 Properties window disappears. You should now see a blinking cursor in the HyperTerminal terminal window.
  • Saving HyperTerminal Settings for Future Use Router A layer 3 device used to forward and route the data among networks, router can connect network segments that uses different protocols Components of Router ROM ROM is used to store the router's bootstrap startup program, operating system software, and powerโ€on diagnostic tests programs. In order to perform ROM upgrades you remove and replace pluggable chips on the motherboard. Flash Memory Flash memory is erasable, reprogrammable ROM. You can perform Ciscoยฎ IOS software upgrades without having to remove and replace chips. Flash content is retained when you switch off or restart the router. It holds operating system image(s) RAM RAM is used to store operational information such as routing tables, router's running configuration file. RAM also provides caching and packet buffering capabilities. Its contents are lost when you switch off or restart the router. NVRAM NVRAM (nonvolatile RAM), is used to store the router's startup configuration file. It does not lose data when power is switched off. So the contents of the startup configuration file are maintained even when you switch off or restart the router. Network Interfaces The router's network interfaces are located on the motherboard or on separate interface modules. You configure Ethernet or Token Ring interfaces to allow connection to a LAN. Bootstrap โ€“ stored in ROM microcode โ€“ brings router up during initialisation, boots router and loads the IOS. POST โ€“ Power On Self Test โ€ stored in ROM microcode โ€“ checks for basic functionality of router hardware and determines which interfaces are present Miniโ€IOS โ€“ boot loader by Cisco โ€“ small IOS ROM used to load a Cisco IOS into flash memory from a TFTP server; can also do a few other maintenance operations

The file names of images are little complex and are of this type C4500โ€js40โ€ 120 โ€3tโ€mz each of these letters have specific meaning and are table driven, C4500 indicates the hardware platform for which the image is made, js represents feature set, j for enterprise s for plus, (there is a table for these letters), 40 represents encryption bits, 120 โ€3t represent version 12.0(3)t , m represents the image will be loaded from RAM z represents that the file is compressed. IOS Modes IOS modes are based on privilege levels, there are 16 privilege levels from 0 to 15, however only 3 are used by default the rest requires special configuration to be used Privilege Level 1 is the first mode and issuable commands are very few, i.e. help, disable, enable, exit, and logout. Privilege Level 2 is called the user privileged mode or simply user mode it is the mode that is presented to the user after he logs in. The prompt will appear like Router > and user has limited rights, no reโ€ configuration can be performed, some information cannot be viewed using show command here, no debugging can be performed here as well. Privilege Level15 is system privileged mode or privileged mode or enable mode , allows users to access all the command device supports, to enter this mode user has to write enable this mode is reflected as # sign on the prompt Router # , from enable mode user can enter in configuration mode by typing configure command, the prompt changes to Router (config)# , this is also termed as global configuration mode as changes performed here are for the whole device, a separate mode known as interface configuration mode is used to perform configuration of interfaces only, for that in configuration mode the prompt changes to Router (configโ€if)# this mode is also used for configuring various routing protocols and some commands. More about CLI Command Modes The Cisco IOS software provides you with access to several different command modes. Each command mode provides a different group of related commands. The Ciscoยฎ Command Line Interface (CLI) is called EXEC. EXEC has two modes:โ€

  • User mode
  • Privileged mode For security purposes the two EXEC modes serve as two levels of access to Cisco IOS commands. EXEC user commands allow you to
    • connect to remote devices
    • make temporary changes to terminal settings
    • perform basic tests
    • list system information

Privileged Mode If you want to access privileged mode you have to enter a password. The commands available in Privileged mode also include all those available in User mode. You can use Privileged EXEC commands to:โ€

  • set operating parameters
  • perform a detailed examination of the router's status
  • test and debug router operation
  • access global and other included configuration modes Global Configuration Mode From Privileged mode you can enter global configuration mode. This gives you access to configuration commands that affect the system as a whole, and to other configuration modes. You can specify the source of the configuration commands as being from :โ€
  • a terminal
  • memory
  • the network You can access many other specific configuration modes from Global Configuration mode that allow complex configurations to be performed. Setup Mode If the router does not have a configuration file it will automatically enter Setup mode when you switch it on. Setup mode presents you with a prompted dialog, called the system configuration dialog, in which you establish an initial configuration. (For brand new routers or router that is reset) Rom Monitor Mode If the router does not find a valid operating system image, or if you interrupt the boot sequence, the system may enter ROM monitor mode. From ROM monitor mode you can boot the device or perform diagnostic tests. Access modes and respective prompt User mode Router> Privileged Mode Router# Global Configuration Mode Router (Config)# Interface Configuration Mode Router (Configโ€if)# Rom Monitor Mode rommon 1>