71
CONTENTS Lab Session No. Object Page No. 1. Installing network card in Windows environment, and performing following configurations:TCP/IP, IP and default gateway 1 2. Making the following kinds of UTP cables:Straight through and cross 10 3. Practicing some basic commands to interact with the Cisco IOS (Internetwork Operating System) CLI Software 17 4. Copying IOS image and configuration to and from CISCO router. 23 5. Configuring static routes on Cisco routers. 28 6. Configuring RIP(Routing Information Protocol). 31 7. Configuring RIP Version 2 34 8. Configuring OSPF (Open Shortest Path First) Single Area 36 9. Configuring IGRP (Interior Gateway Routing Protocol). 41 10. ConfiguringEIGRP (Enhanced Interior Gateway Routing Protocol) 45 11. Recovering lost router password. 50 12. Studying and configuring Access Lists 54 13. Studyingbasic LAN switch operation. 57 14. Learning Loop Avoidance with Spanning Tree. 60 15. Configuring Virtual LANs 66

CCN_2012

  • Upload
    szaka

  • View
    67

  • Download
    8

Embed Size (px)

Citation preview

Page 1: CCN_2012

CONTENTS

Lab Session No. Object Page No.

1.

Installing network card in Windows environment, and performing following configurations:TCP/IP, IP and default gateway

1

2. Making the following kinds of UTP cables:Straight through and cross

10

3. Practicing some basic commands to interact with the Cisco IOS (Internetwork Operating System) CLI Software

17

4. Copying IOS image and configuration to and from CISCO router.

23

5. Configuring static routes on Cisco routers. 28

6. Configuring RIP(Routing Information Protocol). 31

7. Configuring RIP Version 2 34

8. Configuring OSPF (Open Shortest Path First) Single Area 36

9. Configuring IGRP (Interior Gateway Routing Protocol). 41

10. ConfiguringEIGRP (Enhanced Interior Gateway Routing Protocol)

45

11. Recovering lost router password. 50

12. Studying and configuring Access Lists 54

13. Studyingbasic LAN switch operation. 57

14. Learning Loop Avoidance with Spanning Tree. 60

15. Configuring Virtual LANs 66

Page 2: CCN_2012

Computer Communication Networks Lab Session 1 NED University of Engineering & Technology - Department of Computer & Information Systems Engineering

1

Lab Session 01

OBJECT

Installing network card in Windows environment, and performing following configurations:

TCP/IP IP configuration Default Gateway

EQUIPMENT AND APPARATUS

Network Interface Cards Ethernet hub or switch UTP cables THEORY Networking in Windows NT and later versions allows computers running the Windows operating system to participate in a domain or peer-to-peer network and share resources with other computers, running Windows NT, 9x, 2000, XP or some other operating system.

It also allows you to connect to the Internet using dial-up connection or LAN. Windows network can use a variety of protocols. NetBEUI is a protocol most suitable for smaller networks, as a rule of thumb, not exceeding 10 hosts.

TCP/IP is a protocol suite well suited for larger networks, but it can also be used on smaller networks. It is the protocol that the Internet uses. As you know TCP/IP is a collection of many different protocols, with IP being the protocol that runs on the network layer. Among other things, IP defines addressing requirements for the hosts. An IP (Internet Protocol) address uniquely identifies a node or host connection to an IP network. System administrators or network designers assign IP addresses to nodes. IP addresses are configured by software and are not hardware specific. An IP address is a 32 bit binary number usually represented as four fields each representing 8 bit numbers in the range 0 to 255 (sometimes called octets) separated by decimal points.

For example: 150.215.17.9

It is sometimes useful to view the values in their binary form.

150.215.17.9 10010110.11010111.00010001.00001001

An IP address consists of two parts, one identifying the network and one identifying the node. The class of the address determines which part belongs to the network address which part belongs to the node address.

Page 3: CCN_2012

ter Communversity of Engin

CEDURE

Windows Xstem. the installat

m settings:

working Comd, as shown:

nication Netneering & Tech

XP CD into

tion procedu

Figure 1

mponents d:

Figur

tworks Labhnology - Depa

the CD RO

ure, you wi

1.1:Configur

dialog box

re 1.2:Selecti

b Session 1artment of Com

2

OM and fol

ill be asked

ring Custom

will appear

ing the netwo

mputer & Infor

llow the ste

to configur

Networking

r. Make sur

orking comp

rmation System

eps to insta

re the netwo

g Settings

re that all t

ponents

ms Engineering

all the prod

ork settings.

the compon

g

duct onto

. Choose

nents are

Page 4: CCN_2012

ter Communversity of Engin

dialogue w

ure the IP adas shown:

Fig

nication Netneering & Tech

will appear a

F

ddress, subn

gure 1.4:Spe

tworks Labhnology - Depa

llowing con

Figure 1.3: G

net mask, de

ecifying IP ad

b Session 1artment of Com

3

nfiguration o

General TCP

efault gatew

ddress, subne

mputer & Infor

of TCP/IP p

P/IP propertie

way and DN

et mask and

rmation System

properties.

es

NS server se

default gatew

ms Engineering

ettings for yo

way

g

our

Page 5: CCN_2012

ter Communversity of Engin

OK and selecroup, as sho

e done with

figure TCP/YAST from he root passw

nication Netneering & Tech

ct if you waown:

Figure 1

the TCP/IP

/IP settings the applica

word:

tworks Labhnology - Depa

ant to make

1.5: Specifyi

P configurat

on SUSE 1ations menu

Figure 1.

b Session 1artment of Com

4

the comput

ing path to ne

tions. Wait f

1.4 Linux, yu. Again you

6: Enter root

mputer & Infor

ter a part of

etwork adapt

for the insta

you must firu will be ask

t password

rmation System

f Computer D

ter driver

allation proc

rst logon asked for a pa

ms Engineering

Domain or

cess to com

s administraassword.

g

mplete.

ator.

Page 6: CCN_2012

ter Communversity of Engin

pen YaST C

Network Set

nication Netneering & Tech

Control Cen

Figure 1.7

ttings from

tworks Labhnology - Depa

nter and clic

7: Click netw

the Networ

Figure 1.8

b Session 1artment of Com

5

ck on Netwo

work devices

rk Devices w

: Click netw

mputer & Infor

ork Devices

in YaST con

window:

work settings

rmation System

s:

ntrol center

ms Engineering

g

Page 7: CCN_2012

ter Communversity of Engin

r the networ

xt dialogue w

nication Netneering & Tech

rk configur

Figu

will give yo

Fig

tworks Labhnology - Depa

ations to ini

re 1.9: Initia

ou an overv

gure 1.10: O

b Session 1artment of Com

6

itialize:

alizing netwo

iew of netw

Overview of n

mputer & Infor

ork configura

work setting

network setti

rmation System

ations

s.

ings

ms Engineering

g

Page 8: CCN_2012

ter Communversity of Engin

network carmask of you

F

Hostname/D

nication Netneering & Tech

rd setup andur subnet an

Figure 1.11:

DNS tab to s

tworks Labhnology - Depa

d select ‘stand a hostnam

: Assigning I

set the requi

Figure 1

b Session 1artment of Com

7

atically assime as shown

IP address, su

ired hostnam

.12: Network

mputer & Infor

ign IP addrn and click

ubnet mask a

me, domain

k Settings

rmation System

ress’. Enter Next:

and hostnam

n and DNS s

ms Engineering

the IP add

me

server’s IP a

g

dress, the

address.

Page 9: CCN_2012

ter Communversity of Engin

n the routin

OK. You are

RCISES

the paramete

__________

__________

__________

__________

__________

__________

would youx? __________

__________

__________

nication Netneering & Tech

g tab and sp

Fig

now done w

ers that mus

__________

__________

__________

__________

__________

__________

u find out th

__________

__________

__________

tworks Labhnology - Depa

pecify the d

ure 1.13: Sp

with TCP/IP

st be config

__________

__________

__________

__________

__________

__________

he IP addres

_________

_________

_________

b Session 1artment of Com

8

default gatew

pecifying the

P configura

gured when

__________

__________

__________

__________

__________

__________

ss of a mach

__________

__________

__________

mputer & Infor

way for you

e default gate

ations on SU

configuring

__________

__________

__________

__________

__________

__________

hine from c

__________

__________

__________

rmation System

ur network a

eway

USE Linux.

g TCP/IP on

__________

__________

__________

__________

__________

__________

command lin

__________

__________

__________

ms Engineering

as shown:

n a host.

__________

__________

__________

__________

__________

__________

ne in Wind

__________

__________

__________

g

_______

_______

_______

_______

_______

_______

dows and

_______

_______

_______

Page 10: CCN_2012

Computer Communication Networks Lab Session 1 NED University of Engineering & Technology - Department of Computer & Information Systems Engineering

9

________________________________________________________________________

________________________________________________________________________

________________________________________________________________________

________________________________________________________________________

________________________________________________________________________

3. Using the same command as in exercise 2, give a detailed view of network settings. Also give commands to release and renew the leases if the IP address is obtained from a DHCP server. _________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

Page 11: CCN_2012

ComputNED Univ

OBJE

THEO

a wall jathe ratiois that tnot a rea Most ofcore cabalso quiyou hav CAT 5 pair is caround may habackgrobackgro

Figure 2UTP cab

ter Communversity of Engin

CT

ORY

o S

ack to a PConale for usthe constantal concern i

f the wiringble is quite ite acceptabve a noteboo

cable has focolor codeda second w

ave white ound color found and an

2.1: ble

nication Netneering & Tech

Mak

There are them andinstallatioouter insumost of thcable (a pby local oif it runs tto circuladoubt, usenot requir CAT 5 capulling tha cable rereel-in-boperson woto pull it.

f the reel al

tandard wirC and for paing it t flexing ofin the avera

g we do simsuitable for

ble for use aok computer

our twisted d with one

wire with a stripe in sfollowed by

n orange stri

tworks hnology – Depa

Lab

king the fol

1. Stra2. Cro

several clad state that ons. Likewiulation of CAhe wiring w

plenum is usor national cthrough sus

ate air or ace plenum. Cring plenum

able is avaie wire withel stand, pu

ox, we used ould hold thYou will pr

lone.

re patch cabatch panels.

f patch cablage small ne

mply connectr this purposas patch cabr you are co

pairs of wirwire havin

white backgsome cabley the color ipe.

artment of Com

10

b Sessio

llowing kind

aight througoss cable

assificationswe’ll use se, there aAT 5 cablewe do. Yoused to districodes to usespended ceict as an airCMR cable

m cable.

lable in reehout putting ulling wire i

to put a reehe broom haroduce a tan

bles are ofteThey are m

les may weetwork.

ts computerse and for mbles. You monstantly mo

re for a totang solid colground and

es. Cable cof the strip

mputer & Infor

on 02

ds of UTP c

gh cable

s of twistedCategory 5re several . We’ll use

u should alsibute air in e the more eilings, ductsr passage f is generall

el-in-box patwists in it

is a two-perel of wire oandle and thngled mess,

en specified more flexibl

ar-out solid

rs directly tmany home might considoving aroun

al of eight inlor (blue, o

d a stripe ofcolors are pe; e.g; whi

rmation System

cables:

d pair cable.5 (or CAT fire code cCMR cable

so be awara building)expensive ps, or other afrom one roly acceptab

ackaging. T. Without thrson job. Beon a broom he other wou, if your pu

for cable sele than solid

d core cable

to other comand small b

der a strandnd.

ndividually orange, greef the same ccommonly ite-orange i

Lab Sms Engineering

. Let’s skip 5) cable fo

classificatioe, or “riser

re of CMP ) you may bplenum-jackareas, if theoom to anole for all ap

This is very his kind of pefore the advhandle to puld pull broll the wire o

egments rund core wire.

e and break

mputers or hbusiness neted wire pat

insulated wen, or browcolor. The

described s a wire wi

Session 2

right over for all new ons for the cable,” foror plenum

be required keted cable ey are used other. If in pplications

handy for package or vent of the

pull it. One oom handle off the end

nning form . However,

k it. This is

hubs. Solid twork. It is tch cable if

wires. Each wn) twisted

solid color using the

ith a white

Page 12: CCN_2012

ComputNED Univ

Connec

approprboth kin Networ 1. Mod You wisimilar years foworks julot of bsecurelyand indi 2. Uni It makefor anyo 3. Diag It is easto cut thends dustripperto carefuthe diag UTP ba The 10transmistransmitand a linits trans

Figure 2Connecto

ter Communversity of Engin

ctors

riate for the nds of wire.

rk cabling t

dular Plug

ill need a mto the ones

or all kindsust fine for bells and y crimp RJ-ividual wire

iversal UTP

es a much none who wi

gonal Cutt

sier to use dhe cable offuring assem

r, you can sfully slice thgs to cut it o

asics

0BASE-T ssion line its data signne receiver

smitter and r

2.2: RJ-45 or

nication Netneering & Tech

The straarticle wplugs arexcept thplug andwiring. designedspecifica

wire you a

tools

Crimp Too

modular crs which havs of telephEthernet cawhistles, ju45 connectoes, and poss

P Stripping

neater cut. Itll make a lo

ers

diagonal cuf at the reel mbly. Alsotrip the cab

he outer jackoff around th

and 100Bis a pair of nals. A bala

is at the otreceiver fol

tworks hnology – Depa

aight througwhich are tre similar tohey have eid they are a(RJ stands

d for both sally for oneare going to

ol

imp tool. Tve been useone cable wables. You dust a tool ors. Some csibly strippi

g Tool (Ecli

t is highly rot of cables.

utters (“diagand to fine-

o, if you ble by usingket longitudhe circumfe

ASE-TX Ef twisted wianced line dther end. A llows:

artment of Com

11

gh and croterminated o those youight as oppoabout twice

for “Regissolid core we kind of wuse. We no

This is veryed for manywork and idon’t need which wil

crimpers havng the outer

ipse)

recommend.

gs” or “dike-tune the cadon’t have

g a small kndinally and erence.

Ethernet cires. One pdriver or tra(much) sim

mputer & Infor

oss-over patwith CAT

u’ll see on osed to fouras big. Mak

stered Jackwire and strwire or theormally use

y y it a ll ve cutters wr jacket.

ding

es”) able e a nife use

onsist of air receives

ansmitter is mplified sch

Figure

Figure

Figure

rmation System

tch cables 5 RJ-45 m

the end of r or six contke sure they”). Also, th

randed wiree other. Bee plugs desig

which can be

two transms data signaat one endematic for o

2.5 Diagon

2.3:Modular

Figure 2.

2.5: Diagon

Lab Sms Engineering

are discussmodular pluyour teleph

tacts on the y are rated here are RJ

e. Others aree sure you gned to acc

e used to cu

mission linals and the

d of one of one of these

al Cutters

r plug crimp

.4: Eclipse

nal cutters

Session 2

sed in this ugs. RJ-45 hone cable end of the for CAT 5 J-45 plugs e designed buy plugs

commodate

ut the cable

nes. Each other pair

these lines e lines and

tool

Page 13: CCN_2012

ComputNED Univ

Pulses miles/sebetweenconsidebetweendown th The mafields gelectric bury the The twiof balanpulses rreceiverproduceAlso, thother wa tendenpairs of The secability tthe douproduceat the re Straigh Again, tin diagrbackgro

ter Communversity of Engin

of energy econd). Then the wires red as residn the wireshe wires.

ain concern generated ex

motors, flue Ethernet p

isted-pair Etnced transmrelative to gr detects thes pulses ofhe magneticire. At a verncy to canc

f wires and t

cond and thto overhear uble helix ces symmetrieceiver, is z

ht through a

the wire wirams foundound color i

nication Netneering & Tech

travel dowe principal cand the curding in the . In other w

are the tranxternally byuorescent lipulses, the c

thernet empmitters and ground: a n

he total difff the same pc field surrory short distcel the effethe rest of th

he primary conversatioconfiguratioical (dentinero. In actu

and cross o

th colored bd elsewhere.

s always sp

Figur

tworks hnology – Depa

wn the trancomponentsrrent flowin

magnetic words, an e

nsient magny the other ights, telephconveyor of

ploys two preceivers.

negative pulference betwpolarity on bounding onetance from ct of each he world.

means of rons on otheron produceal) noise sig

uality it is m

over cable

background. For examp

pecified first

e 2.6: Schem

artment of Com

12

nsmission ls of these p

ng near the sfield whichelectromagn

netic fields transmissio

hone and ef the informa

rincipal meA signal plse on one ween these both lines, e wire fromthe two wirother out. T

reducing cror lines on yod by twistignals in eac

much reduced

ds may haveple, the gret.

matic diagram

mputer & Infor

ine at abopulses of ensurface of t

h surroundsnetic wave

which surroon lines in lectric linesation being

eans for compulse actual

line and a two pules.

it is essentim a signal pu

res the magnThis reduce

oss-talk (thour phone) ing the wirch wire. Ided.

e white stripeen wire ma

m of transmis

rmation System

ut the speenergy are ththe wires.Th the wires which is g

ound the wthe cable, os, lightningsent down

mbating noisly consists positive pu. Since a pially canceleulse is a minetic fields es the line’s

e term crosbetween thres togetheeally, their d

pes and mayay be label

ssion line

Lab Sms Engineering

ed of lighthe potential his energy cand the ele

guided by, a

wires and theother netwo

g, which mathe line.

se. The firstof two sim

ulse on the pulse of noied out at thrror of the are opposits impact on

ss-talk camehe pairs in ther. This condifference a

y be denoteled Green-W

Session 2

