CSC341
CSC341
Network
Network
Management
Management
Lab Manual – I
Lab Manual – I
1 1Third Semester – BS (CS
Third Semester – BS (CS
Com!uter S"ien"e #a"ult$
Com!uter S"ien"e #a"ult$
Dear students, Dear students,
The
The handbook handbook helps helps you you in in practicing practicing your your practical practical labs labs in in the the subjectsubject CSC341 – Network anage!ent" This is the #rst basic le$el lab !anual o% the CSC341 – Network anage!ent" This is the #rst basic le$el lab !anual o% the ab
abo$o$e e !en!entitiononed ed susubjebject ct anand d cocontntaiains ns &' &' lalabs bs o% o% whwhicich h soso!e !e o% o% ththe! e! araree outside o% the course outline" This lab !anual is prepared %or the students in outside o% the course outline" This lab !anual is prepared %or the students in order to learn and enhance their inter!ediate skills in network !anage!ent and order to learn and enhance their inter!ediate skills in network !anage!ent and %urther!ore, to learn and attend the cisco – routing and switching
%urther!ore, to learn and attend the cisco – routing and switching certi#cation"certi#cation" (n
(n cacase se o% o% anany y ererrorors rs or or guguididelelinines es yoyou u cacan n cocontntacact t ththe e %ac%acultulty y ththouough gh anan application" application" )egards )egards r" Dilawar r" Dilawar Dean o%
Dean o% CS *CS *acultyaculty +ahan ni$ersity +ahan ni$ersity
& &
Third Semester – BS (CS
Third Semester – BS (CS
Com!uter S"ien"e #a"ult$
Com!uter S"ien"e #a"ult$
Dear students, Dear students,
The
The handbook handbook helps helps you you in in practicing practicing your your practical practical labs labs in in the the subjectsubject CSC341 – Network anage!ent" This is the #rst basic le$el lab !anual o% the CSC341 – Network anage!ent" This is the #rst basic le$el lab !anual o% the ab
abo$o$e e !en!entitiononed ed susubjebject ct anand d cocontntaiains ns &' &' lalabs bs o% o% whwhicich h soso!e !e o% o% ththe! e! araree outside o% the course outline" This lab !anual is prepared %or the students in outside o% the course outline" This lab !anual is prepared %or the students in order to learn and enhance their inter!ediate skills in network !anage!ent and order to learn and enhance their inter!ediate skills in network !anage!ent and %urther!ore, to learn and attend the cisco – routing and switching
%urther!ore, to learn and attend the cisco – routing and switching certi#cation"certi#cation" (n
(n cacase se o% o% anany y ererrorors rs or or guguididelelinines es yoyou u cacan n cocontntacact t ththe e %ac%acultulty y ththouough gh anan application" application" )egards )egards r" Dilawar r" Dilawar Dean o%
Dean o% CS *CS *acultyaculty +ahan ni$ersity +ahan ni$ersity
& &
Topics Covered
Topics Covered
-ab 1 .. Connecting to
-ab 1 .. Connecting to a )outera )outer
-ab& – (ntroduction to the /asic ser (nter%ace -ab& – (ntroduction to the /asic ser (nter%ace -ab 3 – (ntroduction to the basic Show
-ab 3 – (ntroduction to the basic Show Co!!andsCo!!ands -ab 4 – Cisco Disco$ery 0rotocol
-ab 4 – Cisco Disco$ery 0rotocol -ab – 2tended /asics
-ab – 2tended /asics
-ab ' – /anner essage o% the Day -ab ' – /anner essage o% the Day -ab – Copy Co!!and
-ab – Copy Co!!and
-ab 5 – (ntroduction to the (nter%ace C
-ab 5 – (ntroduction to the (nter%ace Con#gurationon#guration -ab 6 –
-ab 6 – (ntroduction to (nternet 0rotocol(ntroduction to (nternet 0rotocol -ab 17
-ab 17 – 8ddress )esolution 0rotocol– 8ddress )esolution 0rotocol -ab 11 – Creating a 9ost Table
-ab 11 – Creating a 9ost Table -ab 1& – Static )outers
-ab 1& – Static )outers -ab 13 –
-ab 13 – )outing (n%or!ation 0rotocol)outing (n%or!ation 0rotocol
-ab 14 – Troubleshooting )outing (n%or!ation 0rotocol -ab 14 – Troubleshooting )outing (n%or!ation 0rotocol -ab 1 –
-ab 1 – (nterior :ateway )outing 0rotocol(nterior :ateway )outing 0rotocol -ab 1' – Connecti$ity Test with
-ab 1' – Connecti$ity Test with traceroutetraceroute
-ab 1 – Sa$ing )outer Con#guration -ab 1 – Sa$ing )outer Con#guration -ab 15 –
-ab 15 – -oading )outer Con#guration-oading )outer Con#guration
-ab 16 – Copying and 0asting Con#guration -ab 16 – Copying and 0asting Con#guration -ab &7 – (ntegrated Ser$ices Digital Network -ab &7 – (ntegrated Ser$ices Digital Network -ab &1 – (ntroduction to Switch
-ab &1 – (ntroduction to Switch -ab && – /asic Switch Co!!ands -ab && – /asic Switch Co!!ands -ab &3 – &67 Switch
-ab &3 – &67 Switch /asic Nati$e (;S/asic Nati$e (;S -ab &4 –
-ab &4 – Spanning TSpanning Tree 0rotocol on &67 ree 0rotocol on &67 SwitchSwitch -ab & – <-8N
-ab & – <-8N
-ab &' – <-8N Trunking 0rotocol -ab &' – <-8N Trunking 0rotocol
3 3
Lab 1: Connecting to a Router
Objective: Become familiar with the Cisco Router Background:
Lab Equipment: Router 1 from the Router menu Procedure:
Step 1
When the lab finished loading the router 1 window will open and the text “Press enter to start” will appear.
Step
Click inside the router 1 window and press the !nter ke" to get started. #ou are now connected to router 1 and are at the user mode prompt. $he prompt is broken into two parts% the host name and the mode. Router is router 1&s host name and the 'indicates
user mode.
Press enter to get started Router!
Step "
(ext t"pe the enable command to get to the pri)ileged mode prompt. Router!enab#e
Router$ Step %
$o return to the user mode simpl" t"pe disable. *rom user mode t"pe logout or exit to exit the router.
Router$ disab#e Router!
Router! e&it
Router con' is no( avai#ab#e Press return to get started
Lab : )ntroduction to t*e Basic +ser )nter,ace
Objective: Become familiar with the command+line interface ,C-/ user and pri)ileged mode and basic *e#p and show commands.
Background:
Lab Equipment: Router 1 from the eRouters menu Procedure:
Step 1
Press E-TER ke" to get to the router prompt.
Router!
Step
$he interface is now in user mode. 0t the user mode prompt t"pe the command that is used to )iew all the command a)ailable in user mode
Router!.
Step "
$"pe the command used to enter pri)ileged mode. Router! enab#e
Router$ Step %
$"pe the command that will allow "ou to )iew the a)ailable commands in pri)ileged mode.
Router$. Step /
$"pe the command that will allow "ou to see all of the s*o( commands Router$ s*o(.
Step 0
$"pe the command that will allow "ou to see the acti)e or running configuration. Router$ s*o( runningcon,ig
Step 2
0t the 3ORE prompt press the P0C!B0R ke" to )iew the next page of information. P0C!B0R
Step 4
*inall" t"pe one of the commands that will log "ou out of the router. Router$ e&it
OR Router$ disab#e
Lab ": )ntroduction to t*e Basic S*o( Commands
Objective: $o become familiar with the basic s*o( commands. Background:
Lab Equipment: Router 1 from eRouters menu Procedure:
Step 1
Press !($!R to get to the router prompt. Router!
Step
!nter pri)ileged mode. Router! enab#e
Router$ Step "
2ispla" the acti)e configuration in memor". $he currentl" acti)e configuration script running on the router is referred to as the runningcon,ig in the router&s command+line interface ,C-/. (ote that pri)ileged mode is re3uired in order to access the running configuration. $he running configuration script is not automaticall" sa)ed on a CC4 router and will be lost in the e)ent of power failure. $he running configuration must be manuall" sa)ed with the cop5 command.
Router $ s*o( runningcon,ig Step %
2ispla" flash memor". *lash memor" is a special kind of memor" that contains the operating s"stem image file,s/ on the router. 5nlike regular router memor" flash memor" continues to maintain the file image e)en after power is lost.
Router$ s*o( ,#as* Step /
B" default the router&s C- maintains in memor" the last 16 commands entered. $he s*o( *istor5 command displa"s simultaneousl" all of the past commands still in router memor".
Router$ s*o( *istor5 Step 0
Press the Ctrl7P ke" combination the retrie)e the pre)ious command "ou t"ped. Step 2
Press the 6O7- 8RRO7 ke" or press the CTRL9- ke" combination to see the next command in the histor" buffer.
Step 4
5se the s*o( protoco#s command to )iew the status of the current la"er 8 routed protocols running on "our router.
Router$ s*o( protoco#s Step
$he s*o( version command is used to obtain critical information such as router platform t"pe operating s"stem )ersion operating s"stem last boot time and file
location amount of memor" number of interfaces and configuration register. Router$ s*o( version
Step 1'
5se the s*o( c#ock command to )iew the router&s clock Router$ s*o( c#ock
Step 11
$he s*o( *osts command displa"s a cached list of host and all of their interfaces& P addresses
Router$ s*o( *ost Step 1
5se the s*o( user command to )iew a list of all users who are connected to the router Router$ s*o( users
Step 1"
$he show interfaces command displa"s detailed information about each interface. Router$ s*o( inter,aces
Step 1%
$he show protocols command displa"s the global and interface+ specific status of an" -a"er 8 protocols.
Router$ s*o( protoco#s
Lab %: C6P
Objective: $o learn how the Cisco 2isco)er" Protocol ,C2P/ functions and what is re3uired for Cisco de)ices to be disco)ered.
Background:
Lab Equipment: Router 1 and router 9 from eRouters menu Procedure:
Step 1
4n Router 1 enter global configuration mode. Router! enab#e
Router$ con,ig t Router ;con,ig< $ Step
Change the host name to R1. Router ,config/ : hostname R1 R1 ;con,ig< $
Step "
Connect to Router 9 and change the host name to R%. Router!enab#e
Router$con,ig t
Router ;con,ig< $ *ostname R% R% ;con,ig< $
Step %
Return to R1 and enable the serial 6 interface. B" default all interfaces are shut down ,disabled/.
R1 ;con,ig< $ inter,ace seria# ' R1 ;con,igi,<$ no s*utdo(n Step /
(ow enable the serial 6 interface on R9. R% ;con,ig< $ inter,ace seria# '
R% ;con,igi,< $ no s*utdo(n Step 0
!nable the !thernet 6 interface on R1. R1 ;con,ig< $ inter,ace Et*ernet ' R1 ;con,igi,< $ no s*utdo(n Step 2
C2P allows de)ices to share basic configuration information and will operate without an" protocol+specific information being configured. C2P which is enabled b" default on all interfaces is a 2ata -ink protocol that operates at -a"er ; of the 4 model. $his is important to understand because C2P is not routable it can onl" tra)el to directl" connected de)ices.
4n R1 t"pe the command that displa"s the status of all interfaces that are running C2P. R1 ;con,igi,< $ e&it
R1 ;con,ig< $ e&it
R1$ s*o( cdp inter,ace
$he sample output below shows that both interfaces are up and sending C2P packets% Seria#' is up= #ine protoco# is up
Encapsu#ation >6LC
Sending C6P packets ever5 0' seconds >o#dtime is 14' seconds
<output omitted' R1$
(ow that the router has interfaces that are broadcasting and recei)ing C2P updates "ou can use C2P to find out about directl" connected neighbours.
Step 4
4n R1 t"pe the command that pro)ides information about directl" connected neighbours.
R1$ s*o( cdp neig*bours Below is some sample output%
Capabi#it5 Codes: RRouter= T Trans Bridge= BSource Router Bridge= S S(itc*= > >ost= ))?3P= r Repeater
6evice )6 Loca# )nter,ace >o#d time Capabi#it5 P#at,orm Port )6
R% Seria# ' 1%4 R 12'' Seria# '
R1$
$he first de)ice on the directl" connected neighbours list for R1 is R9 )ia the serial 6 link. R1 is recei)ing C2P updates from R9= the updates tell R1 to retain the information for a specified amount of time. 0t the time this command was entered there were 19> seconds left in the hold time for R1&s update. f that time expires before another update is recei)ed. R1 information will be remo)ed from the table. R9 is a 1666 series router as indicated in the P#at,orm column. $he final column PORT )6 indicates the port on the other de)ice form which the updates are being sent.
Step
4n R1 t"pe the command that pro)ides more detailed information about directl" connected neighbours.
R1$ s*o( cdp neig*bours detai#
Below is some output% 6evice )6: R%
Entr5 address ;es<:
P#at,orm: cisco /'1= Capabi#ities: Router
)nter,ace: Seria#'= Port )6 ;outgoing port<: Seria#' >o#d time: 10 seconds
@ersion:
Cisco )nternet(ork Operating S5stem So,t(are
So,t(are= @ersion 1A' ;10<= RELE8SE SOT78RE ;,c< Cop5rig*t 14''1 b5 cisco S5stems= )ncA
Compi#ed ri '3ar'1 12:"% b5 dc*i*
$o s*o( cdp neig*bour detai# command shows de)ices one at a time. t is used to displa" (etwork la"er address information. $he command also displa"s 4 )ersion information. (otice that the de)ices are listed in order. f "ou wanted to find out
information about a de)ice further down the list "ou would need to scroll down using the P0C!B0R.
Step 1'
4n R1 t"pe the command to pro)ide information about the specific de)ices R9. R1$ s*o( cdp entr5 R%
Below is some sample output% 6evice )6: R%
Entr5 address ;es<:
P#at,orm: cisco 1'''= Capabi#ities: Router
)nter,ace: Seria#'= Port )6 ;outgoing port<: Seria#' >o#d time: 1%4 seconds
@ersion:
Cisco )nternet(ork Operating S5stem So,t(are
So,t(are= @ersion 1A' ;10<= RELE8SE SOT78RE ;,c< Cop5rig*t 140''1 b5 cisco S5stems= )ncA
Compi#ed ri '3ar'1 12:"% b5 dc*i* R1$
$he s*o( cdp entr5 command pro)ides the same information as the s*o( cdp neig*bour detai# command but it allows a single de)ice to be satisfied. 0lso notice that this is one of the onl" case+sensiti)e commands that exist.
Step 11
4n R1 t"pe the command that shows how often C2P updates are being sent and how long a recipient should retain the update.
R1$ s*o( cdp
Below is some sample outputs% ?#oba# C6P in,ormation:
Sending C6P packets ever5 0' seconds Sending a *o#dtime va#ue o, 14' seconds Sending C6P v advertisement is enab#ed
4n R1 ad?ust the number of seconds between C2P updates to 9@. R1$con, t
R1 ;con,ig< $ cdp timer %/
Besides the updates inter)al the hold time )alue ma" also be ad?usted. $his )alue tells the recipient of the update how long to retain the C2P information in the update. t is also a global parameter.
Step 1
4n R1 t"pe the command to ad?ust the holdtime timer to A6 seconds. R1$ con, t
R1 ;con,ig< $ cdp *o#dtime 0' Step 1"
4n R1 t"pe the command that will allow "ou to )erif" that the changes ha)e been made.
R1$ s*o( cdp
Below is some sample output% R1$ s* cdp
?#oba# C6P in,ormation:
Sending C6P packets ever5 %/ seconds Sending a *o#dtime va#ue o, 0' seconds Sending C6P v advertisement is enab#ed
R1$
Step 1%
f there are no other directl" connected Cisco de)ices on the network or if "ou want to conser)e bandwidth "ou can disable C2P.
4n R1 t"pe the command that disables C2P for the entire router. R1$ con, t
R1 ;con,ig< $ no cdp run
0t times "ou ma" wish to disable C2P for a specific interface for securit" reasons or simpl" because the interface has )er" low bandwidth.
Step 1/
4n R1 t"pe the command that turns C2P back on the entire router. R1$ con, t
R1 ;con,ig< $ no cdp run Step 10
4n R1 disable C2P for onl" the specific interface !thernet 6. R1 ;con,ig< $inter,ace Et*ernet '
R1 ;con,igi,< $ no cdp enab#e Step 12
4n R1 )erif" that !thernet 6 is no longer sending C2P updates. ,f the !thernet 6 interface does not show up as an entr" in the output "ou can conclude that it is not sending C2P upates/
R1$ s*o( cdp inter,ace
Below is sample output from the command% R1$ s*o( cdp inter,ace
Seria# ' is up= #ine protoco# is up Encapsu#ation >6LC
Sending C6P packets ever5 %/ seconds >o#dtime is 0' seconds
Lab /: E&tended Basics
Objectives: )iew and configure some basic areas of the router. Background:
Lab Equipment: Router 1 form eRouter menu Procedure:
Step 1
Press !($!R to get to the router prompt. Router!.
Step
!nter the command that is used to )iew all the commands a)ailable in the user mode. Router!.
Step "
!nter pri)ileged mode. $his is the mode that gi)es "ou complete control of the router. Router! enab#e
Router$ Step %
iew the commands in the pri)ileged mode Router$.
Step /
!nter the command that pro)ides access to global configuration mode. Router$ con,ig termina#
Router ;con,ig< $ Step 0
$he router&s host name is used for local identification. When "ou logon to the router "ou see its host name in front of the prompt ,either the ' or the $ prompt/. $he host name can be used to identif" the location or function of the router. et the router&s host name to
Drang.
Router ;con,ig< $ *ostname Drang Drang ;con,ig< $
Step 2
$he enable password controls access to pri)ileged mode. $his is a )er" important password because when it is configured onl" those who know the password can make
configuration changes in pri)ileged mode. et the enable password to boson. Drang ;con,ig< $ enab#e pass(ord boson
Step 4
$est the password. !xit the router and tr" to enter pri)ileged mode. (otice that "ou ha)e to pro)ide the password in order to enter pri)ileged mode. (ow t"pe the con, term command and proceed with the instructions in the next step.
Drang ;con,ig< $ e&it Drang$ e&it
Pass(ord:
Drang$ con,ig term Drang ;con,ig< $ Step
$he onl" problem with the enable password is that it appears in plain text in the router&s configuration file. f "ou need to obtain assistance in troubleshooting a problem "ou ma" inad)ertentl" compromise the securit" of "our s"stem b" re)ealing the password. et the enable secret password to cisco.
Drang ;con,ig< $ enab#e secret cisco Step 1'
(ow test this password b" logging out of the router and then t"ping enab#e at the user mode prompt. $he enable secret password o)errides the enable password. f "ou ha)e set both passwords "ou must use the enable secret password to enable pri)ileged mode. $he
enable password is still configured but is now deacti)ated. Drang ;con,ig< $ e&it
Drang$ e&it Drang! enab#e Pass(ord: Drang$
Lab 0: Banner 3essage o, t*e 6a5
Objective: Configure a banner essage of the 2a" ,4$2/. $he 4$2 is displa"ed when a user logs on to the router. $he banner can also be used to displa" information about the router itself or to displa" a securit" message.
Background:
Lab Equipment: Router 1 from eRouters menu. Procedure:
Step 1
Connect to the router1 and enter pri)ileged mode. Router!
Router! enab#e Router$
Step
!nter configuration mode. Router$ con,ig t
Router ;con,ig< $ Step "
$"pe the command to enter the banner message and press !($!R. 0fter "ou t"pe banner motd enter a delimiting character so the router knows when "ou are finished entering text for the banner. $he easiest one to use is the letter D.
Router ;con,ig< $banner motd
Enter t*e ne&t ,o##o(ed b5 t*e FG to ,inis* Step %
(ow all text that "ou t"pe until "ou t"pe the letter D= will be stored as the banner. $"pe the text “"ou do not ha)e permission to be here. $his router eats hackers for lunchE F” and press !($!R. $his will set the banner.
Hou do not *ave permission to be *ereA T*is router eats *ackers ,or #unc*I Step /
$o )iew the banner exit configuration mode and then exit the router. Press !($!R to displa" the banner.
Router ;con,ig$< e&it Router$ e&it
Router!e&it
Press RET+R- to get startedA
Hou do not *ave permission to be *ereA T*is router eats *ackers ,or #unc*I
Lab '2: Cop5 Command
Objective: $o become familiar with the router configuration and the cop5 commands a)ailable in the Cisco 4.
Background:
Lab Equipment: router1 from eRouters menu Procedure:
Step 1
Connect to router1 and enter pri)ileged mode. Router!enab#e
Router$ Step
2ispla" the acti)e configuration in memor". $he currentl" acti)e configuration script running on the router is referred to as runningcon,ig in the router&s command+ line interface ,C-/. (ote that pri)ileged mode is re3uired to displa" the acti)e configuration. $he running configuration script is not automaticall" sa)ed on Cisco router and will be lost in the e)ent of power failure. $he running configuration must be manuall" sa)ed with the cop5 command.
Router$ s*o( runningcon,ig Step "
$r" to displa" the configuration stored in (R0 ,known as startupcon,ig /. #ou ha)e not sa)ed the configuration so there is not one to show.
Router$ s*o( startupcon,ig Step %
Cop" the current acti)e configuration to (R0. $he current acti)e configuration is in R0= it should be sa)ed so that the router will still boot up with the configuration in the e)ent of a power outage.
Router$ cop5 running$ con,ig startupcon,ig Step /
(ow show the configuration stored in (R0. Router$ s*o( startupcon,ig
Step 0
f "ou decide that "ou would like to continue the router from scratch "ou can erase the startup configuration and reload the router. $his will enable "ou to completel" delete all configuration on the router so that "ou can start from scratch. $"pe the command that will delete the configuration file in (R0. When prompted confirm that "ou do want to erase the (R0 file s"stem b" pressing the # ke".
Router$ erase startupcon,ig Step 2
(ow t"pe the command to reload the router and press the # ke" when prompted to confirm the reload.
Router$ re#oad Step 4
0fter the router reboots look at the startup configuration file again. Because "ou did not sa)e it before "ou reloaded there is nothing there.
Router!enab#e
Router$ s*o( startupcon,ig Step
(ow change the host name of the router to Boson. Router$ con,ig termina#
Router ;con,ig< $ *ostname Boson Boson ;con,ig< $ e&it
Boson$ Step 1'
a)e "our router configuration and reload the router. 0gain press the # ke" when prompted to confirm the reload.
Boson$ cop5 run start Boson$ re#oad
Step 11
0fter the router reloads the host name of Boson appears in the prompt. f "ou run the s*o( startup con,ig command nothing appears.
Boson!enab#e
Boson$ s*o( startupcon,ig
Lab '4: )ntroduction to )nter,ace Con,iguration
Lab '4: )ntroduction to )nter,ace Con,iguration
Objective:
Objective: -earn to enable interfaces on a router and learn what is re3uired for the interface-earn to enable interfaces on a router and learn what is re3uired for the interface to be up.
to be up. Background: Background: Lab Equipment:
Lab Equipment: router1 fromrouter1 from eRouterseRouters menumenu Procedure:
Procedure: Step 1 Step 1
4n router1 enter global configuration. 4n router1 enter global configuration. Router! enab#e Router! enab#e Router$ con, t Router$ con, t Router ;con,ig< $ Router ;con,ig< $
Router ;con,ig< $ *ostname Router1 Router ;con,ig< $ *ostname Router1 Step
Step $"
$"pe the command to entepe the command to enter interface r interface configuration mode for !thernet 6.configuration mode for !thernet 6. Router1 ;con,ig< $inter,ace Et*ernet '
Router1 ;con,ig< $inter,ace Et*ernet ' Router1 ;con,igi,< $
Router1 ;con,igi,< $ Step "
Step "
2ispla" all the commands a)ailable in interface configuration mode b" t"ping 2ispla" all the commands a)ailable in interface configuration mode b" t"ping .. Step %
Step % $he
$he s*utdo(ns*utdo(n command shuts down the s command shuts down the selected interface. #oelected interface. #ou can often achie)e u can often achie)e thethe opposite of a command b" t"ping no in front of it. !xecute the command on router 1 opposite of a command b" t"ping no in front of it. !xecute the command on router 1 !thernet 6 to enable the interface.
!thernet 6 to enable the interface. Router 1;con,igi,< $ no s*utdo(n Router 1;con,igi,< $ no s*utdo(n Step /
Step /
0dd a description for this interface. 0dd a description for this interface.
Router1 ;con,igi,< $ description Et*ernet inter,ace on Router 1 Router1 ;con,igi,< $ description Et*ernet inter,ace on Router 1 Step 0
Step 0
$o )iew the interface description exit back to pri)ileged mode and run the
$o )iew the interface description exit back to pri)ileged mode and run the s*o(s*o( inter,ace
inter,ace command. #o command. #ou should see u should see the description under the description under !thernet 6.!thernet 6. Router1 ;con,igi,< $ end
Router1 ;con,igi,< $ end Router1 $ s*o( inter,ace Router1 $ s*o( inter,ace Step 2
Step 2
Connect to router ; and assign it a host name of
Connect to router ; and assign it a host name of Router ARouter A
1 1
Router$ con, t Router$ con, t
Router ;con,ig< $ *ostname router Router ;con,ig< $ *ostname router Step 4
Step 4
(ow access the !thernet 6 interface and enable the interface. (ow access the !thernet 6 interface and enable the interface.
Router ;con,ig< $ inter,ace Et*ernet ' Router ;con,ig< $ inter,ace Et*ernet ' Router ;con,igi,< $ no s*utdo(n Router ;con,igi,< $ no s*utdo(n Step
Step
(ow that the interfaces on both sides of the !thernet connection are enabled the" shou (ow that the interfaces on both sides of the !thernet connection are enabled the" shouldld be able to see on another through C2P
be able to see on another through C2P. 5. 5se these the s*o( cdp neig*bourss*o( cdp neig*bours command on command on Router; to )iew all directl" connected Cisco routers
Router; to )iew all directl" connected Cisco routers Router ;con,igi,< $ end
Router ;con,igi,< $ end
Router$ s*o( cdp neig*bour Router$ s*o( cdp neig*bour
Lab ': )ntroduction to )nternet Protoco#
Lab ': )ntroduction to )nternet Protoco#
Objective:
Objective: Configure Routers 1 ; and 9 with nternet Protocol ,P/ address and pingConfigure Routers 1 ; and 9 with nternet Protocol ,P/ address and ping between them to test connecti)it".
between them to test connecti)it". Background:
Background: Lab Equipment:
Lab Equipment: Router1 Router ; and Router 9 fromRouter1 Router ; and Router 9 from eRouterseRouters menumenu
Procedure: Procedure: Step 1 Step 1
Connect to router 1 and assign it a host name of
Connect to router 1 and assign it a host name of Router1Router1.. Router!enab#e Router!enab#e Router$ con, t Router$ con, t 1' 1'
Router ;con,ig< $*ostname router 1 Router ;con,ig< $*ostname router 1 Router1 ;con,ig< $
Router1 ;con,ig< $ Step
Step
!nter interface configuration mode for the !thernet 6 interface. !nter interface configuration mode for the !thernet 6 interface. Router1 ;con,ig< $ inter,ace Et*ernet '
Router1 ;con,ig< $ inter,ace Et*ernet ' Router1 ;con,igi,< $
Router1 ;con,igi,< $ Step "
Step " $"
$"pe the command that pe the command that will set the will set the P address on the !thernet P address on the !thernet 6 interface to 6 interface to 16.1.1.116.1.1.1 ;@@.;@@.;@@.6 and enable the interface.
;@@.;@@.;@@.6 and enable the interface. Router1 ;con,igi,< $ ip
Router1 ;con,igi,< $ ip addresaddress 1'A1A1A1 s 1'A1A1A1 //A//A//A//A//A//A'' Router1 ;con,igi,< $ no s*utdo(n
Router1 ;con,igi,< $ no s*utdo(n Step %
Step %
et the P address on the
et the P address on the serial 6 interfserial 6 interface of Router1 to ace of Router1 to 1G;.1A.16.1 ;@@.;@1G;.1A.16.1 ;@@.;@@.;@@.6 and@.;@@.6 and enable the interface.
enable the interface.
Router1 ;con,ig< $ inter,ace seria# ' Router1 ;con,ig< $ inter,ace seria# ' Router1 ;con,igi,< $ ip
Router1 ;con,igi,< $ ip addresaddress 12A10A1'A1 //A//A//A's 12A10A1'A1 //A//A//A' Router1 ;con,igi,< $ no s*ut
Router1 ;con,igi,< $ no s*ut Step /
Step /
Connect to Router; and assign it a host name of
Connect to Router; and assign it a host name of RouterARouterA Router! enab#e
Router! enab#e Router$ con, t Router$ con, t
Router ;con,ig< $ *ostname Router Router ;con,ig< $ *ostname Router Router ;con,ig< $
Router ;con,ig< $ Step 0
Step 0
et the P address for
et the P address for the !thernet 6 interfacthe !thernet 6 interface to 16.1.1.;.;@@.;@@.;@@e to 16.1.1.;.;@@.;@@.;@@.6 and enable the.6 and enable the interface.
interface.
Router ;con,ig< $ inter,ace Et*ernet ' Router ;con,ig< $ inter,ace Et*ernet ' Router ;con,igi,< $ ip
Router ;con,igi,< $ ip addresaddress 1'A1A1A s 1'A1A1A //A//A//A//A//A//A'' Router ;con,igi,< $ no s*utdo(n
Router ;con,igi,< $ no s*utdo(n Step 2
Step 2
Connect to router9 and assign it a host name of
Connect to router9 and assign it a host name of Router%Router%.. Router! enab#e Router! enab#e Router$con, t Router$con, t 1 1
Router ;con,ig< $ *ostname Router% Step 4
Configure an P address of 1G;.1A.16.; ;@@.;@@.;@@.6 on the serial 6 interfa ce and enable the interface.
Router% ;con,ig< $ inter,ace seria# '
Router% ;con,igi,< $ ip address 12A10A1'A //A//A//A' Router% ;con,igi,< $ no s*utdo(n
Step
*rom router1 tr" to ping Router;&s !thernet interface. Router1:ping 16.1.1.;
Step 1'
$r" to ping Router9&s serial 6 interface. Router1$ ping 12A10A1'A
Step 11
erif" that the lines and protocols are up for all of Router1&s interface. Router1$s*o( ip inter,ace brie,
Step 1
2ispla" Router1&s running configuration and )erif" that the P address appear. Router1$s*o( runningcon,ig
Step 1"
2ispla" detailed P information about each interface on Router1. Router1$ s*o( ip inter,ace
Lab 1': 8ddress Reso#ution Protoco#
Objective: Configure router1 and ; with P addresses and ping between them to test
connecti)it". $hen )iew the entries stored in the 0ddress Resolution Protocol ,0RP/ table. Background:
Lab Equipment: Router 1 and router ; from eRouters menu. Procedure:
Step 1
Connect to router1 and t"pe the command to )iew the 0RP table. Router! enab#e
Router$ s*o( arp Step
0ssign an P address of 16.1.1.1 ;@@.;@@.;@@.6 to the !thernet 6 interface of Router1. Router$ con, termina#
Router ;con,ig< $ inter,ace Et*ernet '
Router ;con,igi,< $ ip address 1'A1A1A1 //A//A//A' Router ;con,igi,< $ no s*utdo(n
Router ;con,igi,< $ e&it Step "
iew the 0RP table again. Router ;con,ig< $ e&it Router$ s*o( arp Step %
(ow connect to router; and configure its !thernet 6 interface with an P address 16.1.1.;H;9.
Router$ con, termina#
Router ;con,ig< $ inter,ace Et*ernet '
Router ;con,igi,< $ ip address 1'A1A1A //A//A//A' Router ;con,igi,< $ no s*utdo(n
Router ;con,igi,< $ e&it Step /
0 connection should now exist between the router 1 and router ; !thernet interfaces. $o ensure that the connection is functional ping the P address of Router1&s !thernet 6 P address of Router;.
Router ;con,igi,< $ e&it Router$ ping 1'A1A1A1 Step 0
iew the 0RP table on Router ; and notice the entr". Router$ s*o( arp
Step 2
(ow clear the 0RP table. Router $ c#ear arp
Step 4
iew the 0RP table one last time and notice what entries are there. Router$ s*o( arp
Lab 11: Creating a >ost Tab#e
Objective: Become familiar with the router&s host table. Iost tables can be used to set names for commonl" used P addresses which helps with troubleshooting.
Background:
Lab Equipment: router1 from eRouters menu. Procedure:
Step 1
Connect to Router1 and set the host name to Ca#i,orniaA Router! enab#e
Router$ con,ig t
Router ;con,ig< $ *ostname Ca#i,ornia Ca#i,ornia ;con,ig< $
Step
Configure an P address of [email protected];.8A.16 ;@@.;@@.;@@.;96 on the !thernet 6 interfaces be sure to enable the interface.
Ca#i,ornia ;con,ig< $ inter,ace Et*ernet '
Ca#i,ornia ;con,igi,< $ ip address 1/A%A"0A1' //A//A//A%' Ca#i,ornia ;con,igi,< $no s*utdo(n
Step "
Connect to router; and set the host name to Tampa. Router! enab#e
Router$ con,ig t
Router ;con,ig< $ *ostname tampa Tampa ;con,ig< $
Step %
Configure an P address of [email protected];.8A.1; ;@@.;@@.;@@.;96 on the !thernet 6 interface be sure to enable the interface.
Tampa ;con,ig< $ inter,ace Et*ernet '
Tampa ;con,igi,< $ ip address 1/A%A"0A1 //A//A//A%'
Tampa ;con,igi,< $no s*utdo(n Step %
!xit interface mode. #ou do not ha)e to t"pe California&s !thernet 6 P address e)er" time "ou tr" to ping it from $ampa so set a host table entr" for California using the P address [email protected];.8A.16.
Tampa ;con,ig< $ ip *ost Ca#i,ornia 1/A%A"0A1' Tampa ;con,ig$< e&it
Step /
(ow "ou should be able to ping California&s !thernet 6 P address from $ampa ?ust b" t"ping ping California.
Tampa$ ping Ca#i,ornia Step 0
5se the s*o( *osts commands to )erif" that the entr" is stored in the router&s host table.
Tampa$ s*o( *osts
Lab 1: Static Routers
Objective
% Configure Router1 ; and 9 with P addresses and then add static router for all routers.Background:
Lab Equipment: router1 router; and router9 from eRouters menus.
?oa#s:
• et the host name and bring up the interfaces. • Ping the directl" connected interfaces.
• Configure static routes for the topolog". • erif" that "ou can ping all routers.
Procedure: Step 1
Configure Router1 ; and 9 to the specifications outlined in the table and diagram below.
2e)ice Router 1 Router ; Router 9
Iost (ame Router 1 Router ; Router 9 !thernet 6 16.1.1.1H;9 16.1.1.;H;9
erial 6 1;[email protected];9 1;[email protected].;H;9
Step
4n each router )erif" that "ou can ping the directl" connected neighbours. Router1$ ping 1'A1A1A
Router1$ ping 1A"A1'A Router$ ping 1'A1A1A1 Router%$ ping 1A/A1'A1 Step "
(ow "ou need to establish static routes on each router to an" location that is not directl" connected. Router1 is directl" connected to both router; and router9 so it will not need an" static routes.
4n router9 enter global configuration mode and think about what the static route
command should be. #ou know that "ou currentl" cannot reach router; becaus e it is not directl" connected. 4ff of router9&s serial interfaces is network 1;[email protected] which is
connected to router1. Router1 is also connected to network 16.1.1.6 which "ou would also like to access. n this case "ou will need a static route for network 16.1.1.6. on router9 what command should "ou use to establish a static route to network 16.1.1.6K Router%$ con, term
Router% ;con,< $ ip route 1'A1A1A' //A//A//A' 1A/A1'A1
#ou established a route to network 16.1.1.6. (ow whene)er a packet of information lea)es Router9 destined for network 16.1.1.6 it will first be sent to P address 1;[email protected] on Router1.
Step %
(ow tr" to ping Router1&s serial 6 interface Router1&s !thernet 6 interface and Router;&s !thernet 6 interface.
Router%$ ping 1A/A1'A1 Router%$ ping 1'A1A1A1 Router%$ ping 1'A1A1A
Consider wh" the ping to 16.1.1.; ,Router;&s !thernet 6 interface/ was unsuccessful. 0 packet lea)es Router9&s serial 6 interface destined for 16.1.1.;. Because the destination address is on the 16.1.1.6 network and the static route on Router9 stipulates that traffic destined for the network should first be sent to 1;[email protected] the packet will tra)el to
1;[email protected]. When the packet reaches Router1 the router send the packet out the interface that is directl" connected to the 16.1.1.6 network. Router; picks up that packet on its !thernet 6 interface and attempts to send a response packet to confirm receipt. Router; examines the source P address of the recei)ed packet which is 1;[email protected].; ,Router9&s serial 6 interface/. Router; does not ha)e a route network 1;[email protected] so it drops the packet. $his is wh" the ping was not successful.
Step /
Lust to make sure the static route on Router9 worked )iew the routing table to see if the static route has been added there.
Router%$ s*o( ip route Step 0
$o enable Router9 to ping 16.1.1.; connect to Router; and configure static route back to Router9&s network. $"pe the command that will set a static route on Router; for the network 1;[email protected].
Router$ con,ig term
Router ;con,ig< $ ip route 1A/A1'A' /A//A//A' 1'A1A1A1 Router ;con,ig< $ e&it
Conse3uentl" an" data sent to network 1;[email protected] will go to 16.1.1.1 first. Step 2
Connect to Router9 again and make sure "ou can ping router1&s serial 6 interface. Router1&s !thernet 6 interface and Router;&s !thernet 6 interface.
Router%$ ping 1A/A1'A1 Router%$ ping 1'A1A1A1 Router$ ping 1'A1A1A Step 4
!xamine the routing table on Router;. Router$ s*o( ip route
Codes: Cconnected= S static= ))?RP= RR)P= 3mobi#e= BB?P= 6 E)?RP= EJ E)?RP e&terna#= O OSP= )8OSP inter area= E1 OSP e&terna# t5pe1= E OSP e&terna# t5pe = E E?P= i )S)S= L1 K )S)S #eve#1= L K )S)S #eve#= candidate de,au#t= + per user static route
Matewa" of last resort is not set
C 1'A1A1A'M% is direct#5 connected 1'A1A1A S 1A/A1'A'M% N1M1' via 1'A1A1A1
n the S 1A/A1'A'M%N1M1' via 1'A1A1A1 line of output the denotes the static route. (ext the destination network and its subnet information ,1;[email protected];9/ are displa"ed.
$he N1M1' represents the administrati)e distance which is 1 b" default and the metric ,hop count in this case/ which is '. $he word )ia signals the next hop address the packet should be sent to which in this case is 1'A1A1A1.
Lab 1": Routing )n,ormation Protoco#
Objective: Configure Router 1 ; and 9 with P addresses and the Routing nformation Protocol.
Background:
Lab Equipment: Router1 and Router ; and router 9 from eRouters menu.
?oa#s:
• et the host name and bring up the interface. • Configure RP.
• elect the directl" connected networks. • 2ispla" the routing table.
• 2ispla" the RP protocol information.
Procedure: Step 1
Configure Router1 ; and 9 to the specifications outlined in the table and diagram below.
2e)ice Router 1 Router ; Router 9
Iost (ame Router 1 Router ; Router 9 !thernet 6 16.1.1.1H;9 16.1.1.;H;9
erial 6 1G;.1A.16.1H;9 1G;.1A.16.;H;9
Step
4n each router )erif" that "ou can ping the directl" connected neighbours. Router1$ ping 1'A1A1A
Router1$ ping 12A10A1'A Router$ping 1'A1A1A1 Router%$ ping 12A10A1'A1 Step
0dd RP to router1. Router1$
Router1$ con,igure termina# Router1 ;con,ig< $ router rip Router1 ;con,igrouter< $ Step "
0dd the network,s/ to which Router1 is directl" connected. Router1 ;con,igrouter< $ net(ork 1'A'A'A'
Router1 ;con,igrouter< $ net(ork 12A10A'A' Step %
0dd RP to Router;. Router$
Router$ con,igure termina# Router ;con,ig< $ router rip Router ;con,igrouter< $ Step /
0dd the network,s/ to which Router; is directl" connected. Router ;con,igrouter< $ net(ork 1'A'A'A'
Step 0
0dd RP to Router 9 Router%$
Router%$ con,igure termina# Router% ;con,ig< $ router rip Router% ;con,igrouter< $ Step 2
0dd the network,s/ to which Router9 is directl" connected. Router% ;con,igrouter< $ net(ork 12A10A'A'
Step 4
(ow RP should be running on all three routers. ee if "ou can ping between routers that are not directl" connected. *or instance from Router; "ou should now be able to ping Router9&s serial 6 interface.
Router $ ping 12A10A1'A Step
Connect to Router9 and ping Router;&s !thernet 6 interface. Router%$ ping 1'A1A1A
f "ou can ping both de)ices then "ou ha)e correctl" configured routing. f the pings were not successful trace back through the steps.
Step 1'
(ow issue the command to displa" the routing table on Router9. Router%$ s*o( ip route
Step 11
*inall" displa" specific P routing protocol information on Router9. Router%$ s*o( ip protoco#
Lab 1%: Troub#es*ooting Routing )n,ormation Protoco#
Objective: Configure P addresses on Router1 ; and 9 with Routing nformation Protocol ,RP/ as the routing protocol. $hen obser)e routing acti)it" using the debug ip rip command and examine routers using the show ip route command.
Background:
Lab Equipment: Router1 router; and router9 from eRouter menu. Procedure:
Step 1
Configure Router1 ; and 9 to the specifications outlined in the table below%
2e)ice Router 1 Router ; Router 9
Iost (ame Router 1 Router ; Router 9 !thernet 6 1J;.1A>.1.1H;9 1J;.1A>.1.;H;9
erial 6 1J;.1A>.;.1H;9 1J;.1A>.;.;H;9
Step
5se the proper network statements to configure RP on all routers. Router1$ con, t
Router1 ;con,ig< $ router rip
Router1 ;con,igrouter< $ net(ork 1A104A1A' Router1 ;con,igrouter< $ net(ork 1A104AA' Router1 ;con,igrouter< $ e&it
Router1 ;con,ig< $ e&it Router1$
Router$ con,ig t
Router ;con,ig< $ router rip
Router ;con,igrouter< $ net(ork 1A104A1A' Router ;con,igrouter< $ e&it
Router ;con,ig< $ e&it Router$
Router%$ con, t
Router% ;con,ig< $ router rip
Router% ;con,igrouter< $ net(ork 1A104AA' Router% ;con,igrouter< $ e&it
Router% ;con,ig< $ e&it Router%$
Step "
5se the show ip route command to confirm that the routes are being recei)ed on all routers.
Router1$ s*o( ip route Router$ s*o( ip route Router%$ s*o( ip route
Step %
4nce the routers ha)e recei)ed the routes execute the debug ip rip command at the pri)ileged mode prompt on Router1.
Router1$ debug ip rip
4bser)e the output on Router1&s terminal screen. ,$he output could take up to A6 seconds to appear./
Step /
$o turn off the debug command use the no ke"word in front of the command ,i.e= no debug ip rip/
Router1$ no debug ip rip Step 0
iew the routing table entries on router; and router9. (otice the administrati)e distances and metrics for these routes.
Router$ s*o( ip route Step 2
ake sure "ou can ping all de)ices on the network from e)er" other de)ice. f all pings do not succeed then "ou will need to troubleshoot the router configurations toe ensure "ou configured all settings correctl".
Router1$ ping 1A104A1A Router1$ ping 1A104AA Router$ ping 1A104A1A1 Router$ ping 1A104AA
Router%$ ping 1A104AA1 Router%$ ping 1A104A1A
Lab 1/: )nterior ?ate(a5 Routing Protoco#
Objective: Configure Router1 ; and 9 with P addresses and nterior Matewa" Routing Protocol ,MRP/.
Background:
Lab Equipment: Router1 router; and router 9 from eRouter menu
?oa#s:
• et the host name and bring up the interfaces. • Configure MRP.
• elect the directl" connected networks. • 2ispla" the routing table.
• 2ispla" the MRP protocol information.
Procedure: Step 1
Configure router1 router; and router9 to the specifications outlined in the table and diagram below.
2e)ice Router 1 Router ; Router 9
Iost (ame Router 1 Router ; Router 9 !thernet 6 16.1.1.1H;9 16.1.1.;H;9
erial 6 1G;.1A.16.1H;9 1G;.1A.16.;H;9
Step
0fter "ou ha)e configured the correct P address on each interface )erif" that each router can ping its directl" connected neighbours.
Router1$ ping 1'A1A1A Router1$ ping 12A10A1'A Router$ ping 1'A1A1A1 Router%$ ping 12A10A1'A1 Step
0ccess global configuration mode on Router1 and enter the command to configure MRP as the routing protocol on Router1= use the autonomous s"stem number 166. Router1$ con,ig termina#
Router1 ;con,ig< $ router igrp 1''
Router1 ;con,igrouter< $ Step "
0dd network,s/ to which Router1 is directl" connected. Router1 ;con,igrouter< $ net(ork 1'A'A'A'
Router1 ;con,igrouter< $ net(ork 12A10A'A' Step %
(ow enter global configuration mode on Router; and add MRP. Remember to use the same autonomous s"stem number.
Router$ con,ig termina#
Router ;con,ig< $ router igrp 1'' Router ;con,ig router< $
Step /
0dd the network,s/ to which Router; is directl" connected. Router ;con,igrouter< $ net(ork 1'A'A'A'
Step 0
(ow enter global configuration mode on Router1 and add MRP. Remember to use the same autonomous s"stem number.
Router%$ con,ig termina#
Router% ;con,ig< $ router igrp 1'' Router% ;con,ig router< $
Step 2
0dd the network,s/ to which Router9 is directl" connected. Router% ;con,igrouter< $ net(ork 12A10A'A'
Step 4
MRP should now be running on all three routers. ee if pings are successful between routers that are not directl" connected. *rom router; "ou should now be able to ping router9&s serial 6 interface. *rom router9 "ou should be able to ping router;&s !thernet 6 interface.
Router$ ping 121A10A1'A Router%$ ping 1'A1A1A
f "ou can ping both de)ices then "ou ha)e correctl" configured routing. f the pings were not successful trace back through the steps.
Step
(ow displa" the routing table on Router9.
Router% $ s*o( ip route Step 1'
*inall" displa" specific P routing protocol information on Router9. Router%$ s*o( ip protoco#
L8B 10: Connectivit5 Test (it*
tracerouteObjective: -earn how to use traceroute command. $his command is used to map the P addresses that a packet tra)els through to get from one de)ice to another.
Background:
Lab Equipment: router1 router; and router9 from eRouter menu Procedure:
Step 1
Configure router1 ; and 9 to the specifications outlined on the below diagram%
2e)ice Router 1 Router ; Router 9
Iost (ame Router 1 Router ; Router 9 !thernet 6 1J;.1A>.1.1H;9 1J;.1A>.1.;H;9
erial 6 1J;.1A>.;.1H;9 1J;.1A>.;.;H;9
Step
0fter "ou ha)e configured the proper P addresses enable RP routing across all three routes. ake sure "ou use the proper network statements.
Router1$ con, t
Router1 ;con,ig< $ router rip
Router1 ;con,igrouter< $ net(ork 1A104A1A' Router1 ;con,igrouter< $ net(ork 1A104AA' Router1 ;con,igrouter< $ e&it
Router1 ;con,ig< $ e&it Router1$
Router$ con, t
Router ;con,ig< $ router rip
Router ;con,igrouter< $ net(ork 1A104A1A' Router ;con,igrouter< $ e&it
Router ;con,ig< $ e&it Router$
Router%$ con, t
Router% ;con,ig< $ router rip
Router% ;con,igrouter< $ net(ork 1A104AA' Router% ;con,igrouter< $ e&it
Router% ;con,ig< $ e&it Router%$
Step "
*rom router1 ping the directl" connected routers and their interfaces which are router; !thernet 6 and router9 serial 6.
Router1$ ping 1A104A1A Router1$ ping 1A104AA Step %
Because RP routing is enabled "ou should be able to ping non+directl" connected routers. Connect to router; and ping router9&s serial 6 interface.
Router$ ping 1A104AA Step /
$he global behind the traceroute command is to help "ou troubleshoot and determine the path a packet is taking to reach a destination de)ice. n this example there are three routers and onl" one path to an" destination. $race the route from Router9&s serial 6 interface.
Router$ traceroute 1A104AA Step 0
4bser)e the output from the traceroute command. t lists Router1&s !thernet 6 P
address and then the destination P address. $his means that the packet lea)es Router;&s !thernet 6 interface and passes through Router1&s !thernet 6 interface before reaching Router9&s serial 6 interface.
Lab 12: Saving Router Con,iguration
Objective: -earn how to back up a router&s configuration in case the configuration in case the configuration is accidentl" deleted or the router fails.
Background:
Lab Equipment: Router9 from the eRouters menu and PC 1 from the etations menu. Procedure:
Step 1
Connect to router9 and change the host name to $ampa. Router! enab#e
Router$ con, t
Router ;con,ig< $ *ostname Tampa Tampa ;con,ig< $
Step
0ssign the P address of ;9.8G.;.1 ;@@.;@@.;@@.6 to the !thernet 6 interfac e and then enable the interface.
Tampa ;con,ig< $ inter,ace Et*ernet '
Tampa ;con,igi,< $ ip address %A"2AA1 //A//A//A' Tampa ;con,igi,< $ no s*utdo(n
Step "
Connect to PC 1 b" selecting it from the etation menu. $"pe the command that will allow "ou to configure PC1&s P address and default gatewa". et the P address to ;9.8G.;.;@; with a subnet mask of ;@@.;@@.;@@.6. et the default gatewa" to $ampa&s !thernet 6 P address ,;9.8G.;.1/.
C :! (inipc,g Step %
*rom PC1 ping $ampa&s !thernet 6 interface to make sure connecti)it" exists to the default gatewa".
C :! ping %A"2AA1 Step /
Connect to $ampa again exit interface configuration mode and then exit global configuration mode.
Cop" the running configuration to the $*$P ser)er on PC1. Tampa ;con,igi,< $ e&it
Tampa ;con,ig< $ e&it
Tampa$ cop5 running con,ig t,tp Step 0
When prompted for the address or name of the $*$P ser)er pro)ides PC1&s P address ,;9.8G.;.;@;/ press !($!R and then pro)ide the name of the configuration file that will be stored on PC1. (ame the configuration file $ampaNconfig.
%A"2AA/ Tampacon,ig
0fter "ou press !($!R the router will take a few seconds to establish the connection= then "ou will see it after cop" the configuration file and tell "ou how long it took. Step 2
(ext connect back to PC1 and t"pe the show tftp+configs command in order to displa" the configurations that are stored on the tftp ser)er. ,(ote% this command does not work on real PCs ?ust in the (etim program/
C : !s*o( t,tpcon,igs
f "ou see the configuration in the list "ou ha)e successfull" completed the lab. -ote: lab 1J builds on this lab&s configuration. $o complete lab 1J. Please continue with the instructions for lab 1J in this lab. f "ou load another lab from the -ab (a)igator "our changes will be lost and -ab 1J will not work properl".
Lab 14: Loading Router Con,igurations
Objective: become familiar with the process of loading router configurations. Background:
Lab Equipment: router9 from eRouters menu ,tampa from lab 1>/
Prerequisite:
"ou must ha)e completed -ab 1>% a)ing Router Configurations in order to complete this lab successfull".Procedure: Step 1
(ow that the configuration is stored on the $*$P ser)er change the hostname of the router. $his will pro)e that the configuration was copied from the $*$P ser)er. -og on to $ampa and enter global configuration mode.
Tampa$ con,ig t Tampa ;con,ig< $ Step
Change the host name to BadNRouter. Tampa ;con,ig< $ *ostname BadRouter Step "
Cop" the configuration "ou stored on the $*$P ser)er into the runningNconfiguration on BadNRouter.
Badrouter ;con,ig< $ e&it
Badrouter$ cop5 t,tp runningcon,ig Step %
When the router prompts "ou for a name or an P address enter the P address of the $*$P ser)er.
0ddress or name of remote host OK;9.8G.;.;@; Step /
!nter the name of the configuration file that should be obtained from the $*$P ser)er. ource filename OK $ampaNconfig
Step 0
$he router will download the configuration and load it into the running configuration. 0fterward the host name will be restored to what it was the configuration was sa)ed. Tampa$
Lab 1: Cop5ing and Pasting Con,iguration
Objective: learn to sa)e reload and paste modified configuration from within the simulator Background:
Lab Equipment: router1 from eRouters menu
Cisco routers use a command+line parsing routine. !ach time "ou press a carriage return the router passes that command and executes the code that is re3uired to carr" out the command. $he simulator works the same wa". When "ou are working with the simulator "ou can easil" switch between de)ices using the menus across the top of the window. $he simulator offers some built+in sa)ing and loading options.
Procedure: Step 1
et the host name of router1 to Router1 Router! enab#e
Router ;con,ig< $ *ostname Router1 Step
elect the a)e ingle 2e)ice Config option from the *ile menu. $he program will ask for a file name= use Router1 and click a)e. a)e the files to a con)enient location that "ou will remember easil".
Step "
0fter "ou ha)e sa)ed the file exit the simulator and then start it again. Reload tand+ 0lone -ab ;6 from the -ab (a)igator.
Step %
elect the -oad ingle 2e)ice Config ,o)erwrite/ option from the *ile menu. elect the Router1.rtr file that "ou ?ust sa)ed and then click 4pen.
Step /
$he program will then open the file and execute all the commands that were pre)iousl" sa)ed on the de)ice. 4nce it is finished "ou will notice that the hostname has been restored.
Step 0
$wo other options under the *ile menu offer similar functionalit"% the a)e ulti
2e)ices Configs option and the -oad ulti 2e)ices Configs option. $hese two options respecti)el" will sa)e and load the configurations for all the de)ices.
Step 2
a)ed files can be edited easil". inimiFe the program and double+click the Roure1.rtr file that "ou ?ust sa)ed to "our computer. When the operating s"stem asks "ou which program "ou would like to use to open the file select icrosoft (otepad.
Step 4
(otepad will launch with router1&s running configuration displa"ed. #ou will see the hostname command a few lines down. Change this line from the hostname Router1 to hostname iami. a)e "our changes.
Step
(ow repeat step 69 and obser)e the hostname change. Step 1'
f "ou ha)e created a configuration that "ou want to paste into the routers the program offers a tool to allow "ou to do this.
Step 11
*irst make sure Router1 is open. elect the Paste Real Router Configs option from the *ile menu this will open a window that will allow "ou to paste configuration files "ou would like to ha)e executed on Router1. n the empt" text box t"pe the following% >ostname Router1
)nter,ace Et*ernet '
)p address 1A1A1A1 //A//A//A' -o s*utdo(n
E&it Step 1
0fter "ou ha)e t"ped the commands abo)e click the 4Q button. $he router will 3uickl" execute the commands. (otice that the host name of the router will change back to
Router1. Step 1"
!xecute the show ip interface brief command on Router1 to see that the ip address has been set for !thernet 6.
Lab ': )ntegrated Service 6igita# -et(ork
Objective: learn how to setup ntegrated er)ices 2igital (etwork ,2(/ on Cisco routers. Background:
Lab Equipment: router1 and router; from eRouters menu. Procedure:
Step 1
Connect to router1 and assign it a hostname of Router1A Router!enab#e
Router$ con, t
Router ;con,ig< $ *ostname Router1 Step
Connect to Router; and assign it a host name of RouterA Router! enab#e
Router$con, t
Router ;con,ig< $ *ostname RouterA Step "
(ow set up the connection between router1 and router ; using the BR ports. 0ssign the BR 6 interface of Router1 an P address of 9;.89.16.1 with a ;@@.;@@.;@@.6 subnet mask enable the interface and then exit interface configuration mode.
Router1 ;con,ig< $ inter,ace BR)'
Router1 ;con,igi,< $ ip address %A"%A1'A1 //A//A//A' Router1 ;con,igi,< $ no s*ut
Router1 ;con,igi,< $ e&it Router1 ;con,ig< $
Step %
(ow connect to Router; and assign its BR 6 interface an P address of 9;.89.16.1;1 with a ;@@.;@@.;@@.6 subnet mask. !nable the interface and then exit interface
configuration mode.
Router ;con,ig< $ inter,ace BR)'
Router ;con,igi,< $ ip address %A"%A1'A11 //A//A//A' Router ;con,igi,< $ no s*ut
Router ;con,igi,< $ e&it Router ;con,ig< $
Step /
Return to Router1 and start to configure 2(. *irst specif" the 2( switch t"pe that will be used. f "ou use the imulator defaults the switch t"pe is basic+ni. $here are two different wa"s to configure the t"pe of 2( switch t"pe the router should use. #ou can specif" the command globall" for all BR interfaces on the router or "ou can make the switch t"pe interface+ specific. n this instance enter the switch t"pe globall" on "our router.
Router1 ;con,ig< $ isdn s(itc*t5pe basicni Step 0
Configure some specific information for this BR interface. *irst assign it the 2( P2 ,er)ice Profile dentifier/. et the P2 on the BR interface of Router1 b" using the isdn spid1 command. 0 P2 is a number supplied b" P to identif" the line
configuration of the BR ser)ice. !ach P2 points to line setup and configure
information on the P&s 2( switch. f "ou use the default for the 2( switch the P2 for Router1 will be 8;1GG>;6616166.
Router1 ;con,ig< $inter,ace bri '
Router1 ;con,igi,< $ isdn spid 1 "1224''1'1'' Step 2
(ow that "ou ha)e configured the switch t"pe and P2 -a"er1 connecti)it" should exist. -a"er1 connecti)it" occurs between the 2( switch and the router. $o )erif" that -a"er1 connecti)it" exists use the s*o( isdn status command at the pri)ileged mode prompt. ake sure that the -a"er; state is 3u#tip#erameEstab#is*edA Router1 ;con,igi,< $ e&it
Router1 ;con,ig< $ e&it Router1$ s*o( isdn status Step 4
(ow configure the number that will need to be dialled on the 2( switch to establish a -a"er8 connection= this is called the dialer string. et the dialer string on Router1&s BR 6 interface. f "ou are using the default configuration use GG>;661.
Router1$ con,ig t
Router1 ;con,ig< $ inter,ace bri '
Router1 ;con,ig< $ dia#er string 224''1 Step
Because 2( costs mone" when the connection is up the connection should onl" be acti)e when it is being used. #ou can use dialer groups and dialer lists to accomplish this. 0 dialer list either permits or denies traffic. pecif" a dialer list of protoco# ip permitQ conse3uentl" all P traffic will be permitted. $o setup a dialer list use the dia#er#ist command on global configure mode.
Router1 ;con,igi,< $ e&it
Router1 ;con,ig< $ dia#er#ist 1 protoco# ip permit Step 1'
$he dialer list must be associated with an interface. 0dd the dialer list to the 2( BR 6 interface b" using the dia#ergroup 1 command.
Router1 ;con,ig< $ inter,ace bri ' Router1 ;con,igi,< $ dia#er group 1 Step 11
(ow that "ou ha)e set up 2( on Router1 "ou need to perform the same steps for Router; but with some slight modifications. Connect to Router; and specif" the 2( switch t"pe that "ou will be using. f "ou use the imulator defaults the switch t"pe id basic+ni. pecif" the switch t"pe in global configuration mode on the router.
Router ;con,ig< $ isdn s(itc*t5pe basicni Step 1
(ext pro)ide the P2 for this interface. f "ou use the imulator defaults for the 2( switch the P2 for Router; will be 8;1GG>;6616166.
Router ;con,ig< $ inter,ace bri '
Router ;con,igi,< $ isdn spid1 "1224''1'1'' Step 1"
(ow that "ou ha)e set up the switch t"pe and P2 -a"er1 connecti)it" should be established. $o )erif" that -a"er 1 connecti)it" exists use the s*o( isdn status command at the pri)ileged mode prompt. ake sure that the -a"er; state is 3u#tip#erameEstab#is*edA
Router ;con,igi,< $ e&it Router ;con,ig< $ e&it Router$ s*oe isdn status Step 1%
(ow configure the dialer string that "ou will need to dial on the 2( switch in order to establish a -a"er 8 connection. et the dialer string on Router;&s BR 6 interface. f "ou are using the default configuration use GG>;66;.
Router$ con,ig t
Router ;con,ig< $inter,ace bri '
Router ;con,igi,< $dia#er string 224'' Step 1/
Configure the dialer list named protoco# ip permit on Router; to permit all P traffic Router ;con,igi,< $ e&it
Router ;con,ig< $ dia#er#ist 1 protoco# ip permit
Step 10
5se the dia#ergroup 1 command to add the dialer list to the 2( BR 6 interface. Router ;con,ig< $ inter,ace bri '
Router ;con,igi,< $ dai#ergroup 1 Step 12
(ow that both routers are configured for 2( see if "ou can ping the router on the other side of the connection. *rom Router; ping Router1&s BR 6 interface ,P address 9;.89.16.1/.
Router ;con,igi,< $ e&it Router ;con,ig< $ e&it Router$ ping %A"%A1'A1 Step 14
f the ping is successful 2( is working. erif" this b" issuing the s*o( isdn status command on Router;.
Router$ s*o( isdn status
!xamine the -a"er8 settings= there should be one acti)e -a"er8 call. #ou should also see that the P2 is )alid in -a"er;. $his information is useful for troubleshooting. Step 1
*inall" )iew the configuration changes "ou ha)e made b" displa"ing the running configuration.
Router$ s*o( runningcon,ig
Lab 1: )ntroduction to S(itc*
Objective: )iew some basic areas of Cisco Catal"st 1J66 switch. Background:
Lab Equipment: switch 1 from the ewitches menu Procedure:
Step 1
Connect to witch1. #ou should see the user mode prompt. !
Step
!nter the command to displa" the 4 )ersion of the switch. !s*o( version
What )ersion of the 4 is runningK NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 36
What is the model number of the switchK NNNNNNNNNNNNNNNNNN
What is the Base !thernet 0ddress of the switchK NNNNNNNNNNNNNNNNNNNNNNN Step "
2ispla" the interface of the switch !s*o( inter,aces
Iow man" of the interfaces are 16 bpsK NNNNNNNNNNNNNNNNNNNNN
Iow man" ports are 166 bps *ast !thernetK NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Step %
!nter the command to )iew the 0C address table. !s*o( macaddresstab#e
Iow man" d"namic entries ha)e been learnedK NNNNNNNNNNNNNNN Step /
2ispla" the running configuration. !s*o( runningcon,ig
Lab : )ntroduction to Basic S(itc* Command
Objective: $o become familiar with the basic configuration of the Cisco Catal"st 1J1; switch.
Background:
Lab Equipment: witch 1 from ewitches menu Procedure:
Step 1
Connect to witch1. #ou should see the user mode prompt. !
Step
2ispla" the list of commands a)ailable at this prompt. !.
Step "
(ow enter pri)ileged mode. !enab#e
$
Step %
2ispla" the a)ailable commands in pri)ileged mode $.
Lab ": /' S(itc* Basic -ative )OS
Objective: Basic commands of (ati)e 4 on ;J@6 and 8@@6. Lab Equipment: ;J@6 switch
Background: Procedure:
Con,iguration:
Step 1
0fter connecting "our PC to the Console Port.
• witch con6 is now a)ailable. • Press R!$5R( to get started.
witch' ,5ser mode/ Step
$o !nter nto Pri)ilege modeH!xecuti)e ode *rom 5ser ode and ice ersa. S(itc*! enab#e
S(itc*$
S(itc*$ disab#e S(itc*!
Step "
$o !nter nto Mlobal Configuration ode S(itc*$ con,ig t
S(itc* ;con,ig< $ Step %
$o change the host name of switch. S(itc* ;con,ig< $ *ostname /'S78 /'S78 ;con,ig< $
Step /
et the message of the da" banner
S(utc* ;con,ig< $ banner motd $ >ELLO 7ELCO3E TO C)SCO 7ORL6$
Step 0
2ispla" the )ersion information of the switch
/'S78 $ s*o( version
Cisco nternetwork 4perating "stem oftware
)OS C/' So,t(are ;C/')/"L3<= version 1A1;'< E8= RELE8SE SOT78RE ;,c1<
Cop5rig*t 140''% b5 cisco S5stem= )ncA Compi#ed 7ed 13a5'% '/:'0 b5 8ntonio
)mage te&tbase: '&'''"'''= database: '&''46%%C
RO3: bootstrap program is C/' boot #oader
/' uptime is 2 *ours= 11 minutes S5stem returned to RO3 b5 po(eron
S5stem image ,i#e is U,#as*: c/'i/q"#mA11'AE8AbinV
Cisco 7SC/'% ;Po(er PC< processor ;revision L'< (it* 0//0DM41D b5tes o, memor5A
Processor broad )6 C8T'4'/W'C7 Last reset ,rom (armreset
Bridging so,t(areA
Running La5erM" S(itc*ing )mage
Et*ernetcontro##er 1 *as 1 ast Et*ernetM)EEE 4'A" inter,aces Et*ernetcontro##er *as 1 ast Et*ernetM)EEE 4'A" inter,aces Et*ernetcontro##er " *as 1 ?igabit Et*ernetM)EEE 4'A" inter,ace Et*ernetcontro##er 1 *as 1 ?igabit Et*ernetM)EEE 4'A" inter,ace
% ast Et*ernetM )EEE 4'A" inter,ace;s< ?igabit Et*ernetM)EEE 4'A" inter,ace;s<