t (186,000 difference

can also be ectric field and travels

e magnetic ork cables, ay literally

t is the use multaneous other. The ise usually

he receiver. one on the

te and have n the other

e from the he cable, is nfiguration as detected

ed that way White. The

Page 14: CCN_2012

ComputNED Univ

A Straig EIA/TI

It makefor a stcable wother stend is wa 568Awiring network PROC

To Mak 1. Pull

betwthe l

2. Strip

placcabl

ter Communversity of Engin

ght-through

IA 568A an

es no functiotraight-throu

with either standard. It which. Desp

A patch caband 568B

k. The electr

CEDURE

ke Cable

l the cable ween a PC alength of a

p one end oce the cablele with the

Fi

F

nication Netneering & Tech

h cable has i

nd 568B sta

onal differeugh cable. standard as makes no f

pite what yole will wor

patch cabrons couldn

off the reeland a hub ofootball fiel

of the cable in the grooright side o

igure 2.7: St

Figure 2.8: C

tworks hnology – Depa

identical end

andards

ence which Your can long as thefunctional d

ou may haverk in a netwble will wn’t care less

l to the desor between tld) for 100B

with the strove on the bof the stripp

traight throu

Cable conne

artment of Com

13

ds, whereas

standard yostart a cros

e other end difference we read elsewwork with

work in a .

sired lengthtwo PC’s c

BASE-TX a

ripper or a kblade (left)

per. This wi

ugh and cross

ector standard

mputer & Infor

s a Crossove

ou use ssover is the which where,

568B 568A

h and cut thannot excee

and 300 Met

knife and diside of the

ill strip abou

sover cable w

d ordering

Figure 2

rmation System

er cable has

he total lened 100 Metters for 100

iags. If you stripper an

ut ½” of th

wire scheme

2.9: EIA/TIA

Lab Sms Engineering

s different en

ngth of wireters (328 fee0BASE-T.

are using thnd align the e jacket off

A 568A and 5

Session 2

nds.

e segments et or about

he stripper, end of the

f the cable.

568B

Page 15: CCN_2012

ComputNED Univ

Turnwireneat

3. Insp

adjuvary

4. Spre 5. Untw

betwanotIt is½” crosplugthe w

6. Holdwireplugwill fromevensee

ALL AB 7. Hold

pushwire

(Criamoclincand

ter Communversity of Engin

n the strippes. If you atly trim arou

pect the wirust the bladey.

ead and arra

wist the paiween your tther. very imporlong. If it

sstalk. If it g is crimpedwires.

d the RJ-45e firmly intg!Looking t have a wh

m left to righnly at the frit in the dia

BOUT CR

d the wire nh it into thee in place an

imp it once)ounts to, a ches it. Theinto the con

nication Netneering & Tech

per about 1 are using knund the circ

res for nickse with the s

ange the pai

irs and arranthumb and

rtant that this longer this less than

d on. Flatten

5 plug with to the plugthrough thehite backgroht. The furtront of the p

agram-right

RIMPING

near the RJ-e left side ond squeeze

). The crimpcleverly dee other seatsnductors of

tworks hnology – Depa

¼ turn andnife and diacumference

s. Cut off thscrew at the

irs roughly

nge the wirforefinger.

he unstrippehan ½” it w

n ½” it will n again. The

the clip fac. Now, insp

e bottom of ound. The wthest right wplug. The jaon the line.

-45 plug witof the front the crimper

per pushes tesigned plass the “pins”

f their respec

Figur

artment of Com

14

d pull. If yoags, carefullof the cable

he end and e front strip

in the order

res in the orTrim the e

ed (untwistewill be out-not be pro

ere should b

cing down opect before

f the plug, twires shouldwire is browacket shoul

th the clip dof the Crim

r handles qu

two plungerstic plug/we”, each withctive wires.

re 2.11:Crim

mputer & Infor

ou turn it mly slit the ce with diags

start over ipper. Cable

r of the desi

rder of the dends of the

ed) end be s-of-spec an

operly clinchbe little or n

or away froe crimping the wire on d alternativ

wn. The wireld end just a

down and fimper (it wiluite firmly. T

rs down on edge onto th two teeth

mping

rmation System

more, you wable for abs to remove

if you see adiameters a

ired cable en

desired cablwires so th

slightly lessnd susceptibhed when R

no space bet

om you. Pusand wastinthe far-left

ve light andes should alabout where

irmly ll only go iThis is wha

the RJ-45 pthe cable jaat its end, t

Pr

Lab Sms Engineering

will probablout an inchthe jacket.

any. You mand jacket t

nd.

le end. Flatthey are even

s than ble to RJ-45 tween

sh the ng the ft side d dark ll end e you

in one way)at will happe

plug. One foacket and vthrough the

Figurreparing the

Session 2

ly nick the h or so and

may have to thicknesses

ten the end n with one

). Hold the en:

orces, what very firmly e insulation

re 2.10: RJ-45 Conneector

Page 16: CCN_2012

ComputNED Univ

8. Testcabladvainstausedchanand

9. Prep 10. If bo

facinare iit is

PREC 1. Try 2. If yo

is okcabl

3. Kee

elecmacwas

4. Avo 5. Don

at m EXER 1. Give

diam____

____

____

____

2. Why____

____

ter Communversity of Engin

t the crimp,le with his antage of twallation andd for small nge its chargive it a fai

pare the oth

oth ends of ng away. Loidentical, ita crossover

CAUTION

to avoid ru

ou bundle akay to snugles.

ep cables awctric heaterchines, miching machin

oid stretchin

n not use a smost hardwa

RCISES

e the reasometer of the__________

__________

__________

__________

y is it not ad__________

__________

nication Netneering & Tech

, if done pror her bare

wisted-pair d the modulEthernet. Bracteristics. irly firm tug

her end of th

the cable aook throught is a straighr cable.

NS

nning cable

a group of cg them toge

way from ds, loud sp

crowave ovnes, and sho

ng UTP cabl

stapler to seare stores.

on why it i cable. __________

__________

__________

__________

dvisable to r__________

__________

tworks hnology – Depa

roperly an ae hands. Ancables overar RJ-45 pl

But, don’t puLook at th

g to make su

he cable so i

are within reh the bottomht-through c

es parallel to

ables togethether firmly

devices whipeakers, privens, telephop equipme

les (the forc

ecure UTP c

is not advi

_________

_________

_________

_________

run UTP ca_________

_________

artment of Com

15

average persnd that quiter the older tug is the mull that hard

he side of thure it is crim

it has the de

each, hold thm of the plucable. If the

o power cab

her with caby; but don’t

ich can intrinters, TV hones, fansent.

ce should no

cables. Use

sable to be

__________

__________

__________

__________

able outside __________

__________

mputer & Infor

son will noe simply, bethin wire, co

main reason cd on the pluhe plug andmped well.

esired end a

hem next tougs. If the pley are wired

bles.

ble ties (zipt tighten the

roduce noissets, fluo

s, elevator

ot exceed 24

telephone w

end UTP c

__________

__________

__________

__________

of a buildin__________

__________

rmation System

ot be able toesides loweoaxial cablecoaxial cabug. It couldd see if it lo

and crimp.

o each otherlugs are wird correctly a

ties), do noem so much

se into themorescent lig

motors, el

4 LBS).

wire hanger

cables more

__________

__________

__________

__________

ng? __________

__________

Lab Sms Engineering

o pull the per cost, is thes. In fact, tle is no lon

d stretch theooks like th

r and with Rred correctlyand they are

ot over-clinh that you d

m. Here’s aght, copierslectric oven

rs, which ar

e than four

__________

__________

__________

__________

__________

__________

Session 2

lug off the he primary the ease of

nger widely e cable and he diagram

RJ-45 clips y, and they e different,

ch them. Itdeform the

a short list: s, welding ns, dryers,

e available

times the

_________

_________

_________

_________

_________

_________

Page 17: CCN_2012

ComputNED Univ

____

____

3. Defi____

____

____

____

____

____

ter Communversity of Engin

__________

__________

fine the reco__________

__________

__________

__________

__________

__________

nication Netneering & Tech

__________

__________

ommended m__________

__________

__________

__________

__________

__________

tworks hnology – Depa

_________

_________

maximum c_________

_________

_________

_________

_________

_________

artment of Com

16

__________

__________

cable length__________

__________

__________

__________

__________

__________

mputer & Infor

__________

__________

h for UTP an__________

__________

__________

__________

__________

__________

rmation System

__________

__________

nd cite a rea__________

__________

__________

__________

__________

__________

Lab Sms Engineering

__________

__________

ason for it. __________

__________

__________

__________

__________

__________

Session 2

_________

_________

_________

_________

_________

_________

_________

_________

Page 18: CCN_2012

ComputNEDUniv

OBJE

Practi

THEO Welcomother eqlabs, we The

to ta The

Each

connpre-

To cconswith

Cisco rotypicallyFrom usaccess tlet us ke

ter Communversity of Engin

CT

icing some b

ORY

me to “handquipment the need to un

lab has onealk to the ro

routers are

h rack has tnectors. Et-connected t

connect thesole port onh one of its

outers suppoy be in the user mode thto all the dateep it simpl

nication Netneering & Tech

basic comm

s on routinghat you will nderstand th

e rack, whicouters.

labeled alp

two patch pathernet portto the serial

e PC to a spn the patch pends connec

ort differentuser mode.

he next step tabases maile for now.

User mode

tworkshnology – Depa

Lab

mands to intSystem

g”. The goabe using thr

he basic set-

ch is connec

phanumerica

anels. One ots are pre-cl patch pane

pecific routepanel in the cted throug

t modes of o User modeis Privilege

intained by

artment of Com

17

b Sessio

teract with m) CLI Sof

l of this labroughout th

-up of the la

cted to a PC

ally (Examp

of them hasonnected to

el. The port

er, connect rack. You wh small dev

operation. e gives a useed Mode. Inthe router.

Privileged m

mputer & Inform

n 03

the Cisco Iftware

is to introdhe semester.ab.

C. You wil

ple R1, R2,

s RJ-45 conno the RJ-45ts are labele

the PC’s cowill find the

vices to a se

When you aer access to

n the privilegCisco route

mode

mation Systems

IOS (Intern

duce you to . In order to

l be using t

etc).

nectors and5 patch paneed on their l

onsole cablee console carial port on

access a rouo simple shoged mode aers use man

Config

Lab Sessios Engineering

etwork Ope

Cisco routeo do well in

he PC as a

d the other hel. Serial peft.

e to the appable as a UTthe PC.

uter, it will ow commanda user can hany other mod

guration mod

on 3

erating

ers and n the

terminal

has serial ports are

propriate TP cable

ds. ave full des, but

de

Page 19: CCN_2012

ComputNEDUniv

PROC It is tim 1. Con 2. Pres 3. You 4. Typ First ty

Tpp

5. The TF

6. Youtype

7. We

wan

TTT

8. One

““““““““

9. Now

ter Communversity of Engin

CEDURE

me to have fu

nnect the PC

ss “enter”

u are now in

pe “?”. Que

ype “help”Try typing tp? pi?

IOS will co

Type sh<TFinish the c(show?)

u don’t havee enough of

have been ont to go into

Type “enaThe promptType “?” to

e of the mos

“show co“show ve“show st“show ru“show fl“show pr“show in“show in

w let’s move

nication Netneering & Tech

un:

C to R1.

” a few time

n the “user m

estion mark

” these comm

omplete com

TAB> command w

e to type a cf a command

operating inthe Privileg

ble” or “et should endo see all the

st useful com

onfiguratersion” - startup-counning colash ” – givrotocols”nterface”nterface

e to configu

tworkshnology – Depa

es and you s

mode”.

lists comm

mands:

mmands for

with a “?” to

complete cod to differen

n User Modged Mode:

en” d with a # (Re commands

mmands in

tion” – shshows IOS onfiguraonfiguraves details o” – shows p” – gives des0” - Try

uration mod

artment of Com

18

should get a

mands that ca

r you with th

o see what c

mmand for ntiate it from

de (identified

Router#)s possible fr

the Cisco I

hows saved statistics ation” – shation” – shof flash mem

protocol andetailed statisthis comma

de. Type the

mputer & Inform

a prompt tha

an be used i

he help of t

commands y

the IOS to m all other c

d by the pro

rom this mo

OS is “sho

router confi

hows the cohows the dymory where

d interface sstics on eachand with som

e following

mation Systems

at looks like

in a certain

the TAB key

you can use

execute it. Ycommands.

ompt ending

ode

ow.” Try th

figuration

onfigurationynamic confe IOS is stortatistics h interfaceme other in

commands:

Lab Sessios Engineering

e: router>

context.

y.

with show.

You only n

g in >), now

hese variatio

n during starfiguration red

nterfaces as

:

on 3

>

.

need to

w we

ons:

rtup

well.

Page 20: CCN_2012

ComputNEDUniv

cThis

r

10. Nex

Go i

conf

hcw

11. No

T

c

A i

T

iTnBcTs ONAsAN

ter Communversity of Engin

configurs will take yrouterco

xt we will ch

into configu

fig mode) a

hostnamectrl+Z wr m

ow we wan

Type these

config t

After this y

interfac

This puts yo

ip addreThis gives tno shutdBy default actrl+Z This is to cosh inter

Observe andNow conneAgain type sh interAgain obserNote: Cisco

nication Netneering & Tech

re terminyou to confionfig)#?

hange the na

uration mod

and type the

e R1

t to set up a

commands:

t

ou will be i

ce Ethern

ou in interfa

ess 130.1the interfacedown all interface

ome out of prface e0

d record carct a cable frthis commarface e0 rve and reco

o commands

tworkshnology – Depa

nal iguration mo

ame of rout

de (if you ha

following c

;thi;thi;wri

an interface

:

n config mo

net 0

ace mode. N

10.20.5 e an IP addr

e are admini

privilege m

refully wharom router Rand:

ord carefulls are not cas

artment of Com

19

ode. The pr; to see

ter to R1

ave followe

commands:

is commandis is to comite to the me

for a TCP/I

ode same as

Now you ca

255.255.ress and sub

istratively d

mode. Now ty

at you see. R1`s Ethern

ly what youse-sensitive

mputer & Inform

rompt endswthe availab

ed the step 6

d will change out of privemory.

IP network.

s you did in

an configure

.255.0bnet mask.

down. This c

ype the foll

net ‘e0’ inte

u see. e.

mation Systems

with le command

6 then you a

ge name. vilegemode

n step ‘6’.

e interface E

command w

lowing com

erface to a h

Lab Sessios Engineering

ds

are already i

e

Ethernet0.

will bring th

mmand:

hub or switc

on 3

in the

hem up.

h.

Page 21: CCN_2012

ComputNEDUniv

EXER

1. D

_ 2. L

a

3. A 4. 5. R 6. T

c_

7. T

8. H

9. Yb

10. L

n

_

_

_

_

_

_

11. E

_

_

ter Communversity of Engin

RCISES

Determine w

__________

Local acceasynchrono

An Etherne

Start-up conRunning-co

The commaconfiguratio__________

The version

Hubs are us

You have tbelow), sho

1

List the intnumber.

__________

__________

__________

__________

__________

__________

Elaborate o__________

__________

nication Netneering & Tech

which mode

__________

ess to the ous)

et cable has

nfiguration onfiguration

and used toon is: __________

n of the Cisc

sed in _____

to connect ow the neces

Hub1

terfaces on

__________

__________

__________

__________

__________

__________

on the inform__________

__________

tworkshnology – Depa

e you opera

_________

router is

_________

is stored inn is stored in

o save chan

_________

co IOS used

_______ an

14 machinessary conne

8

three route

_________

_________

_________

_________

_________

_________

mation prese_________

_________

artment of Com

20

ate in when

__________

done via

___ pins.

RAM(true n ________

nges made

__________

d on R1 is _

nd MAUs ar

es on sameections.

1

ers of your

__________

__________

__________

__________

__________

__________

ented by the__________

__________

mputer & Inform

you first ac

__________

________

or false). _______.

in the run

__________

__________

re used in __

e LAN. Us

Hub

r choice. B

__________

__________

__________

__________

__________

__________

e command__________

__________

mation Systems

ccess the rou

__________

____ ports.

nning config

__________

____.

_________

sing two 8-

b2

8

Be sure to

__________

__________

__________

__________

__________

__________

d “show ve__________

__________

Lab Sessios Engineering

uter.

__________

. (serial, E

guration to

__________

__ networks

-ports hubs

indicate th

__________

__________

__________

__________

__________

__________

ersion.” __________

__________

on 3

_______

Ethernet,

start-up

_______

.

s (shown

he router

_______

_______

_______

_______

_______

______

_______

_______

Page 22: CCN_2012

ComputNEDUniv

_

_

_

_

12. Etf

13. E_

_

_

_

_

14. a_

_

_

_

_

15. W

16. C

i_

_

_

_

_

17. E

i

ter Communversity of Engin

__________

__________

__________

__________

Ethernet is to _______from the fol

Elaborate o__________

__________

__________

__________

__________

Specify theand after co__________

__________

__________

__________

__________

Which of th

a. admb. admc. admd. adm

Can you coit work? __________

__________

__________

__________

__________

Explain the

interface.

nication Netneering & Tech

__________

__________

__________

__________

used to con________ anllowing: ISD

on the cascad__________

__________

__________

__________

__________

e differenceonnecting th__________

__________

__________

__________

__________

he condition

ministrativelyministrativelyministrativelyministratively

nnect a DT

__________

__________

__________

__________

__________

e possibility

tworkshnology – Depa

_________

_________

_________

_________

nnect to___nd Token riDN, WAN,

ding of two_________

_________

_________

_________

_________

e in output he cable in s_________

_________

_________

_________

_________

n(s) are poss

y down, liny down, liny up, line py up, line p

E of a seria

_________

_________

_________

_________

_________

y and effect

artment of Com

21

__________

__________

__________

__________

__________ng is used t, LAN, FDD

o or more hu__________

__________

__________

__________

__________

when you gstep 11.

__________

__________

__________

__________

__________

sible for an

ne protocol dne protocol urotocol uprotocol dow

al interface t

__________

__________

__________

__________

__________

t of giving

mputer & Inform

__________

__________

__________

__________

___ whereasto connect tDI)

ubs. __________

__________

__________

__________

__________

gave the co

__________

__________

__________

__________

__________

interface:

down up

wn

to a DTE of

__________

__________

__________

__________

__________

the clock r

mation Systems

__________

__________

__________

__________

s serial portto ________

__________

__________

__________

__________

__________

ommand “s

__________

__________

__________

__________

__________

f another ser

__________

__________

__________

__________

__________

ate comman

Lab Sessios Engineering

__________

__________

__________

__________

t is used to ______.

__________

__________

__________

__________

__________

shint e0

__________

__________

__________

__________

__________

rial interfac

__________

__________

__________

__________

__________

nd on a DT

on 3

_______

_______

_______

_______

connect (Choose

_______

_______

_______

_______

_______

” before

_______

_______

_______

_______

_______

ce? Will

_______

_______

_______

_______

_______

TE serial

Page 23: CCN_2012

ComputNEDUniv

_

_

_

_

_

ter Communversity of Engin

__________

__________

__________

__________

__________

nication Netneering & Tech

__________

__________

__________

__________

__________

tworkshnology – Depa

_________

_________

_________

_________

_________

artment of Com

22

__________

__________

__________

__________

__________

mputer & Inform

__________

__________

__________

__________

__________

mation Systems

__________

__________

__________

__________

__________

Lab Sessios Engineering

__________

__________

__________

__________

__________

on 3

_______

_______

_______

_______

_______

Page 24: CCN_2012

ComputNEDUniv

OBJE

THEO The IOSand supthroughdominanserver, ilater use In additor restoimage oIn our la PROC The goarouters. thrive i. 1. Con

130Foll

Step 1: This canconsole lost dur Step 2: Configusubnet monto the Step 3: The PC

to start

ter Communversity of Engin

CT

Copyi

ORY

S image of pport as welh TFTP filent means oit can also be, in case so

tion to the Iored from a or running cab, we have

CEDURE

al of this l In this lab

e. ping.

nnect to ro.10.10.1. low the follo

Establish a

n either be d connectioning the rebo

Configure

ure the Ethemask (255.2e same hub.

Verify that

is configur

the TFTP

nication Netneering & Tech

ing IOS ima

f a Cisco roll as bug fixe transfer. f IOS upgrbe backup u

omething go

OS image, TFTP serv

configuratioe setup a TF

lab is to trab you will

outer R1 an

owing steps

a console se

done with an is preferreoot phase of

the Router

ernet interfa255.255.0).

t the TFTP s

red as the T

server. Th

tworkshnology – Depa

Lab

age and con

outer can bexes. The IOS

Not all rorade. Not onup to a TFToes wrong.

the runningver. You caon data file iFTP server o

ain you to be introduc

nd copy th

s:

ssion with t

a direct consed over a tef the softwa

ace of the roConnect th

server has I

TFTP server

he Ethernet

artment of Com

23

b Sessio

nfiguration

e upgraded S image canuters have nly can an TP server. T

g configuratan setup a Tin memory,on the PC th

copy the Iced to the u

he IOS im

the router

sole connecelnet conneare installati

outer with the Ethernet

P connectiv

r. Double cl

card on th

mputer & Inform

n 04

n to and from

or replacedn be upgrad

slots for fIOS image

The utility w

tion of the rTFTP serve, or on a PChat acts as a

IOS image utility on w

mage from

ction or virtuection becauion.

the IP addrinterface o

vity to the ro

lick the TFT

he PC is co

mation Systems

m CISCO r

d for additioded by meanflash cards be downlowould be to

router can aer on a CiscC with a TFa console fo

and configwhich all ne

the TFTP

ual telnet couse a telnet

ess 130.10.f the router

outer

TP server i

onfigured w

Lab Sessios Engineering

router.

onal compans of a flash. So, TFTP

oaded from o save an im

also be backco router, wTP server sr the router

guration onetworking e

server at

onnection. connection

10.34 with r and that o

con on the

with the IP

on 4

atibilities h card or P is the a TFTP

mage for

ked up to with IOS software.

rack.

CISCO ngineers

address

A direct n will be

a 24-bit f the PC

Desktop

address

Page 25: CCN_2012

ComputNEDUniv

130.10.

successf

Router Type eSendinsecond!!!!! Succes1/2/4

Step 4:router RouterRouterRouter

Step 5:S

When p

Addres

Step 6:S

The IOSunder thdifferen When pfollowin

Source

Step 7:

This is t

Destin

Step 8:

When pmemory

Erase

ter Communversity of Engin

10.1/24. P

ful.

r#ping 1

escape sng 5, 1ds:

ss rate ms

Begin the

r> enablr# r# copy

Specify the

prompted, en

ss or na

Specify the

S images arhis directorynt.

prompted, enng example

e file n

Specify the

the name th

nation f

Clear flash

prompted, eny before cop

flash d

nication Netneering & Tech

Ping the PC

130.10.10

sequence 00-byte

is 100

e process of

le

tftp fla

IP address

nter the IP a

ame of re

filename o

re stored iny for this la

nter the file:

name? ios

e destination

he new softw

file name

h for new im

nter "yes" tpying the ne

device be

tworkshnology – Depa

C from the

0.1

to aborICMP Ec

0 percen

f copying th

ash

of the TFTP

address of th

emote ho

f the new C

n the directoab. All the

ename of th

s_image1

n image file

ware image

e [80180

mage

o erase the ew one:

efore wr

artment of Com

24

e router co

rt. choes to

nt (5/5)

he new soft

P server.  

he TFTP se

ost [255

Cisco IOS so

ory c:\temp\images are

he Cisco IO

1.bin

ename

will have o

0812.bin

existing sof

riting?

mputer & Inform

nsole and

o 130.10

), round

tware image

erver as in th

.255.255

oftware ima

\ios_imagese the same e

S software

once it is loa

]? ios_i

ftware imag

[confirm

mation Systems

make sure

0.10.1,

d-trip m

e from the

he following

5.255]?

age

s. You can except that

image to b

aded onto th

image1.b

ge resident i

m]y

Lab Sessios Engineering

the ping i

timeout

min/avg/

TFTP serve

g example:

130.10.1

use any of their filena

e installed a

he router.

bin

in the route

on 4

is 100%

is 2

max =

er to the

10.1

the files ames are

as in the

er's Flash

Page 26: CCN_2012

ComputNEDUniv

Flash [confi The rou

going to

Copy Flash The rouflash filflash. TDuring exclama(!) indicthe imagthe new Step 9:V

After re"show Followi Router Type eSendinsecond!!!!! Succes1/2/4 Router Flash This pthe ccopy. RoutinIf yterminUsers operat Procee

ter Communversity of Engin

contaiirm]y

uter asks you

o do.

'ios_imWITH er

uter reloads le system a

The entire cothe transfer

ation point cates that tege occurs a

w image onc

Verify new

eload is comversion

ing is the sc

r#ping 1

escape sng 5, 1ds:

ss rate ms

r#copytf load he

process current

ng functou are nate. with c

tion.

ed? [con

nication Netneering & Tech

ins fil

u to confirm

mage1.binrase? [ye

after this pand then conopying procr process, m(!) indicateen packets hfter the imae the softwa

software im

mplete, the rn" comman

creen shot du

130.10.10

sequence 00-byte

is 100

ftp flash

elper v1.will accsystem

tionalitylogged

console

nfirm]y

tworkshnology – Depa

les. Are

m the copy p

n' fromes/no]y

point using ntinues loadcess takes smessages ines that the chave been t

age is writteare upgrade

mage has be

router shoud to verify.

uring the co

0.1

to aborICMP Ec

0 percen

h ***

.0 cept theimage to

y will nd in v

access

---

artment of Com

25

e you

process agai

m server

the emergeding the IOeveral minundicate if thcopy procestransferred

en to Flash me has been c

een loaded

uld be runnin

opy process

rt. choes to

nt (5/5)

** NOTI

e copy oo use t

not be avia teln

can se

-- *****

mputer & Inform

sure y

in, this time

r as 'i

ncy IOS stoOS image frutes and difhe specifiedss is taking

successfullmemory. Th

completed.

ng the desir

.

o 130.10

), round

CE ****

ptions athe ROM

vailablenet, th

e the r

*** ----

mation Systems

you want

e specifying

ios_imag

ored in the rom the TFffers from nd file has bplace. Each

ly. A checkhe router wi

red Cisco IO

0.10.1,

d-trip m

*

and thenbased i

e duringhis conn

results

-

Lab Sessios Engineering

t to e

g what exact

ge1.bin'

ROM. It erTP Server

network to nbeen accesseh exclamatiksum verificill reload its

OS image.

timeout

min/avg/

n terminaimage fo

g that tinection

of the

on 4

erase?

tly it is

into

rases the onto the network. ed. The on point cation of self with

Use the

is 2

max =

ate or the

ime. will

copy

Page 27: CCN_2012

ComputNEDUniv

SystemFile 1 [54355AddresSourceDestinAccessLoadin[OK] Erase Flash [confi Copy ' as ' %SYS-5%FLH: SystemFile 1 [54355AccessLoadin[OK] ErasinLoadin!!!!!!!!!!!!!!!!!! [OK - VerifyFlash %FLH: 2. Nowconfigu The con Begin thconfigur

ter Communversity of Engin

m flash Length 5435532

596 bytess or nae file nnation fsing filng ios_

flash dcontai

irm]y

'ios_ima'ios_ima

5-RELOADios_ima

m flash Length 5435532

596 bytesing filng ios_

ng devicng ios_!!!!!!!!!!!!!!!!!!!!!!!!- 543553

ying checopy toRe-boot

w copy the curation is mu

nfiguration f

he process of ration.

nication Netneering & Tech

director Name/s

2 igs-ines used, ame of rename? iosfile namele 'ios_i_image1.b

device beins fil

age1.bin'age1.bin'

D: Reloadage1.bin director Name/s

2 igs-ines used, le 'ios_i_image1.b

ce......e_image1.!!!!!!!!!!!!!!!!!!!!!!!! 32/838860

ecksum...ook 0:03:ting syst

configuratiouch easier th

for R1 is sto

f copying the

tworkshnology – Depa

ry: status nr-l.1112953012

emote hos_image1e [ios_iimage1.bbin fro

efore wrles. Are

' from s' into F

d requesfrom 13

ry: status nr-l.1112953012

image1.bbin .fro

erased .bin fr!!! !!!!!!!!

08 bytes

. OK (0:05 [hh:tem afte

on from thehan copying

ored in the f

e configuratio

artment of Com

26

1-15.bin2 availaost [1301.bin image1.bbin' on om 130.1

riting? e you

server Flash WI

sted 30.10.10

1-15.bin2 availabin' on om 130.

rom 130

!!!!!!!!

s]

0x9E40):mm:ss]er downl

same TFTg the IOS im

file R1conf

on from the T

mputer & Inform

ble, 838.10.10.1

in]? 130.10.110.10.1

[confirmsure y

TH erase

.1 to fl

ble, 838130.10.110.10.1

0.10.10.1

!!!!!!!!

oad

P server at mage.

fig.

TFTP server

mation Systems

88608 to1]?

10.1...(via E

m]y you want

e? [yes/

lash ...

88608 to10.1...(via E

1 (via

!!!!!!!!

address 13

to the router

Lab Sessios Engineering

tal]

Ethernet0

t to e

no]y

tal]

Ethernet0

Ethern

!!!!!!!!

30.10.10.1. C

r’s running-

on 4

0): !

erase?

0): !

net0):

!!!!!

Copying

Page 28: CCN_2012

ComputNEDUniv

Router

Specify

Addres

Enter th

When p

Source

3. Loo EXER 1. Dete

from____

____

____

____

____

____

____

____

2. Bac____

____

____

____

____

ter Communversity of Engin

r# copy

the configu

ss of re

he address a

prompted, en

e file n

ok at the con

RCISES

ermine the m the TFTP __________

__________

__________

__________

__________

__________

__________

__________

kup the run__________

__________

__________

__________

__________

nication Netneering & Tech

tftp run

uration filen

emote hos

as 130.10.10

nter the con

name? R1c

nfiguration o

interface stserver. Rea

__________

__________

__________

__________

__________

__________

__________

__________

nning config__________

__________

__________

__________

__________

tworkshnology – Depa

nning-co

name

st[255.2

0.1

nfiguration f

config.t

of router R1

tates after tason why th_________

_________

_________

_________

_________

_________

_________

_________

guration of t_________

_________

_________

_________

_________

artment of Com

27

onfig

255.255.

filename loa

txt

1.

the configuhe states are__________

__________

__________

__________

__________

__________

__________

__________

the router to__________

__________

__________

__________

__________

mputer & Inform

255]?

aded as in th

uration file e that way. __________

__________

__________

__________

__________

__________

__________

__________

o the TFTP __________

__________

__________

__________

__________

mation Systems

he followin

has been lo

__________

__________

__________

__________

__________

__________

__________

__________

server. __________

__________

__________

__________

__________

Lab Sessios Engineering

ng example:

oaded to th

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

on 4

he router

_______

_______

_______

_______

_______

_______

_______

_______

_______

_______

_______

_______

_______

Page 29: CCN_2012

ComputNEDUniv

OBJE

THEO The simprotocowhich c Static rconfiguIOS com ip rointerf where:

dl

sda

iai

Aoiigrta

ter Communversity of Engin

CT

ORY

mplest methols are flexib

competes fo

routes specured on any mmand used

outedestface} [d

destination-like the rousubnet-masdestination address andip-address a destinatioin this commAlternativelout of. Addip routeinserted intgenerally rerouter consithrough thaaddresses th

nication Netneering & Tech

Conf

od to route ble and adjr network b

cify a fixedrouter that nd to configu

tination-distance]

-address is uter to reach

k is the suaddresses.

d subnet-maspecifies wh

on address tmand. ly outgoing

ding a statice 0.0.0.o the routinecommendeiders each oat interfacehat route thr

tworkshnology – Depa

Lab

figuring sta

Figure 5.1:

packets on ust to netw

bandwidth w

d route forneeds to rea

ure static rou

-address] [tagta

the destinah ubnet maskMultiple ne

ask combinahat ip addrethat matche

g-interfacec route to an.0 0.0.0ng table onled. When thof the hosts e, and thererough the st

artment of Com

28

b Sessio

atic routes o

Scenario for

a network iwork changewith the user

r a certain ach a netwoutes is ip

ssubnet-mag] [per

ation addre

k to be usetworks maation matchess to forwaes the destin

specifies wn Ethernet o0.0 Ethely when thehe next hop

within the refore it wiltatic route.

mputer & Inform

n 05

on Cisco rou

r static routes

is static roues, they do hr data traffi

destinationork that it isroute. Th

mask{ip-rmanent]

ss prefix fo

sed on the ay be combes all hosts ard a packetnation-addre

which interfor other broernet 1/e interface iof a static rrange of thell send AR

mation Systems

uters.

s

utes. Althouhave associac.

n network.s not directlyhe syntax is

-address

or the netw

address prined such ton those ne

t to if an IP ess subnet-m

face the pacoadcast inte2) will cau

is up. This croute pointse route to be

RP requests

Lab Sessios Engineering

gh dynamicated networ

They neey connected:

| outg

work that w

refix to mthat the desetworks. packet arri

mask pair s

cket shoulderface (for euse the rouconfiguratios to an intere directly co

to any des

on 5

c routing rk traffic

ed to be d to. The

going-

we would

match for tination-

ves with specified

d be sent example, ute to be on is not face, the onnected stination

Page 30: CCN_2012

ComputNEDUniv

dd

t p

d

DTE/DDCE annull seriDCE is The serunit/dat PROC

1. C 2. C

a 3. F

4. O

ip rouip 5. O

6. A

m

EXER 1. Run t

ter Communversity of Engin

distance is default valutag value capermanent down.

DCE nd DTE are ial cable DClocated at t

rvices that ta service un

CEDURE

Connect the

Configure aas specified

For R1, entip roip rou

On R2 enteute 172.route 17

On R3 enteip roip rou

After that vmode:

rou

RCISES

the comman

nication Netneering & Tech

the optionaue is 1. an be used aspecifies th

the interfacCE(data comthe service p

are given tnit(CSU/DS

e network a

appropriate d in the netw

er the followoute 172.ute 192.

r: .16.10.0 72.16.20

r: oute 172.ute 192.

verify the st

uter# shi

nd show IP

tworkshnology – Depa

al administr

as a "matchhat the rou

ces.The DCEmmunicatioprovider end

to the DTESU). DCE p

as shown in

ip addressework diagram

wing static .16.20.0.168.20.

255.2550.0 255.

.16.10.0.168.10.

tatic routes

ip route

route and w

artment of Com

29

rative distan

" value for ute will not

E-DTE conon equipmend while the

E is often arovides cloc

the network

es and clockm.

routes 0 255.250 255.25

5.255.0 255.255.

0 255.250 255.25

by entering

e

write its outp

mputer & Inform

nce value fo

controlling t be remove

nnection betnt) and DTEDTE is atta

accessed vicking and D

k diagram.

k rates(if ne

5.255.0 55.255.0

192.168..0 192.1

5.255.0 55.255.0

g the follow

put.

mation Systems

or the route

redistributied even if

tween routerE (Data termached devic

a modems DTE receive

eeded) on t

192.168 192.168

.10.1 68.20.2

192.168 192.168

wing comma

Lab Sessios Engineering

e. If unspec

ion via routethe interfa

rs is referreminal equipme.

or channeles the clock

the router in

.10.2 8.10.2

.20.1 8.20.1

ands in the p

on 5

ified the

e maps. ce shuts

ed to as a ment).

l service k

nterfaces

privilege

Page 31: CCN_2012

ComputNEDUniv

2. What

modi

3.Create

stati

ping

____

____

____

____

____

____

____

ter Communversity of Engin

t is the defa

ify the same

e a loop ba

ic routes to

ging the new

__________

__________

__________

__________

__________

__________

__________

nication Netneering & Tech

ault adminis

e.

ack interfac

o each of th

wly created

__________

__________

__________

__________

__________

__________

__________

tworkshnology – Depa

strative dist

e on R3 an

he other ro

interface fr

__________

__________

__________

__________

__________

__________

__________

artment of Com

30

tance of sta

nd assign an

outers to re

rom routers

__________

__________

__________

__________

__________

__________

__________

mputer & Inform

atic route? W

n IP addres

each this in

R1 and R2

__________

__________

__________

__________

__________

__________

__________

mation Systems

Write the IP

ss 10.1.0.1

nterface. Ve

respectivel

__________

__________

__________

__________

__________

__________

__________

Lab Sessios Engineering

P route com

/16 to it. N

erify your w

y.

__________

__________

__________

__________

__________

__________

__________

on 5

mmand to

Now add

work by

_______

_______

_______

_______

_______

_______

_______

Page 32: CCN_2012

ComputNEDUniv

OBJE

THEO

Routingan autoadminisdesigne

The oridistriburouting 2453, adof RIP allow su12.0(1)T

Some aoverheaeasy to the wor

RIP usethat usesecondsrandomThe Cisseconds

If a neigunavailaneighbo

ter Communversity of Engin

CT

ORY

g Informationomous sy

stration, shad to work w

iginal versiuted with th

protocol bedded some are discuss

upport for dT and will n

advantages ad, in termsimplementld.

es timers boe RIP sends; this proce

mized by up sco implems.

ghbor has nable or theor has not re

nication Netneering & Tech

Configu

on Protocol ystem. An aaring a com

with small to

ion of RIPhe 4.3 Berkefore it wasadditional

sed in this demand circnot be discu

of using Rs of bandwi, compared

th to regulad an updateess is termeto +/– five

mentation se

not responde network esponded fo

tworkshnology – Depa

Lab

uring RIP(R

Figure 6

is an Interioautonomousmmon routo medium-s

P is based keley Softws formally dfeatures andmodule. RFcuits (Trigg

ussed here.

RIP, especiidth used anto newer I

ate its perfore message

ed advertisinseconds in

ends update

ded in 180 sconnecting or 180 secon

artment of Com

31

b Sessio

Routing Inf

6.1: Scenario

or Gateways system is ting strategsized netwo

on the proware Distribdefined in Rd functionaFC 2091 spgered RIP).

ally in smnd configurIGPs, and h

rmance andto all of

ng. The RForder to pr

es every 30

seconds, it it to the

nds, the rou

mputer & Inform

n 06

formation P

o for RIP

y Protocol (Ia collectio

gy. A distanrks.

ogram routebution. RIP

RFC 1058. Rality to the opecified addSupport fo

all networkration and m

has been imp

d to help pretheir neighC specifies

revent synch seconds m

is assumedrouter has

ute is marke

mation Systems

Protocol).

IGP), meanion of netwonce-vector

ed (pronouP was in wRIP Versionoriginal verditional ext

or Triggered

ks, is that managemen

mplemented

event routinhbors appro that adverthronization

minus up to

d that the nebecome un

ed invalid;

Lab Sessios Engineering

ing it is useorks under protocol, R

unced "routwidespread un 2, definedrsion. Both tensions ford RIP was a

there is vent time. RIPin networks

ng loops. Aloximately etisements shof routing 15 percent

eighboring rnusable. W180 second

on 6

ed within a single

RIP was

te dee"), use as a d in RFC versions r RIP to added in

ery little P is also s around

ll routers every 30 hould be updates. t, or 4.5

router is When the

s is long

Page 33: CCN_2012

ComputNEDUniv

enough shown tthe casemetric o16, andacceptedroute wwill be alternate The actinvalid is generrouting time muconsidenotifiedWhen tinitial vand 240with the To adjuare comholddowhorizon interfacrouting of infininvalid accepted Triggeretriggereinformaminimu PROC

1. C

2. A

3. I

ter Communversity of Engin

that a routeto be unreae of RIP, thof infinity,

d kept in thd while the

when the holadvertised e paths are

tual timers timer, a rourally set totable to all

ust expire wred invalid

d of this facthe route flvalues for th0 seconds foe timers ba

ust for rapidmmon to manwn mechanin prevents in

e that the rloops. Poisity back to (expired). Ad while the

ed updatesed wheneveation regardum delay of

CEDURE

Cable up th

Assign the serial links,

Issue RIP ro

nication Netneering & Tech

e won't be ichable by shis number then the rou

he routing taroute is in hlddown timwith an inffound.

used to accute-holddow 30 secondneighbors e

without a ro. When a ro

ct. This notilush-timer ehese timers aor the route-asic router

d network-tony routing pisms to prevncorrect merouter is uson reverse othe origina

As discussedroute is in h

s are also r a metric ding routesfive second

he network a

IP address , has been u

outing comm

tworkshnology – Depa

invalidated sending a no

is 16. If anute is placeable. No upholddown s

mer expires, finity metric

complish thwn timer, ands, ensuringevery 30 seouter havinoute is marification muexpires, theare 180 seco-flush timerr configurat

opology chaprotocols. Rvent incorre

essages froming to reachoperates by

al source of d above, noholddown s

an includefor a route

s that haveds between t

as shown in

as shown iused to indic

mands on a

artment of Com

32

by a singleormal updan advertise

ed into holdpdates fromstate. If othe

then their c for a peri

he above tand a route-fg that each conds. The

ng heard aborked invalidust occur pre route is ronds for ther. The valuetion comma

anges, RIP RIP implemect routing

m being proh the route

y advertisingf the route. Ho updates frostate.

ed convergee changes. Te changed, triggered up

n the diagram

in the diagrcate a DCE

all the router

mputer & Inform

e missed upate messagement is rec

ddown statem other neiger neighborsupdates wi

iod of time

asks are a rflush timer. router willroute-invalout a particd or put in rior to expirremoved froe route-invaes for each ond.

specifies nments split ho

informationopagated by . Implemen

g routes thatHolddown om other ne

ence and sTriggered u

unlike scpdates to pr

m.

ram to the aport.

rs starting fr

mation Systems

date messa with a met

ceived frome, advertisedghbors for s are still adll then be aafter the ho

routing-updThe RIP ro

l send a colid timer detcular route holddown sration of thom the roualid and rouof these tim

numerous storizon withn from beinnot adverti

nting split ht are unreacis a methodeighbors for

stability feupdates maycheduled uprevent updat

appropriate

from the glo

Lab Sessios Engineering

ge. The neitric of "infi

m a neighbod with a disthe same r

dvertising thaccepted. Tolddown sta

date timer, outing-updaomplete coptermines hobefore that state, neigh

he route-flusuting table. ute-holddowmers can be

tability featuh poison-revng propagatising routeshorizon helpchable with d of markinr the same r

ature. Updy also contpdates. Thete storms.

interfaces.

obal config m

on 6

ighbor is inity;" in or with a stance of route are he same

The route ate if no

a route-ate timer py of its ow much

route is hbors are sh timer.

Typical wn timers

adjusted

ures that verse and ed. Split

s over an ps avoid a metric

ng routes route are

dates are ain only ere is a

For the

mode.

Page 34: CCN_2012

ComputNEDUniv

4. O

O

Or

These tw

5. Type eSendinsecond!!!!! Succes1/2/4 EXER

1. Conf

upda

____

____

____

____

____

2. Write

____

____

____

____

____

ter Communversity of Engin

On R1: rounetnet

On R2 rounetnet

On R 3 router r

netnet

wo comman

Ping the ho

escape sng 5, 10ds:

ss rate ms

RCISES

figure RIP v

ates are sent

__________

__________

__________

__________

__________

e commands

__________

__________

__________

__________

__________

nication Netneering & Tech

uter rip twork 172twork 192

uter rip twork 192twork 192

rip twork 10.twork 192

nds enable t

ost from R1

sequence 00-byte I

is 100 p

version 1 on

.

__________

__________

__________

__________

__________

s to modify

__________

__________

__________

__________

__________

tworkshnology – Depa

2.16.10.2.168.10

2.168.102.168.20

.0.0.0 2.168.20

the routing p

.

to aborICMP Ech

percent

n two route

__________

__________

__________

__________

__________

y the default

__________

__________

__________

__________

__________

artment of Com

33

.0 0.0

0.0 0.0

0.0

protocol RI

rt. hos to 1

(5/5),

ers. Run De

__________

__________

__________

__________

__________

t update and

__________

__________

__________

__________

__________

mputer & Inform

IP.

0.0.0.1,

round-tr

ebug ip rip a

__________

__________

__________

__________

__________

d hold-down

__________

__________

__________

__________

__________

mation Systems

, timeou

rip min/

and note th

__________

__________

__________

__________

__________

n timers for

__________

__________

__________

__________

__________

Lab Sessios Engineering

ut is 2

avg/max

he address o

__________

__________

__________

__________

__________

RIP v1.

__________

__________

__________

__________

__________

on 6

=

on which

_______

_______

_______

_______

_______

_______

_______

_______

_______

_______

Page 35: CCN_2012

ComputNEDUniv

OBJE

THEO RIPv2 iits actiadminisrouting authentiConfiguthe (co

EXER 1. Note

____

____

____

____

____

____

____

ter Communversity of Engin

CT

ORY

is almost theve interfac

strative distprotocol b

ication usinuring routeronfig-rou

rouvernetnet

RCISES

down the ro

__________

__________

__________

__________

__________

__________

__________

nication Netneering & Tech

e same as thces at peritance are thecause it a

ng MD5 encr with RIP vuter) #

uter rip rsion 2 twork 172twork 192

outing table

__________

__________

__________

__________

__________

__________

__________

tworks hnology – Depa

Lab

Configu

Figure 7.

he RIP versiodictime ihe same as

also sends scryption schversion 2 isprompt a

2.16.10.2.168.10

e for Router

__________

__________

__________

__________

__________

__________

__________

artment of Com

34

b Sessio

uring RIP V

.1: Scenario

sion 1. RipVintervals.Ths Rip versisubnet inforheme. And is very simpand the route

.0 0.0

r R1.

__________

__________

__________

__________

__________

__________

__________

mputer & Inform

n 07

Version 2

for RIPv2

V2 also sendhe timers,loion 1.But Rrmation’s wt also suppo

ple. Just adder is runnin

__________

__________

__________

__________

__________

__________

__________

mation Systems

ds its compoop avoidaRIPv2 is cwith each roorts discontid the commg RIPv2.

__________

__________

__________

__________

__________

__________

__________

Lab Ses Engineering

lete routingance schemconsidered couter.It alsoiguous netw

mand version

__________

__________

__________

__________

__________

__________

__________

ession7

g table to mes and classless o allows

works. n 2under

_______

_______

_______

_______

_______

_______

_______

Page 36: CCN_2012

ComputNEDUniv

2. Run t

the u

____

____

____

____

____

3. Write

____

____

____

____

____

4. Whil

other

____

____

____

____

____

ter Communversity of Engin

the comman

updates.

__________

__________

__________

__________

__________

e down the s

__________

__________

__________

__________

__________

le working

r words, how

__________

__________

__________

__________

__________

nication Netneering & Tech

nd debug rip

__________

__________

__________

__________

__________

source IP ad

__________

__________

__________

__________

__________

on R1, how

w can you v

__________

__________

__________

__________

__________

tworks hnology – Depa

p and note d

__________

__________

__________

__________

__________

ddress for th

__________

__________

__________

__________

__________

w could you

verify if a pi

__________

__________

__________

__________

__________

artment of Com

35

down the m

__________

__________

__________

__________

__________

he ping pac

__________

__________

__________

__________

__________

u check if H

ing from H

__________

__________

__________

__________

__________

mputer & Inform

multicast add

__________

__________

__________

__________

__________

ckets when y

__________

__________

__________

__________

__________

H1 can reac

1 to loopbac

__________

__________

__________

__________

__________

mation Systems

dress on wh

__________

__________

__________

__________

__________

you ping H1

__________

__________

__________

__________

__________

ch the loop

ck of R1 is

__________

__________

__________

__________

__________

Lab Ses Engineering

hich RIPv2 f

__________

__________

__________

__________

__________

1 from R1.

__________

__________

__________

__________

__________

pback interf

successful?

__________

__________

__________

__________

__________

ession7

forwards

_______

_______

_______

_______

_______

_______

_______

_______

_______

_______

face? In

?

_______

_______

_______

_______

_______

Page 37: CCN_2012

ComputNEDUniv

OBJE

THEO

Open S(IETF) GatewaDijkstrapropriet

Like allreconveinforma

The flowinter

Full Sup

man A di Equ The

devi Sup The

Table 8

C

VLSM

Manual

Type of

Classles

ter Communversity of Engin

CT

Co

ORY

Shortest Patas a replace

ay Protocol a's Shortest tary to any v

l link state pergence, supation. Other

use of areaw of routinrnetwork toly classless port of cla

nagement imensionles

ual-cost load use of resices port of auth use of rout

.1 Characte

haracterist

support

summariza

f protocol

ss support

nication Netneering & Tech

onfiguring

th First (Oement for th

(IGP). OSPath First (vendor or o

protocols, Opport for mfeatures of

as, which reng protocol opologies behavior, essless route

ss, arbitraryd balancing served mul

hentication fte tagging fo

eristics of O

tic

ation

tworks hnology – Depa

Lab

OSPF (Op

SPF) was he problemSPF is a li(SPF) algorirganization

OSPF's majmuch larger f OSPF are:

educes the ptraffic, an

liminatingse table look

y metric for more ef

lticast addre

for more seor the tracki

SPF

OSP

Yes

Yes

Link st

Yes

artment of Com

36

b Sessio

en Shortest

developed matic RIP an

ink state pithm. It is a

n

or advantaginternetwor

protocol's imnd makes p

uch classfukups, VLSM

fficient use esses to re

cure routinging of exter

PF

s

s

tate

s

mputer & Inform

n 08

t Path First

by the Intend is now throtocol tha

an open stan

ges over disrks, and les

mpact on Cpossible the

l problems M, and sup

of multiple duce the im

g rnal routes

mation Systems

t) Single Ar

ernet Enginhe IETF-recat, as the nndards proto

stance vectoss susceptib

CPU and mee construct

as discontigpernetting fo

paths. mpact on n

Lab Ses Engineering

rea

neering Tascommendedname impliocol—that i

or protocolsbility to bad

emory, contion of hier

guous subneor efficient

non-OSPF-s

ession8

sk Force d Interior ies, uses s, it isn't

s are fast d routing

tains the rarchical

ets address

speaking

Page 38: CCN_2012

ComputNEDUniv

Auto-su

Discont

Route p

Hop cou

Converg

Peer aut

Hierarchnetworkcomputa

DR an

DR (De

The DR

To inter

To m

The convirtual rthe pseu

Note: rthe DR of a rou

BDR(B

A BackTheBDRupdates

ter Communversity of Engin

ummarizatio

tiguous supp

propagation

unt limit

gence

thentication

hical kUpdates/ Ration

nd BDR

esignated Ro

R has the fol

represent trnetwork manage the

ncept behinrouter. Eachudonode. On

router mighon another

uter's interfa

ackup Desi

kup DesignR receives .

nication Netneering & Tech

on N

port Y

M

N

F

n Y

Route ED

outers):

llowing duti

the multi-a

flooding pr

nd the DR h routeron nly the DR

t be a DR oof its attac

ace, not the

ignated Rou

nated Routeall routing

tworks hnology – Depa

No

Yes

Multicast on

None

Fast

Yes

Event triggeDijkstra

ies:

access netw

rocess on th

is that the the networkwill send L

on one of itshed multi-aentire route

uter):

er (BDR) ig updates fr

artment of Com

37

n change

ered/

work and i

he multi-acc

network itk forms an

LSAs to the

s attached maccess netwoer.

s a hot starom OSPF

mputer & Inform

its attached

cess network

tself is conadjacency rest of the i

multi-accessorks. In oth

andby for tadjacent ro

mation Systems

d routers t

k

nsidered a "with the D

internetwork

s networks, er words, th

the DR onouters but

Lab Ses Engineering

to the rest

"pseudonodR which rek.

and it mighhe DR is a p

nmulti-accesdoesn’t flo

ession8

t of the

de," or a epresents

ht not be property

ss links. ood LSA

Page 39: CCN_2012

ComputNEDUniv

Note: ifthe DR

Configu Firs Ente

mas In th

ExitaddrNoteexpl

Quit Now Configu Ente

mas Quit

conf Now

IP a Quit

rout Simulta Ente

confsync

router Ente

ter Communversity of Engin

f the router or BDR ele

172.16.68.1/Fa0/0

P=2

urations fo

t form the per interface sk he interface

t from fa0/ress and sube: As the glicit assignmt the interfa

w start confi

urations fo

er the interfsk t from int

figuration mw as you havaddress and t from interters simultan

aneous con

er the follofigured by chronizationrospf 1

er each of n

nication Netneering & Tech

interface pections on th

Cisco 280

/21

r cisco 280

physical topconfigurati

configurati

/0 and entebnet mask. Agiven prioriment ace configurfiguring the

r R1

face configu

terface con

mode ve entered isubnet masrface configneously

figurations

owing comthe studentn of each co

network com

tworks hnology – Depa

priority valuhat interface

1

Fa0/110.1.1.1/24

P=1

1

pology as abion mode f

ion mode gi

er interface Assign prioity value is

ration modeinterfaces o

uration mod

nfiguration

interface cosk guration mo

s on both ro

mmands ont and the otommand

mmands on b

artment of Com

38

ue is set to ze.

bove for fa0/0 an

ive the com

configuratiority is in thes 1, which

e of R1

de of R1 fo

of e0 and

onfiguration

ode and inv

outers

n both routther one by

both routers

mputer & Inform

zero then th

E10.1.1

nd assign th

mmand iposion mode oe previous sis default,

or e0 and en

d type int

n of loop bac

voke router

ters simultay the demo

s simultaneo

mation Systems

hat router w

01.2/24

P=1

he given ip

spf prioof fa0/1. Astep. therefore t

nter the IP

terface

ck 0 interfa

r configurat

aneously ( onstrator) an

ously

Lab Ses Engineering

won’t partic

R1

Lo 11.1.1

address and

ority 2

Assign the g

there is no

address and

lo 0 in

ace, assign th

tion mode

one routend press en

ession8

cipate in

0.1/24

d subnet

given IP

need of

d subnet

n global

he given

on both

er to be nter after

Page 40: CCN_2012

ComputNEDUniv

networswi

Checkin Firs

mod Now

fromdesi

Issu Now

note EXER 1. Cha

R1‘

belo

____

____

____

____

____

____

____

____

2. Condowgive____

____

____

____

____

ter Communversity of Engin

rk<netwoitch><wil

ng the outc

t check thede or ping frw to check m priviledgeignated routue show ipw type ipoe their respe

RCISES

ange the rou

s e0 interfac

ow._______

__________

__________

__________

__________

__________

__________

__________

__

ntinuing exewn the routeen below. A__________

__________

__________

__________

__________

nication Netneering & Tech

ork addldcard m

come of the

e routing tarom cisco28the state o

ed mode anter pospf neospf datective seque

uter priority

ce to the pr

__________

__________

__________

__________

__________

__________

__________

__________

ercise 1, reser ID’s of th

Also note do__________

__________

__________

__________

__________

tworks hnology – Depa

dress omask> ar

e election

able by issu801 to the loof your routnd note dow

eighborsabase to

ence numbe

y for Cisco

resent year.

__________

_________

_________

_________

_________

_________

_________

_________

start the oshe designatwn the defa_________

_________

_________

_________

_________

artment of Com

39

of intea 0

uing showoopback intter, issue swn 1) your

command tfind out whrs

2801’s fa0

Write the c

__________

__________

__________

__________

__________

__________

__________

__________

pf process ted router aault value of__________

__________

__________

__________

__________

mputer & Inform

erfaces

w ip routerface of Rshow ipo

router ID,

to further cohich LSA’s

0/1 interfac

configuratio

__________

__________

__________

__________

__________

__________

__________

__________

and reconfand backup f Hello time

__________

__________

__________

__________

__________

mation Systems

attach

ute commR1 spf inte2) your sta

onfirm the ss have been

e to your r

on command

__________

__________

__________

__________

__________

__________

__________

__________

figure the ndesignated

er __________

__________

__________

__________

__________

Lab Ses Engineering

hed to

mand on pr

erface coate 3) Rout

status of adjn exchanged

roll number

d in the spa

__________

__________

__________

__________

__________

__________

__________

__________

networks. Nrouter in th

__________

__________

__________

__________

__________

ession8

the

rivileged

ommand er ID of

jacency d and to

r and for

ace given

_______

_______

_______

_______

_______

_______

_______

_______

Now note he space

_______

_______

_______

_______

_______

Page 41: CCN_2012

ComputNEDUniv

____

____

3. Givedead____

____

____

____

____

____

____

____

ter Communversity of Engin

__________

__________

e commandd interval = __________

__________

__________

__________

__________

__________

__________

__________

nication Netneering & Tech

__________

__________

ds to change5 times the

__________

__________

__________

__________

__________

__________

__________

__________

tworks hnology – Depa

_________

_________

e the defaule Hello inter_________

_________

_________

_________

_________

_________

_________

_________

artment of Com

40

__________

__________

t value of Hrval.

__________

__________

__________

__________

__________

__________

__________

__________

mputer & Inform

__________

__________

Hello timer

__________

__________

__________

__________

__________

__________

__________

__________

mation Systems

__________

__________

to your roll

__________

__________

__________

__________

__________

__________

__________

__________

Lab Ses Engineering

__________

__________

l number an

__________

__________

__________

__________

__________

__________

__________

__________

ession8

_______

_______

nd router

_______

_______

_______

_______

_______

_______

_______

_______

Page 42: CCN_2012

ComputeNED Unive

OBJEC

THEOR

In this laProtocol the mid-1robust prtopologywas deve(RIP). Thmetric (h

To provimay run second lipaths areis three tthat are w

IGRP is aall or a pneighboricalculate

IGRP useThe distaof the rouroutes ha

r Communicrsity of Enginee

CT

C

RY

ab, we will (IGRP). Int

1980s by Cisrotocol for r, and consist

eloped, the mhe small hop

hop count) di

de additionaa single st

ine if one lin different. F

times lower, within a certa

a distance-vportion of itsing routers.distances to

es a combinaance value isute. In IGRPave an equal

cation Netwoering & Technol

Configuring

Fig 9.

introduce yterior Gatewsco Systemsrouting withting of medi

most popularp-count limiid not allow

al flexibilitytream of trane goes dow

For example,the better p

ain range of

ector protocs routing tab As routin

o all nodes w

ation of adms the relativeP, distance aldistance.

orks logy – Departme

Lab S

IGRP (Inte

.1: Scenario

you to your way Routing

, Inc. In creahin an autonia with diverr intra-AS roit (16) of RIfor much ro

y, IGRP peraffic in rounwn. Also, mu, if one pathpath will be the best rout

ol. Distanceble in a routig informati

within the int

ministrative d believabilitlways takes

A

ent of Computer

41

Session

erior Gatewa

for IGRP im

second rouProtocol (IG

ating IGRP, nomous systrse bandwid

outing protocIP restricted uting flexibi

mits multipand-robin fasultiple paths

h is three timused three tte are used a

e-vector routing update mion proliferaernetwork.

distance and y of a route,precedence

r & Information

09

ay Routing P

mplementatio

uting protocoGRP) is a roCisco had th

tem (AS) hadth and delaycol was the R

the size of ility in comp

ath routing. shion, with s can be usedmes better tha

times as oftas multiple p

ting protocolmessage at reates through

route metric, and the meover the me

4

Labn Systems Engin

Protocol).

on

ol Interior Gouting protohe principal aving an arby characterisRouting Infointernetwor

plex environ

Dual equalautomatic sd, even if than another bten. Only roupaths.

ls call for eaegular intervh the netw

cs to aid in rtric is the re

etric. The me

1

b Session 9 neering

Gateway Roocol develop

goal to provbitrarily comstics. When Iormation Prorks, and its snments.

l-bandwidth switchover the metrics fobecause its mutes with m

ach router tovals to each

work, routers

routing deciselative desiraetric is used

outing ped in vide a mplex IGRP otocol single

lines to the or the metric

metrics

o send of its

s can

sions. ability when

Page 43: CCN_2012

ComputeNED Unive

Adminis

Every rouThis valuentries inlowest dithe shorteRIP has a

Distance same netwbe the onrunning bwhereas ttable of tha part in protocols

Metrics

IGRP usebe factore

Internsize fdelayall theof mi

Sloweby a nseen commtens o

Bandinterfbandwbandwdividesecon

Ciscohas aband

r Communicrsity of Enginee

trative Dist

uting protocue is used ton its routing istance valueest distance an administr

is a factor wwork from bne whose enboth RIP andthe distancehe router. Berouting dec

s.

es a combined into the ro

network delafor a packet ty is the speede delays fromcroseconds)

er links havenetwork admwith the s

mand, whichof microseco

dwidth—Banface. Bandwwidth is thewidth in a pe 10,000,00

nd.)

o uses a factoa bandwidthdwidth 64

cation Netwoering & Technol

tance

ol supportedo determinetable to the

e over routevalue. Connative distanc

when a routeboth protocontry is installd IGRP. Fro of RIP is 1ecause runnicisions. Dist

ation of metouting decis

ay—Delay mthat an interd of the medm the outgoi.

e higher delaministrator, ohow inte

h allows us toonds.

ndwidth is thwidth is usue inverse ofpath, find th0 by that nu

or of 1000 wh of 64,0004 command

orks logy – Departme

d by Cisco rothe relative

e same destis with highe

nected and stce of 120 wh

er is runningols. The protled in the ro

om the above20. In this cing more thatance is loca

trics. Interneion:

measures therface can accdia in units oing interface

ays, and fastor you can uerface coo change the

he measure oually expressf the media he smallest oumber. (The

when using t bits per seon a serial in

ent of Computer

42

outers has a e believabiliination netwer distance vtatic routes ahereas IGRP

g two differetocol that haouting table e table, you case, the IGRan one protoal to the rou

etwork delay

e time it takecept onto theof 10 microses and divide

ter links havuse the Ciscommand is e default del

of the speed sed in unitsbandwidth

of all the bae bandwidth

the bandwiecond. Withnterface, the

r & Information

default-distaity of a rout

work, it will values. It wialso have dis

P has an adm

ent routing pas a lower diof the routecan see thatRP routes wcol is commuter. It is no

y, bandwidth

es an interfae physical mseconds. To e this numbe

ve lower delao default. Win units of lay for an int

of the physs of kilobitsscaled by a

andwidths fh is scaled b

idth commah a Cisco re result is a 6

Labn Systems Engin

ance value ate. If the ro"believe" th

ill then choostances asso

ministrative d

protocols andistance assocer. For examt the distance

will be installmon, distance

ot advertised

h, reliability

ace to serialimedia. The IG

find the deler by 10. (Th

ays. Delay cWith a Cisco

microseconterface, spec

sical networks per secona factor of from outgoinby 10,000,00

and. A 64K router, if yo64K bandwid

b Session 9 neering

associated wuter has muhe route witose the routeciated with t

distance of 10

d learns abouciated with i

mple, a netwoe of IGRP isled in the roe will alwaysd by any ro

, and load c

ize the maxiGRP internetlay in a pathhe delay is in

can be config router, the

nds. The decifies the del

k connected nd (Kbps). I107. To finng interface00 in kilobit

serial conneou configurdth.

with it. ultiple th the e with them. 00.

ut the it will ork is s 100, outing s play outing

an all

imum twork h, add n tens

gured delay elay lay in

to an IGRP

nd the s and ts per

ection re the

Page 44: CCN_2012

ComputeNED Unive

Reliavalueinformup sta

Load—255 itraffic

These methe compcomposit

To calcucharacterdivided bformula f

Metric =

The defaumetric va

Metric =

Additiona

Metric =

Rememb

PROCE 1. Use a 2. Use th 3. Use a Scenario 1. Assum

asked

r Communicrsity of Enginee

bility—IGRe of 255 indimation for thate to a down

—IGRP loaindicates thac on the link

etric componposite metrite metric.

ulate the coristics of thby load, andfollows:

K1 * Bandw

ult constant alue can be s

Bandwidth +

ally, K4 and

Metric * [K

er, the path w

EDURE

a /16 mask o

he address r

a bandwidth

o 1

me that the d not to hav

cation Netwoering & Technol

RP reliabilityicates a 100-he link. Reln state, as w

ad reflects that the link isk. Load reflec

nents are coic. By defau

omposite me link to thd delay) are

width + (K2

values are Ksimplified to

+ Delay

d K5 default

K5/(Reliabilit

with the sma

n all the inte

ange 130.10

of 64000 bp

ethernet line any broad

orks logy – Departme

y reflects the-percent stabiability alsoell as the err

he saturations 100-percencts the utiliz

ombined in ault, IGRP u

metric, IGRPhe network e weighted

* Bandwidth

K1 = K3 = 1:

to 0. If K5 d

ty + K4)]

allest metric

erfaces.

0.0.0-130.13.

ps for serial l

nk between Rdcast traffic

ent of Computer

43

e stability ofble link. Thi incorporateror rate of fr

n of the linknt saturated.zation of a lin

a user-definauses only b

P adds togein questionwith the co

h)/(256 – Lo

1 and K2 =

does not equ

is the best p

.0.0 for all th

links.

R1 and R3 on this link

r & Information

f the link, gs value is ba

es how oftenames arrivin

k, given as a. A value ofnk.

able algorithbandwidth an

ether the wn. These vaonstants K1,

oad) + K3 *

0, so, when

ual 0, an addi

path.

he links.

is a 100Mbk. But only

Labn Systems Engin

given as a frased upon ren the link trang on the link

a fraction off 1 indicates

hm, with thend delay in

weighted valalues (bandw, K2, K3, K

Delay

n using the d

itional opera

bps back bonunicast pac

b Session 9 neering

raction of 25eceived keepansitions frok.

f 255. A vals that there

e result known determinin

lues of diffwidth, bandwK4, and K5

default value

ation is done

ne link. Yockets are allo

55. A palive om an

lue of is no

wn as ng its

fferent width . The

es, the

e:

ou are owed.

Page 45: CCN_2012

ComputeNED Unive

Usingfor R2

2. Chan

you hin thi

Scenario 1. Chan 2. Confi

serial 3. The s

link iR2 anthis.

Scenario The seriato have alink betwR2 so tha EXERC 1. Imple

them,_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

r Communicrsity of Enginee

g the networ2 s0/1 and R

ge the mask have any pros course to g

o 2

ge the mask

igure IGRP l link to reac

serial link beis highly unrnd R3 goes

o 3

al link betwea very high reween R2 and at it correctly

CISES

ement the ab, using Cisco__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

cation Netwoering & Technol

rks (a)10.0.0R3 s0/0 (d) 1

on the R1-Roblems with get full conn

on R1-R3 s

on R3 such h the loopba

etween R3 areliable and down. Mak

een R3 and Reliability. AR1 is a T1.

y reflects the

bove given sco routers. ___________

___________

___________

___________

___________

___________

___________

___________

___________

___________

orks logy – Departme

0.0 for R1-fa3.0.0.0 for R

R2serial linkfull connecectivity.

erial link ba

that R3 equack interface

nd R1 is beia decision he suitable ch

R1 is now blso the link bMake neces

e bandwidths

cenarios and

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

ent of Computer

44

a0/0 (b)11.0R3 fa0/0.Con

k from /16 totivity, use th

ack to /24.

ually load bae on R1.

ing providedhas been takhanges to yo

eing providebetween R3 ssary changes and delays

d write down

___________

___________

___________

___________

___________

___________

___________

___________

___________

___________

r & Information

0.0.0 for R1-nfigure IGRP

o /24. Checkhe command

alances betw

d by a new Iken to use itour IGRP co

ed by a diffeand R2 has

es to your IG. Also IGRP

n the configu

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

Labn Systems Engin

-s0/0 and R2P appropriat

k for networkds that you h

ween the ethe

ISP. It has bt only when onfiguration

erent ISP anbeen upgrad

GRP configuP should load

uration comm

___________

___________

___________

___________

___________

___________

___________

___________

___________

___________

b Session 9 neering

2 s0/0 (c)12tely.

k connectivihave learnt s

ernet link an

een seen thathe link bet

n on R3 to r

nd has been fded to T3 anuration on Rd balance.

mands for ea

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

.0.0.0

ity. If so far

nd the

at this tween reflect

found nd the

R3 and

ach of

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

Page 46: CCN_2012

ComputeNED Unive

OBJEC

THEOR EIGRP isEIGRP bIGRP, EIthat run includes t Why preEIGRP isdistance OSPF donetworksEIGRP hat startupsuitable f100). EIGRP mEIGRP upossible p1) Bandw3) Load ConfigurConsider

Followin

r Communicrsity of Enginee

CT

Config

RY

s a proprietabecause it is IGRP uses ththe same rothe subnet m

efer EIGRPs sometimes vector and l

oes; instead s plus the cohas link statep and then sefor very larg

metric calcuunlike many path, EIGRP

width

ring EIGRPthe topolog

g are the IP

172.16.3

cation Netwoering & Technol

guringEIGR

ary Cisco prprobably on

he concept oouting proto

mask in its ro

? referred to a

link state proit sends tra

ost of reache characterisends specificge networks

ulation: other protoc

P can use a c

P y:

Fig 10.

addresses as

32.2/24

PC1

orks logy – Departme

Lab S

RP (Enhance

rotocol that ne of the twof an autonoocol and shoute updates.

as a hybrid rotocols. Foraditional dishing them frtics as well

c updates onls. EIGRP ha

cols that vusecombination

2) Dela4) Relia

.1:Scenario

ssigned to th

Router

ent of Computer

45

Session

ed Interior G

runs on Ciswo most popuomous systemare routing .

routing protor example, Estance vectofrom the per

– it synchroly when topo

as a maximum

e a single facof four:

ay ability

for EIGRP i

he interfaces

r1 R

r & Information

10

Gateway Rou

sco routers. ular routing m to describinformation

ocol becauseEIGRP doesnor updates crspective of onizes routinology chang

um hop coun

ctor to comp

implementat

Router2

Lab Sn Systems Engin

uting Protoc

It is importaprotocols in

be a set of cn. But unlik

e it has charan’t send linkcontaining inf the adverting tables betges occur. Thnt of 255 (th

pare routes a

tion

172.16.16.2/2

PC2

Session 10 neering

col)

ant to undern use today.ontiguous ro

ke IGRP, EI

acteristics ofk-state packenformation ising router.tween neighhis makes EIe default is

and select the

24

rstand . Like outers IGRP

f both ets as about . And

hbours IGRP set to

e best

Page 47: CCN_2012

ComputeNED Unive

Router2 Interfa PrFastEthFastEthSerial2Serial3down FastEthdown FastEthdown Modem6/down Modem7/down Modem8/down Router1 Interfa Fa0/0 Fa1/0 uSerial2Serial3Fa4/0 uFa5/0 u Tostart E

Router1Router1Router1Router1 Router2Router2Router2Router2Router2

r Communicrsity of Enginee

2#sh ipi

ace rotocol hernet0/hernet1/2/0 3/0

hernet4/

hernet5/

/0

/0

/0

1#sh ipi

ace I

17unassign2/0 173/0 ununassignunassign

EIGRP proce

1(config1(config1(config1(config

2(config2(config2(config2(config2(config

cation Netwoering & Technol

nt brief

IP-A

0 unas0 172. 172. unas

0 una

0 una

nt brief

P-Addres

2.16.32.ed YES2.16.64.assigneded YESed YES

ess on both ro

)#router-router)-router)-router)

)#router-router)-router)-router)-router)

orks logy – Departme

Address

signed 16.32.1 16.64.2 ssigned

assigned

assigned

unassi

unassi

unassi

sOK?

1YES man manual 1 YES

d YES manu manu

outers the fo

eigrp 1#network#network#exit

eigrp 1#network#network#network#exit

ent of Computer

46

OK?

YES m YES m YES m YES m

YES m

YES m

igned

igned

igned

Method

nual up adminis manual manual

ual adminual admin

ollowing con

k 172.16.k 172.16.

k 172.16.k 172.16.k 172.16.

r & Information

? Method

manual manual manual manual ad

manual ad

manual ad

YES m

YES m

YES m

Status

p up strativel upadminist

nistrativnistrativ

nfigurations w

64.0 0.032.0 0.0

64.0 0.064.0 0.016.0 0.0

Lab Sn Systems Engin

d Stat

up up up dministra

dministra

dministra

manual

manual

manual

s

ly down dp trativelyvely downvely down

will be done

0.0.255 0.0.255

0.0.255 0.0.255 0.0.255

Session 10 neering

tus

do u uatively d

atively d

atively d

d

d

d

Protoc

down up

y down dn down n down

e.

own up up down

down

down

down

down

down

col

down

Page 48: CCN_2012

ComputeNED Unive

Now veri Router2 Codes: B - BGP area type 2 EGP IS-IS i Gateway 17C D Serial2C Router1 Codes: B - BGP area type 2 EGP IS-IS i Gateway 17D Serial2C C

r Communicrsity of Enginee

ifying the ro

2#sh ip

C - conP D - EIG

N1 - OS

E1 - OS

i - IS-inter ar* - canP - per

y of las

72.16.0. 172.16 1722/0 172.16

1#sh ip

C - conP D - EIG

N1 - OS

E1 - OS

i - IS-inter ar* - canP - per

y of las

72.16.0. 1722/0 172.16 172.16

cation Netwoering & Technol

uting tables.

route

nnected,

GRP, EX -

SPF NSSA

SPF exter

-IS, L1 ea didate diodic do

t resort

0/24 is .16.0 is2.16.32.0

.64.0 is

route

nnected,

GRP, EX -

SPF NSSA

SPF exter

-IS, L1 ea didate diodic do

t resort

0/24 is 2.16.16.0

.32.0 is

.64.0 is

orks logy – Departme

.

S - stat

- EIGRP e

externa

rnal type

- IS-IS

default, wnloaded

is not

subnette directl0 [90/205

directl

S - stat

- EIGRP e

externa

rnal type

- IS-IS

default, wnloaded

is not

subnette0 [90/205

directl directl

ent of Computer

47

tic, I -

external,

al type 1

e 1, E2 -

level-1,

U - per-d static

set

d, 3 suby connec514560]

y connec

tic, I -

external,

al type 1

e 1, E2 -

level-1,

U - per-d static

set

d, 3 sub514560]

y connecy connec

r & Information

IGRP, R

, O - OS

1, N2 -

- OSPF e

, L2 - I

-user staroute

bnets cted, Fasvia 172

cted, Ser

IGRP, R

, O - OS

1, N2 -

- OSPF e

, L2 - I

-user staroute

bnets via 172

cted, Fascted, Ser

Lab Sn Systems Engin

R - RIP,

SPF, IA -

OSPF NS

external

IS-IS le

atic rout

stEtherne.16.64.1

rial2/0

R - RIP,

SPF, IA -

OSPF NS

external

IS-IS le

atic rout

.16.64.2

stEthernerial2/0

Session 10 neering

M - mobi

- OSPF in

SSA exter

type 2,

vel-2, i

te, o - O

et0/0 1, 00:01:

M - mobi

- OSPF in

SSA exter

type 2,

vel-2, i

te, o - O

, 00:01:

et0/0

ile,

nter

rnal

E -

ia -

ODR

:36,

ile,

nter

rnal

E -

ia -

ODR

:53,

Page 49: CCN_2012

ComputeNED Unive

Now we PC2>pin Pinging Reply fReply fReply fReply f Ping st PacApproxi Min PC1>pin Pinging Reply fReply fReply fReply f Ping st PacApproxi Min Now disp Router2IP-EIGR Codes: P 172.1 P 172.1 P 172.1 P 172.1

r Communicrsity of Enginee

will check e

ng 172.1

g 172.16

from 172from 172from 172from 172

tatisticckets: Simate ronimum =

ng 172.1

g 172.16

from 172from 172from 172from 172

tatisticckets: Simate ronimum =

playing EIGR

2#sh ipeRP Topol

P - Pasr - Rep

16.64.0/ via C

16.16.0/ via C

16.4.0/2 via C

16.32.0/

cation Netwoering & Technol

end to end co

6.32.2

.32.2 wi

.16.32.2

.16.32.2

.16.32.2

.16.32.2

s for 17ent = 4,und trip125ms, M

6.16.2

.16.2 wi

.16.16.2

.16.16.2

.16.16.2

.16.16.2

s for 17ent = 4,und trip125ms, M

RP topology

igrp topogy Tabl

sive, A ly statu

24, 1 suonnected24, 1 suonnected4, 1 suconnected24, 1 su

orks logy – Departme

onnectivity f

th 32 by

: bytes=: bytes=: bytes=: bytes=

2.16.32. Receive times i

Maximum =

th 32 by

: bytes=: bytes=: bytes=: bytes=

2.16.16. Receive times i

Maximum =

y on R2 only

ology e for AS

- Actives

ccessorsd, Serialccessors

d, FastEtcessors,

d, Serialccessors

ent of Computer

48

from PCs.

ytes of d

=32 time==32 time==32 time==32 time=

2: d = 4, Ln milli-

= 156ms,

ytes of d

=32 time==32 time==32 time==32 time=

2: d = 4, Ln milli-

= 156ms,

y

1

, U - Up

, FD is 2/0 , FD is hernet0/ FD is 23/0 , FD is

r & Information

data:

=156ms TT=125ms TT=127ms TT=141ms TT

Lost = 0 -seconds:Average

data:

=140ms TT=156ms TT=125ms TT=141ms TT

Lost = 0 -seconds:Average

pdate, Q

20512000

28160 /0 20512000

20514560

Lab Sn Systems Engin

TL=126 TL=126 TL=126 TL=126

(0% loss = 137ms

TL=126 TL=126 TL=126 TL=126

(0% loss = 140ms

- Query,

0

0

Session 10 neering

s),

s),

R - Repply,

Page 50: CCN_2012

ComputeNED Unive

P 172.1 Router2 IP-EIGRH AdSeq CntNum 0 1720 1 1724 EXERC 1. What

_____

_____

_____

_____

_____

2. When_____

_____

_____

_____

_____

_____

r Communicrsity of Enginee

via 116.8.0/2 via 1 via 1

2#sh ipe

RP neighddress

2.16.64.

2.16.4.1

CISES

t four routed __________

__________

__________

__________

__________

n is redistrib__________

__________

__________

__________

__________

__________

cation Netwoering & Technol

72.16.644, 2 suc72.16.6472.16.4.

igrp ne

bors for In

1 Se

Se

protocols ar___________

___________

___________

___________

___________

ution require___________

___________

___________

___________

___________

___________

orks logy – Departme

.1 (2051cessors,.1 (21021 (21024

ighbors

processnterface

e2/0

e3/0

re supported__________

__________

__________

__________

__________

ed for EIGR__________

__________

__________

__________

__________

__________

ent of Computer

49

4560/281 FD is 24000/205000/2051

1 Hol

(se

12

10

d by EIGRP?___________

___________

___________

___________

___________

RP? ___________

___________

___________

___________

___________

___________

r & Information

160), Ser21024000512000), 12000), S

ld Uptim

ec)

00:02

00:02

? __________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

Lab Sn Systems Engin

rial2/0

Serial2/Serial3/0

me SRT

2:50 40

2:50 40

___________

___________

___________

___________

___________

___________

___________

___________

___________

___________

___________

Session 10 neering

/0 0

TT RTO

(

1000

1000

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

Q

(ms)

0 0

0 0

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

Page 51: CCN_2012

ComputeNED Unive

OBJEC

THEOR In this labprocedurerecovery 1. Pleas 2. Pleas

a pass 3. Use s

recov You will bit registsite, or an Software Bit Num0 to 3 6

8 13

Explanat Boot Fiel0x0000 0xXXX10xXXX20xXXXF

r Communicrsity of Enginee

CT

RY

b you will lees differs derequires tha

e use cisco a

e be preparesword other

show ververy.

be working ter. Look upny other reso

e Configura

ber Valu0x000x00

0x010x20

tion of Boot

ld MSt

Bo2 F

If bothsyfroth

cation Netwoering & Technol

R

earn the procepending onat the router b

as the passw

ed to do passthan cisco.

rsion comm

with the conp informatioources availa

ation Registe

ue 000 to 0x000040 (setting b

00 000

t Field

Meaning tays at the syoots the firstyou set the

oot system ce system so

ystem commom a networe case in our

orks logy – Departme

Lab S

Recovering l

cedures requn the platformbe taken out

word where n

sword recove

mand to de

nfiguration ron about theable to you.

er Bits (Wh

0F bit 6 to 1)

ystem bootstrt system imaboot field v

command stooftware as dand, the rourk server. Ifr lab, the sta

ent of Computer

50

Session

lost router p

uired to recom and the st of operation

necessary.

ery right awa

etermine the

register as pae config-regi

hat do they m

MeBooCauNVBreBoonetw

rap promptage in onboarvalue to 0x2 ored in the cdirected by uter forms a df there is no ndard setup

r & Information

11

password.

over a lost losoftware usen and power

ay. The gro

e platform b

art of this labister on docu

mean)

eaning ot field uses system

VRAM conteeak disabledot default work boot fa

ard Flash memthrough 0xFonfigurationthat value. default boot network serdialogue is

n Systems Engin

ogin or enabled, but in allred down. N

oup before yo

before you t

b. The confumentation

m software toents d

Flash softfails

mory F and there n file, the rou If there is

t filename forver configustarted.

Lab Sessionneering

le password.l cases, passote:

ou might hav

try the pass

fig-register isCD, CISCO

o ignore

tware if

is a valid uter boots s no boot or booting ured, as is

n 11

. The sword

ve set

sword

s a 16 O web

Page 52: CCN_2012

ComputeNED Unive

PROCE Assume ythe instru 1. Types 2. Using 3. Press

router 4. This i

For 2 T

co T For 2 T

th T

co 5. Type 6. Type 7. Type

memo 8. Type 9. Type

comm 10. Type 11. Type 12. Type

r Communicrsity of Enginee

EDURE

you have beuctions below

show vers

g the power

CTRL+Brer into ROMM

is where the

25XX and 40

ype o/r 0onfigurationypeiorrese

2600, 3600, 4

ype confrehe configuratype resetonfiguration

no after eac

enable at

configmeory. Do not

config t

enable pmand no en

config-r

write me

show ver

cation Netwoering & Technol

en locked ouw from the u

sion and re

switch, turn

eak on the teMON mode.

procedure d

000:

0x2142or0. etat the > p

4500, 4700:

eg 0x214tion. t at the rom.

ch setup ques

the Router>

emorcopy stype config

termand ma

password nable pas

register

emorcopy r

rsion and o

orks logy – Departme

ut of the rouuser mode. D

ecord the va

off the route

erminal key.

differs depen

x42at the

prompt. The

2 at the rom

mmon 2> p

stion or pres

> prompt. Y

start runterm.

ake the chang

<passworssword.

0x2102, o

running s

observe the c

ent of Computer

51

uter. You haDo not get in

lue of the co

er and then t

yboard within

nding on the

> prompt t

router reboo

mmon 1> pro

prompt. Th

s Ctrl-C to s

You'll be in e

nningto co

ges. The pro

rd> to set th

or the value y

startup to

configuration

r & Information

ave access onnto privilege

onfiguration

turn it on.

n 60 second

platform.

to boot from

ots but ignor

ompt to boo

he router re

skip the initi

enable mode

opy the nonv

ompt is now

he password

you recorded

o commit the

n register se

n Systems Engin

nly to the used mode.

register.

ds of the po

m flash wit

res its saved

ot from Flash

eboots but i

al setup proc

e and see the

volatile RAM

w hostname(c

d to the new v

d in step 1.

e changes.

etting careful

Lab Sessionneering

ser mode. Fo

owerup to pu

thout loadin

d configuratio

h without lo

ignores its

cedure.

e Router# pro

M (NVRAM

config)#.

value or issu

lly.

n 11

ollow

ut the

ng the

on.

ading

saved

ompt.

M) into

ue the

Page 53: CCN_2012

ComputeNED Unive

EXERC 1. Expla

_____

_____

_____

_____

_____

_____

_____

2. There

_____

_____

_____

_____

_____

3. Expla

_____

_____

_____

_____

_____

4. Write

pass

_____

_____

_____

r Communicrsity of Enginee

CISES

ain the settin

__________

__________

__________

__________

__________

__________

__________

e are many d

__________

__________

__________

__________

__________

ain the need

__________

__________

__________

__________

__________

e down the

sword.”

__________

__________

__________

cation Netwoering & Technol

ng when the

___________

___________

___________

___________

___________

___________

___________

different way

___________

___________

___________

___________

___________

for step 7 in

___________

___________

___________

___________

___________

e difference

___________

___________

___________

orks logy – Departme

configuratio

__________

__________

__________

__________

__________

__________

__________

ys to access a

__________

__________

__________

__________

__________

n password re

__________

__________

__________

__________

__________

between “

__________

__________

__________

ent of Computer

52

on-register is

___________

___________

___________

___________

___________

___________

___________

a router. Wr

___________

___________

___________

___________

___________

ecovery proc

___________

___________

___________

___________

___________

“enable p

___________

___________

___________

r & Information

s set to 0x254

__________

__________

__________

__________

__________

__________

__________

rite down the

__________

__________

__________

__________

__________

cedure.

__________

__________

__________

__________

__________

password

__________

__________

__________

n Systems Engin

42.

___________

___________

___________

___________

___________

___________

___________

ese ways.

___________

___________

___________

___________

___________

___________

___________

___________

___________

___________

d” and “en

___________

___________

___________

Lab Sessionneering

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

__________

able sec

__________

__________

__________

n 11

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

_____

cret

_____

_____

_____

Page 54: CCN_2012

ComputeNED Unive

_____

_____

_____

5. What

same?

_____

_____

_____

_____

6. When

passw

_____

_____

_____

_____

_____

_____

7. Set th

Cross

there

_____

_____

_____

_____

_____

_____

r Communicrsity of Enginee

__________

__________

__________

t happens if

?

__________

__________

__________

__________

n you config

word set for t

__________

__________

__________

__________

__________

__________

he configura

s check with

any differen

__________

__________

__________

__________

__________

__________

cation Netwoering & Technol

___________

___________

___________

f “enable

___________

___________

___________

___________

gure enable p

the privilege

___________

___________

___________

___________

___________

___________

ation-register

h configurati

nce? Explain

___________

___________

___________

___________

___________

___________

orks logy – Departme

__________

__________

__________

passwor

__________

__________

__________

__________

password an

ed mode. Is

__________

__________

__________

__________

__________

__________

r to 0x2542.

ion-register

n.

__________

__________

__________

__________

__________

__________

ent of Computer

53

___________

___________

___________

d” and “en

___________

___________

___________

___________

nd issue the c

there a meth

___________

___________

___________

___________

___________

___________

Reload the

settings and

___________

___________

___________

___________

___________

___________

r & Information

__________

__________

__________

nable sec

__________

__________

__________

__________

command sh

hod to preve

__________

__________

__________

__________

__________

__________

e router. Do

d see if it m

__________

__________

__________

__________

__________

__________

n Systems Engin

___________

___________

___________

cret pas

___________

___________

___________

___________

how running

ent it from be

___________

___________

___________

___________

___________

___________

oes the break

matches with

___________

___________

___________

___________

___________

___________

Lab Sessionneering

__________

__________

__________

ssword” ar

__________

__________

__________

__________

g, you can se

eing visible?

__________

__________

__________

__________

__________

__________

k sequence w

the settings

__________

__________

__________

__________

__________

__________

n 11

_____

_____

_____

re the

_____

_____

_____

_____

ee the

?

_____

_____

_____

_____

_____

_____

work?

s. Is

_____

_____

_____

_____

_____

_____

Page 55: CCN_2012

ComputeNEDUniv

 

OBJE

 

THEO 

An accecommonimplemnecessa There arlist: Rule#1 It’s alwstart wit Rule#2 It’s commatchescompari Rule#3 There ismatch ththese ruin mind There ar

1.

2. E

Standar These umade badeny antraffic s

er Communicversity of Engin

CT

ORY

ess list is en and easie

menting secuarily involve

re a few im

ays comparth the first l

mpared withs the conditisons take p

s an implicihe condition

ules has somd that creatin

re two main

Standard ac

Extended ac

rd access li

use only theased on the

n entire suiteuch as web

cation Netwoneering & Tech

Stu

essentially est to underurity policie blocking p

mportant rule

red with eacline of the a

h lines of tion on a li

place.

it “deny” atn on any of

me powerfulng effective

n types of ac

ccess lists

ccess lists

ists

e source IP source IP a

e of protoco, Telnet, UD

orks hnology – Depa

Lab

udying and

a list of corstand usesies. Accesspackets.

es that a pac

ch line of thaccess list, th

the access ine of the a

t the end of f the lines inl implicatione access lists

ccess lists:

address in address. Thiols. They doDP, and so o

artment of Com

54

b Sessio

d configurin

onditions ths of access s lists can

cket follows

he access lishen go to li

list only uaccess list,

f each accesn the accessns when filts truly takes

an IP packis means thaon’t distingon.

mputer & Inform

n 12

ng Access L

hat categorlists is filteven be u

s when it’s

st in sequenne 2, then li

until a matthe packet

ss list—thiss list, the patering IP pas some prac

ket as the coat standard

guish betwee

mation Systems

ists

rize packetstering unwaused in sit

being comp

ntial order—ine 3, and s

tch is madet is acted u

means thatacket will beackets with actice.

ondition tesaccess listsen any of th

Lab Sessios Engineering

s. One of tanted packetuations tha

pared with a

—that is, it’lso on.

e. Once theupon and no

t if a packete discardedaccess lists,

st. All deciss basically phe many typ

on 12

the most ets when at don’t

anaccess

ll always

e packet o further

t doesn’t d.Each of , so keep

sions are permit or pes of IP

Page 56: CCN_2012

ComputeNEDUniv

Its comm access-

Comma R1(conR1(conR1(conR1(conR1(con The abothrough Extend Extendean IP paNetworkaccess l Its comm access<proto

er Communicversity of Engin

mand synta

-list<numb

ands on rout

nfig)#acnfig)#innfig)#ipnfig)#innfig)#ip

ove commah the router o

ed access li

ed access lisacket. Theyk layer headlists the abil

mand synta

s-list<nocol><so

cation Netwoneering & Tech

ax is

ber> {perm

Fig 12.1

ter will be

ccess-lisnterface p access-nterface p access-

ands will peon its ethern

ists

sts can evaluy can evaluader, and thelity to make

ax is

number> {ource>[<p

orks hnology – Depa

mit| deny

1: Standard A

st 1 peretherne

-group 1etherne

-group 1

ermit the nenet interface

uate many oate source ae port numbe much mor

{permit|ports>]<

artment of Com

55

} <destin

Access list

rmit 172et 0 1 out et 1 1 out

etwork 172.es in its out

of the otherand destinatber at the Tre granular d

| deny} <destina

mputer & Inform

ation> [l

to allowmy

.16.0.0

16.0.0 onlytside directi

r fields in thtion IPaddrransport laydecisions wh

tion>[po

mation Systems

og]

y network

0.0.255

y and will bons

helayer 3 anresses, the pyer header. Then control

orts][<o

Lab Sessios Engineering

.255

block other

d layer 4 heprotocol fielThis gives elling traffic.

ptions>]

on 12

network

eaders of ld in the extended

]

Page 57: CCN_2012

ComputeNEDUniv

Comma accessaccessinterfip acc The abopermit a

EXER Give cobeen blo ________

________

________

________

________

________

________

er Communicversity of Engin

ands on the r

s-list 1s-list 1face ethcess-gro

ove commanall other traf

RCISES

ommands toocked.

____________

____________

____________

____________

____________

____________

____________

cation Netwoneering & Tech

router will b

101 deny 101 permihernet 0 oup 101 o

nds will denffic.

enable logg

___________

___________

___________

___________

___________

___________

___________

orks hnology – Depa

Fig 12.2:

be:

tcp 172it ip an

out

ny only the

ging for the

____________

____________

____________

____________

____________

____________

____________

artment of Com

56

: Extended a

2.16.4.0ny any

telnet from

e given acce

____________

____________

____________

____________

____________

____________

____________

mputer & Inform

access list

0.0.0.2

subnet 172

ess list and t

____________

____________

____________

____________

____________

____________

____________

mation Systems

255 any

2.16.40.0 ou

to show the

___________

___________

___________

___________

___________

___________

___________

Lab Sessios Engineering

eq 23

ut of E0 and

entries that

____________

____________

____________

____________

____________

____________

____________

on 12

d will

t have

________

________

________

________

________

________

________

Page 58: CCN_2012

ComputeNEDUniv

OBJE

THEO LAN sw Add Forw Loo

In this lhosts. Addres A new MAC adestinatflooding PROC Conside

Initially Switch

- V

er Communicversity of Engin

CT

ORY

witch perfor

dress learninward filter d

op avoidance

ab session,

ss learning

switch has address agation is attacg. As the re

CEDURE

er the follow

y the MAC d

h#sh mac

Mac Ad--------

Vlan

cation Netwoneering & Tech

St

rms 3 operat

ng decision e

we will exp

empty MAainst the soched, it inisponses are

wing scenar

`

`

Fig 1

database of

c-address

ddress Ta---------

Mac Addr

orks hnology – Depa

Lab

tudyingbasi

tions

plore how a

AC address tource port. itially transe received, t

rio:

mainCSDsw

3.1: Scenar

f Cisco3560

s-table

able --------

ress

artment of Com

57

b Sessio

ic LAN swit

an Ethernet s

table. As eaAs the sw

smits the frhe MAC ad

rio for LAN

will be

--------

Type

mputer & Inform

n 13

tch operatio

switch learn

ach frame twitch does rame to all ddress table

Cisco3560

N switch ope

--------

mation Systems

on.

ns addresses

transits switnot know ports. Thiis further p

eration

------

Ports

Lab Sessios Engineering

s of the atta

tch, it learnto which

is process ipopulated.

`

on 13

ached

ns source port the is called

Page 59: CCN_2012

ComputeNEDUniv

-

Switch And tha mainCI

- V-

mainCI Now as address Switch

M- V-

Switch Also for mainCI

- V-

mainCI

er Communicversity of Engin

----

1 h#

at of mainCS

ISDsw#sh

Mac Ad--------

Vlan ----

1

ISDsw#

any of the table will g

h#sh mac

Mac Addr--------

Vlan ----

1 1 1

h#

r mainCSD

ISDsw#sh

Mac Add--------

Vlan ----

1 1 1

ISDsw#

cation Netwoneering & Tech

----

0006.2a7

SDsw is

h mac-add

ddress Ta---------

Mac Addr--------

0060.471

computers grow

c-address

ress Tabl---------

Mac Addr--------

0006.2a70040.0ba00e0.f7a

sw

h mac-add

dress Tab---------

Mac Addr--------

0040.0ba0060.47100e0.f7a

orks hnology – Depa

------

75.100c

dress-ta

able --------

ress ----

1b.ae01

generates p

s-table

le --------

ress ----

75.100c a5.183a a4.475c

dress-ta

ble --------

ress ----

a5.183a 1b.ae01 a4.475c

artment of Com

58

--

DYNA

able

--------

Type ----

DYNA

ping for any

--------

Type ----

DYNA DYNA DYNA

able

--------

Type ----

DYNA DYNA DYNA

mputer & Inform

---

AMIC

--------

----

AMIC

y of the rem

--------

----

AMIC AMIC AMIC

--------

----

AMIC AMIC AMIC

mation Systems

------

Fa0/1

------

Ports -----

Eth0/1

maining comp

------

Ports -----

Fa0/1 Fa0/1 Fa0/2

------

Ports -----

Eth1/1Eth0/1Eth0/1

Lab Sessios Engineering

- --

puters, the M

on 13

----

MAC

Page 60: CCN_2012

ComputeNEDUniv

EXER 1. If a

with

____

____

____

____

____

2. If a

forw

____

____

____

____

____

____

er Communicversity of Engin

RCISES

destination

h the frame?

__________

__________

__________

__________

__________

a frame is

ward/filter ta

__________

__________

__________

__________

__________

__________

cation Netwoneering & Tech

n MAC add

?

__________

__________

__________

__________

__________

received o

able, what w

__________

__________

__________

__________

__________

__________

orks hnology – Depa

dress is not

_________

_________

_________

_________

_________

n a switch

will the swit

_________

_________

_________

_________

_________

_________

artment of Com

59

in the forw

__________

__________

__________

__________

__________

h port and

tch do?

__________

__________

__________

__________

__________

__________

mputer & Inform

ward/filter t

__________

__________

__________

__________

__________

the source

__________

__________

__________

__________

__________

__________

mation Systems

table, what

__________

__________

__________

__________

__________

e MAC add

__________

__________

__________

__________

__________

__________

Lab Sessios Engineering

will the sw

__________

__________

__________

__________

__________

dress is no

__________

__________

__________

__________

__________

__________

on 13

witch do

_______

_______

_______

_______

_______

ot in the

_______

_______

_______

_______

_______

_______

Page 61: CCN_2012

ComputeNEDUniv

OBJE

THEO

The Spatopologand ensu

In the Oas 802.connectpart of t

Spanninbackup enablingflooding

STP is Equipm

Protoc

The coland the to the sthe bridminimuif neceschoice o

The spadetermi

Select a(lowest)numbercompareexamplepriority would l

er Communicversity of Engin

CT

ORY

anning Treey for any swuing broadc

OSI model f1D. As the

ted layer-2 the spanning

ng tree allowpaths if an g/disabling g the local n

based on ment Corpora

col Opera

llection of sLAN segmegments. Tdges collectum cost spanssary, by altof the root o

anning treened using th

a root brid) bridge IDr; the bridgeed first. If te, if switcheof 10, then

ike switch B

cation Netwoneering & Tech

Learnin

e Protocol witched LAcast radiatio

for computee name sugswitches (tyg tree, leavi

ws a networactive link of these ba

network.

an algoritation.

ation

switches in ments (or cabTo break loo

tively compnning tree. tering someof the spann

e that the he followin

dge. The roD. Each brie ID contaitwo bridges es A (MAC

n switch A wB to become

orks hnology – Depa

Lab

ng Loop Av

(STP) is a AN. Thus, thon.

er networkinggests, it cypically Ething a single

rk design tofails, witho

ackup links.

thm invent

a LAN canbles), and wops in the Lpute a spanA network

e of the conning tree.

bridges cong rules.

oot bridge oidge has a ins both nuhave equal

C=0200.000will be selee the root b

artment of Com

60

b Sessio

voidance wi

link layernhe basic fun

ng, STP fallcreates a sphernetswitch active path

o include spaout the dang

Switch loo

ted by Rad

n be considewhose edgesLAN while nning tree. administrat

nfiguration p

ompute usin

of the spanunique ide

umbers. To l priority, th00.1111) andcted as the ridge, they

mputer & Inform

n 14

ith Spannin

network proction of ST

ls under thepanning trehes), and d

h between an

are (redundger of switchops must be

dia Perlman

ered a graphs are the intmaintainingThe spann

tor can reduparameters

ng the Spa

nning tree isentifier (IDcompare tw

hen the MAd B (MAC=root bridgemust set its

mation Systems

ng Tree.

otocol that P is to prev

OSI layer-ee within aisables thosny two netw

dant) links toh loops, or tavoided be

n while w

h whose noterfaces cong access to ning tree isuce the cost

in such a w

anning Tre

s the bridgD) and a co

wo bridge C addresses=0200.0000

e. If the netws priority to

Lab Sessios Engineering

ensures a lvent switchin

2. It is standa mesh netse links thatwork nodes.

o provide authe need forecause they

working for

odes are thennecting theall LAN se

s not necest of a spannway as to a

e Protocol

e with the onfigurable IDs, the prs are compa0.2222) bothwork adminbe less than

on 14

oop-free ng loops

dardized work of t are not .

utomatic r manual result in

r Digital

e bridges e bridges egments, ssarily a

ning tree, affect the

can be

smallest priority

riority is ared. For h have a

nistrators n 10.

Page 62: CCN_2012

ComputeNEDUniv

Determpropertyi.e., a pato the roDifferencan con

The profollowin

Least cdetermithe sma(RP) of

Least codetermiconnectsegmen

Disable blocked

Bridge

The aboalgorithto deteronly thebridges informa

A bridgaddress

There ar

Con Top

topo Top

BPDUstrack of

When aIt will itopolog

er Communicversity of Engin

mine the leay that messaath from theoot. The cosnt technolog

nfigure the c

operty that mng two rules

cost path frnes the cost

allest cost (af the bridge.

ost path frone which brting this br

nt.

all other rod port (BP).

Protocol D

ove rules dehm, but the rrmine the roe informatiouse specia

ation about b

ge sends a B, and a desti

re three typ

nfiguration Bpology Chanology pology Chan

are exchanf network ch

a device is finstead go ty of the net

cation Netwoneering & Tech

st cost pathages from ae device to tst of traversgies have dicost of trave

messages as.

from each t of each poa least-cost

om each neridge has thridge to the

oot paths. A

Data Units (

escribe one rules as wrioot bridge on that theyal data frambridge IDs a

BPDU framination addr

pes of BPDU

BPDU (CBPnge Notifica

nge Notifica

nged regulahanges and

first attachethrough a ntwork. Whe

orks hnology – Depa

hs to the roany connectethe root tha

sing a path iifferent defaersing a part

always trave

bridge. Aftossible patht path). The

twork segmhe least-coste network

Any active

(BPDUs)

way of deteitten requireand compuy have. To

mes called Band root pat

me using theress of the S

Us:

PDU), usedation (TCN)

ation Ackno

arly (every to start and

ed to a switcnumber of sn a host is a

artment of Com

61

oot bridge.ed device to

at has minimis the sum oault costs foticular netw

erse least-co

fter the rooh from itselfe port conne

ment. The brt path from segment is

port that is

ermining whe knowledg

ute the port ensure that

Bridge Proth costs.

e unique MSTP multica

d for Spanni) BPDU, us

owledgment

2 seconds stop forwa

ch port, it wstates whileattached suc

mputer & Inform

The compuo the root br

mum cost amof the costs oor network s

work segmen

ost paths to

ot bridge hf to the rootecting to th

ridges on athe network

s then the

s not a root

hat spanninge of the ent

roles (rooteach bridg

otocol Data

MAC addresast address

ing Tree comed to annou

t (TCA)

by default)arding at por

will not imme it processech as a com

mation Systems

uted spanninridge traver

mong all patof the segmsegments. Ant.

o the root is

has been cht. From theshat path bec

a network sek segment tdesignated

t port or a d

ng tree will btire network, designated

ge has enoua Units (BP

s of the por01:80:C2:0

mputation unce change

) and enablrts as requir

mediately stes BPDUs

mputer, print

Lab Sessios Engineering

ng tree has trse a least coths from the

ments on the An administr

s guarantee

hosen, eachse, it picks ocomes the r

egment collto the root. T

port (DP)

designated p

be computek. The bridgd, or blocke

ugh informaPDUs) to e

rt itself as 0:00:00.

es in the net

le switches red.

tart to forwaand determer or server

on 14

the ost path, e device path. rator

d by the

h bridge one with root port

lectively The port for the

port is a

ed by the ges have ed) with

ation, the exchange

a source

twork

to keep

ard data. mines the r the port

Page 63: CCN_2012

ComputeNEDUniv

will alwthroughlearningset by thin blockChange are injeofthe TCpropagaentries.

Spannin

Blocmayalgorece

Listecaus

Learaddrdata

Forwincoloop

Disa

Now co

Here a p Now ob mainCIVLAN00

er Communicversity of Engin

ways go intoh the listenig states is dhe root bridking mode Notificatiocted into thCN, the rooated to all o

ng Tree po

cking - A poy go into foorithm detereived in blocening - These it to returrning - Whresses fromabase) warding - A

oming BPDp. abled - Not

onsider the f

physical loo

bserve the sp

ISDsw#sh001

cation Netwoneering & Tech

o the forwaring and lea

determined bdge). Howevif it is det

on (TCN) Bhe network ot switch wiother switc

ort states:

ort that wouorwarding mrmines the cking state. e switch prorn to the blohile the porm frames r

A port receDUs that wo

strictly part

following to

`

`

Fig 14.1

op can be ob

panning tree

h spannin

orks hnology – Depa

rding state, arning stateby a value kver, if insteermined th

BPDUs are uby a non-r

ill set a Tophes to instr

uld cause a mode if the

port may tr

ocesses BPDocking statert does notreceived an

eiving and ould indicat

t of STP, a

opology:

mainCSDsw

1:Scenario f

bserved

e calculatio

ng-tree

artment of Com

62

albeit after s (see beloknown as th

ead another at it wouldused to infooot switch

pology Chanruct them t

switching lother links ransition to

DUs and awe. t yet forwarnd adds the

sending date it should

network ad

for impleme

ns for main

mputer & Inform

a delay of ow). The timhe forward switch is co

d cause a loorm other swand propag

nge flag in ito rapidly a

oop, no usein use wer

o the forwar

waits possib

rd frames (em to the

ata, normal return to t

dministrator

Cisco3560

enting spann

nCSDsw fir

mation Systems

about 30 seme spent indelay (defa

onnected, thoop in the witches of pgated to theits normal Bage out the

er data is senre to fail anrding state.

ble new info

(packets) itfiltering d

operation. the blocking

can manua

ning tree

rst

Lab Sessios Engineering

econds whiln the listenault 15 secohe port maynetwork. Tport changee root. UponBPDUs. Thieir forwardi

nt or receivnd the spann

BPDU dat

ormation tha

t does learndatabase (sw

STP still mg state to p

ally disable a

`

on 14

e it goes ning and onds and y remain

Topology es. TCNs n receipt is flag is ng table

ved but it ning tree ta is still

at would

n source witching

monitors prevent a

a port

Page 64: CCN_2012

ComputeNEDUniv

Span Root 15 sec Brid 15 sec Interf------Et3/1 Et2/1 Et0/1 Et1/1 For ci SwitchVLAN00 Span Root 15 sec Brid 15 sec Interf------Fa0/1 Fa0/3 Fa0/2 Modify To chan mainCIS

er Communicversity of Engin

nning trt ID

c

dge ID

c

face --------

isco3560

h#sh spa001 nning trt ID

c

dge ID

c

face --------

ying priorit

nge default p

SDsw(confi

cation Netwoneering & Tech

ree enablPriorityAddress This briHello Ti

PriorityAddress Hello Ti

Aging Ti

Role---- ---- Desg Desg Desg Desg

0 the cal

anning-tr

ree enablPriorityAddress Cost Port Hello Ti

PriorityAddress Hello Ti

Aging Ti

Role---- ---- Root Altn Desg

ies and oth

priority one

ig)#spanni

orks hnology – Depa

led proty 327 001

idge is ime 2 s

y 327 001

ime 2 s

ime 20

e Sts Co- --- --g FWD 10g FWD 10g FWD 10g FWD 10

lculatio

ree

led proty 327 001 100 1(F

ime 2 s

y 327 00E

ime 2 s

ime 20

e Sts Co- --- --t FWD 10n BLK 10g FWD 19

her parame

e can use the

ing-tree

artment of Com

63

tocol ie769 10.1100.the roo

sec Max

769 (pr10.1100.sec Max

ost --------00 00 00 00

ons will

tocol ie769 10.1100.0 FastEthesec Max

769 (prE0.B02B.sec Max

ost --------00 00 9

eters

e following

vlan 1 pr

mputer & Inform

ee

58CE t Age 20

iority 358CE Age 20

Prio.Nb ------- 128.4 128.3 128.1 128.2

be

ee

58CE

rnet0/1) Age 20

iority 35EA0 Age 20

Prio.Nb ------- 128.1 128.3 128.2

g command.

iority 36

mation Systems

sec Fo

32768 sy

sec Fo

br Type-- ----- P2p P2p P2p P2p

) sec Fo

32768 sy

sec Fo

br Type-- ----- P2p P2p P2p

864

Lab Sessios Engineering

rward De

ys-id-ext

rward De

--------

rward De

ys-id-ext

rward De

--------

on 14

elay

t 1)

elay

-----

elay

t 1)

elay

-----

Page 65: CCN_2012

ComputeNEDUniv

Now se mainCIVLAN00 Span Root 15 sec Brid 15 sec Interf------Et3/1 Et2/1 Et0/1 Et1/1 Other dtree. Switch acti deta inte summvlan <cr> EXER 1. Wha

____

____

____

____

____

____

____

er Communicversity of Engin

e what happ

ISDsw#sh001 nning trt ID

c

dge ID

c

face --------

etails on ST

h#sh spaive ail erface mary VL

RCISES

at is used to__________

__________

__________

__________

__________

__________

__________

cation Netwoneering & Tech

pens to the r

h spannin

ree enablPriorityAddress Cost Port Hello Ti

PriorityAddress Hello Ti

Aging Ti

Role---- ---- Altn Desg Root Desg

TP can be ob

anning-trReport oDetailedSpanningSummary

LAN Switc

o prevent sw__________

__________

__________

__________

__________

__________

__________

orks hnology – Depa

root bridge.

ng-tree

led proty 327 00E 100 1(E

ime 2 s

y 368 001

ime 2 s

ime 20

e Sts Co- --- --n BLK 10g FWD 10t FWD 10g FWD 10

bserved thro

ree ? on activd informg Tree iof port

ch Spann

witching loo_________

_________

_________

_________

_________

_________

_________

artment of Com

64

.

tocol ie769 E0.B02B.0 Ethernetsec Max

865 (pr10.1100.sec Max

ost --------00 00 00 00

ough the fo

ve intermation interfact statesning Tre

ops in a netw__________

__________

__________

__________

__________

__________

__________

mputer & Inform

ee

5EA0

0/1) Age 20

iority 358CE Age 20

Prio.Nb ------- 128.4 128.3 128.1 128.2

llowing set

faces on

e status es

work with re__________

__________

__________

__________

__________

__________

__________

mation Systems

sec Fo

36864 sy

sec Fo

br Type-- ----- P2p P2p P2p P2p

of comman

nly

s and co

edundant sw__________

__________

__________

__________

__________

__________

__________

Lab Sessios Engineering

rward De

ys-id-ext

rward De

--------

nds under sp

nfigurat

witched path__________

__________

__________

__________

__________

__________

__________

on 14

elay

t 1)

elay

-----

panning

tion

hs? _______

_______

_______

_______

_______

_______

_______

Page 66: CCN_2012

ComputeNEDUniv

2. Whe____

____

____

____

____

____

er Communicversity of Engin

en is STP co__________

__________

__________

__________

__________

__________

cation Netwoneering & Tech

onsidered s__________

__________

__________

__________

__________

__________

orks hnology – Depa

aid to be co_________

_________

_________

_________

_________

_________

artment of Com

65

onverged? __________

__________

__________

__________

__________

__________

mputer & Inform

__________

__________

__________

__________

__________

__________

mation Systems

__________

__________

__________

__________

__________

__________

Lab Sessios Engineering

__________

__________

__________

__________

__________

__________

on 14

_______

_______

_______

_______

_______

_______

Page 67: CCN_2012

ComputNED Univ

OBJE

THEO

A virturequiremregardleit allownetworkrelocatin

To physparallel primarybandwidboth suswitch pto trunk

Implem

A basicwill havcontains

Configuthe defaVLAN 1.

If a VLAVLAN another uplink pport, inc

Some sVLAN

Where aports, orequired

Managethe conf

ter Communversity of Engin

CT

ORY

al LAN, coments that ess of their

ws for end sk switch. Neng devices.

sically replicollection

y network. dth; two seffer reduceports, taggink links, and u

mentation

c switch notve it perms all ports o

uration of thault VLANon the devi

AN port grgroup onlydevice that

port needs tcluding the

witches eithgroup numb

a VLAN grnly the twod VLAN an

ement of thefigured VLA

nication Netneering & Tech

ommonly kncommunicaphysical locstations to betwork reco

icate the funof networkHowever

eparate one-d throughpung frames wuntagging w

n

t configuredmanently enaon the device

he first cusN, such that

ce, apart fro

oup were toy need to bt tagging isto be a taggdefault VLA

her allow ober that is im

roup is to sio ports neednd the defau

e switch reqANs. If the

tworkshnology – Depa

Lab

Configu

nown as a ate as if thcation. A Vbe groupedonfiguration

nctions of ak cables anunlike a p

-gigabit VLut and cong

when enterinwhen exit fr

d for VLANabled with e as membe

tom VLANthe first cu

om the defa

o only existbe "untagges used. For ged memberAN.

or require amportant fro

imply pass td to be a melt VLAN on

quires that tdefault VL

artment of Com

66

b Sessio

uring Virtua

VLAN, is hey were a

VLAN has thd together en can be do

a VLAN, itnd switchesphysically

LANs usinggestion. It vng VLAN, rom VLAN

Ns will eithwhat is kn

ers.

N port groupustom grou

ault VLAN.

t on the oneed". It is oncommunica

r of every V

a name be com one swi

through an ember of thn the interm

the manageLAN were d

mputer & Infor

n 15

al LANs

a group ofattached to he same atteven if theyne through

t would be ns/hubs whic

separate n a single onvirtualizes Vlookup MA.)

her have VLnown as a

p usually inup of VLAN

The defaul

e device, allnly when tations to ocVLAN on th

created for itch to the n

intermediathe VLAN, amediate swit

ement functdeleted or re

rmation System

f hosts withthe same

tributes as ay are not losoftware in

necessary tch are keptnetwork, Vne-gigabit iVLAN beh

AC table to s

LAN functidefault VL

nvolves subN ports is alt VLAN typ

l ports that he port groccur from she switch th

the VLANnext.

te switch viand are taggtch.

tions be assenumbered w

Lab Sessionms Engineering

h a commobroadcast

a physical Located on thnstead of ph

o install a st separate f

VLANs muinterconnec

haviors (conswitch/flood

onality disaLAN which

btracting poactually thepically has

are membeoup is to exwitch to swhat uses tha

N, but it is

ia two pass-ged to pass

ociated withwithout mo

n 15

on set of domain,

LAN, but he same hysically

separate, from the st share

ction can nfiguring d frames

abled, or h simply

orts from e second an ID of

rs of the xtend to

witch, an at uplink

only the

-through both the

h one of oving the

Page 68: CCN_2012

ComputNED Univ

manageconfigu

Switcheworkingto the dkept nextechnica

Remoteaccidenattemptiswitch communto contin

When inconnectVLAN nLinks. Access Access connectare yourable to p Trunk LA Trunkports arcarry pa

PROC VLAN Switch Vlan1 Hard00e0.b MTU r Configu SwitchSwitch

ter Communversity of Engin

ement to a uration, requ

es typicallyg in a wirin

device to viext to the swal staff whe

e configurantally cut oing to confuplink po

nication, renue the con

nside the wot multiple swnetwork. D

Links Links are th

t to the switr ordinary pplug a comp

Link k Link, or 'Te usually foackets from

CEDURE

1 is the defa

h #shint

is admidware isb02b.5ea1500 by

reliabil

uring IP on

h(configh(config

nication Netneering & Tech

different uiring a forc

y have no bng closet. It ew its config

witches in eaenever port m

ation of Voff communfigure. Actioorts into aequiring thenfiguration p

orld of VLAwitches togeepending on

he most comch's Access

ports found puter into th

Trunk' is a pound in conn

all availabl

fault

tvlan 1

inistratis CPU Inta0) ytes, BW lity 255/

n default V

g)#intvlag-if)#ip

tworkshnology – Depa

VLAN firsced clearing

built-in metis necessarguration, orach wiring cmembership

VLANs prenications aons such asa separate technician process.

ANs there aether or justn their conf

mmon type s Links in oron every sw

hem and acc

port configunections betle VLANs b

ively doterface,

100000 /255, tx

LAN

an 1 address

artment of Com

67

st, it is pog of the devi

thod to indry for a techr for VLANcloset. Thesp changes a

esents seveand lock ths subdividin

new VLAto physica

are two typet simple netfiguration, th

of links on rder to gain

witch, but cocess your ne

ured to carrytween switcbecause VL

own, lin, addres

Kbit, Dxload 1/

s 172.16

mputer & Infor

ossible to bice configur

dicate VLAhnician to e

N port assignse charts muare made to

eral opporthemselves ng the defaAN can sully visit the

es of links. twork devichey are call

any VLANn access to thonfigured inetwork.

y packets foches. These

LANs span o

e protocs is 00e

LY 10000255, rxl

.68.2 25

rmation System

be locked ration to reg

AN port meeither have mnment chartust be manuthe VLANs

tunities forout of the

ault VLAN uddenly cue device in

These linksces e.g PC, tled Access L

N switch. Allhe local netn a special w

or any VLAlinks requir

over multipl

col is de0.b02b.

000 usecload 1/2

55.255.2

Lab Sessionms Engineering

out of thegain control

embers to smanagements or diagramually updates.

r a technie devices tby splittingut off all the distant

s allow us tothat will accLinks, or Tr

l network htwork. Thesway, so you

AN. These tyre the abilitle switches.

down 5ea0 (bi

c, 55

48.0

n 15

e switch .

someone nt access ms to be

ed by the

ician to they are g off the

remote location

o cess the runk

osts se links u are

ype of ty to .

ia

Page 69: CCN_2012

ComputNED Univ

Creatin Switch Assigni SwitchSwitchSwitch Configu Conside

Supposehas onlythe two interfac SwitchSwitch

Verifica SwitchName: SwitchAdminiOperatAdminiOperatNegotiAccessTrunkiVoice AdminiAdmini

ter Communversity of Engin

ng VLANs

h(config

ing ports to

h(configh(configh(config

uring trunk

er the follow

e mainCSDy VLAN1. Nswitches, se fa 0/1 on

h(configh(config

ation of con

h#show iFa0/1

hport: Eistrativtional Mistrativtional Tiation os Mode Ving NatiVLAN: n

istrativistrativ

nication Netneering & Tech

g)#intvla

o vlans

g)#intfa g-if)#swig-if)#swi

k link

wing topolo

`

`

Fig 1

Dsw has twoNow both swo that the Peach switch

g)#intfa g-if)#swi

nfiguration

interface

Enabled ve Mode: Mode: truve TrunkiTrunking of TrunkiVLAN: 1 (ive Mode none ve privatve privat

tworkshnology – Depa

an 2

0/2 itchportitchport

gy

mainCSDsw

15.1:Scenari

VLANs cowitched mu

PCs which ah connected

0/1 itchport

ns

e switch

trunk unk ing EncaEncapsu

ing: On(defaultVLAN: 1

te-vlan te-vlan

artment of Com

68

t mode at access

io for imple

onfigured Vust have at lare in VLANd to the othe

t mode t

hport

apsulatiulation:

t) 1 (defau

host-asmapping

mputer & Infor

ccess vlan 2

Cisco3560

ementing VL

VLAN1 and least one coN1 may comer. Hence th

runk

on: dot1 dot1q

lt)

sociatio: none

rmation System

LANs

VLAN2, wmmon trunk

mmunicate. e configura

1q

on: none

Lab Sessionms Engineering

`

whereas ciscok link conneHere we ha

ation would

n 15

o3560 ecting

ave be

Page 70: CCN_2012

ComputNED Univ

AdminiAdminiAdminiAdminiOperatTrunkiPruninCapturCapturProtecUnknowUnknowApplia Name: SwitchAdminiOperatAdminiOperatNegotiAccessTrunkiVoice AdminiAdminiAdminiAdminiAdminiAdminiOperatTrunki A more mainCI VLAN N---- -1 dEth3/12 V1002 f1003 t1004 f1005 t

ter Communversity of Engin

istrativistrativistrativistrativtional ping VLANng VLANsre Mode re VLANscted: fawn unicawn multiance tru

Fa0/2 hport: Eistrativtional Mistrativtional Tiation os Mode Ving NatiVLAN: n

istrativistrativistrativistrativistrativistrativtional ping VLAN

handy way

ISDsw#sh

Name --------default 1, Eth4/VLAN0002fddi-deftoken-rifddinet-trnet-de

nication Netneering & Tech

ve privatve privatve privatve privatprivate-vNs Enables EnabledDisabled

s Allowedalse ast blockicast bloust: none

Enabled ve Mode: Mode: stave TrunkiTrunking of TrunkiVLAN: 1 (ive Mode none ve privatve privatve privatve privatve privatve privatprivate-vNs Enable

y of verifyin

hvlan bri

---------

/1 2 fault ing-defau-default efault

tworkshnology – Depa

te-vlan te-vlan te-vlan te-vlan vlan: noed: Alld: 2-100d d: ALL

ked: disocked: de

static atic accing EncaEncapsu

ing: Off(defaultVLAN: 1

te-vlan te-vlan te-vlan te-vlan te-vlan te-vlan vlan: noed: All

ng VLAN m

ief

--------

ult

artment of Com

69

trunk ntrunk etrunk ntrunk p

one

01

sabled disabled

accesscess apsulatiulation:f t) 1 (defau

host-asmappingtrunk ntrunk etrunk ntrunk p

one

memberships

--------

mputer & Infor

ative VLncapsulaormal VLrivate V

d

on: dot1 native

lt)

sociatio: none ative VLncapsulaormal VLrivate V

s would be

Statu-- ----- activ

activ activ activ activ activ

rmation System

LAN: nonation: dLANs: noVLANs: n

1q

on: none

LAN: nonation: dLANs: noVLANs: n

us Po----- --ve Et

ve Etve ve ve ve

Lab Sessionms Engineering

ne dot1q ne

none

ne dot1q ne

none

rts --------h2/1,

h1/1

n 15

-----

Page 71: CCN_2012

ComputNED Univ

EXER 1. Wha

____

____

____

____

____

2. Whathe p____

____

____

____

____

____

ter Communversity of Engin

RCISES

at does trun__________

__________

__________

__________

__________

at type of liport? __________

__________

__________

__________

__________

__________

nication Netneering & Tech

nking provid__________

__________

__________

__________

__________

ink is only

__________

__________

__________

__________

__________

__________

tworkshnology – Depa

de? _________

_________

_________

_________

_________

part of one

_________

_________

_________

_________

_________

_________

artment of Com

70

__________

__________

__________

__________

__________

e VLAN an

__________

__________

__________

__________

__________

__________

mputer & Infor

__________

__________

__________

__________

__________

nd is referre

__________

__________

__________

__________

__________

__________

rmation System

__________

__________

__________

__________

__________

ed to as the

__________

__________

__________

__________

__________

__________

Lab Sessionms Engineering

__________

__________

__________

__________

__________

“native VL

__________

__________

__________

__________

__________

__________

n 15

_______

_______

_______

_______

_______

LAN” of

_______

_______

_______

_______

_______

_______