CSC341 Network Management Lab Manual – I
1
Third Semester – BS (CS Com!uter S"ien"e #a"ult$
Dear students, The handbook helps you in practicing your practical labs in the subject CSC341 – Network anage!ent" This is the #rst basic le$el lab !anual o% the abo$ abo$e e !enti !ention oned ed su subje bject ct and and cont contai ains ns &' labs labs o% whic which h so!e so!e o% the! the! are are 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 %urther!ore, to learn and attend the cisco – routing and switching certi#cation" (n case case o% any any erro errors rs or guid guidel elin ines es you you can can cont contac actt the the %acult %aculty y thou though gh an application"
)egards r" Dilawar Dean o% CS *aculty *aculty +ahan ni$ersity
&
Third Semester – BS (CS Com!uter S"ien"e #a"ult$
Dear students, The handbook helps you in practicing your practical labs in the subject CSC341 – Network anage!ent" This is the #rst basic le$el lab !anual o% the abo$ abo$e e !enti !ention oned ed su subje bject ct and and cont contai ains ns &' labs labs o% whic which h so!e so!e o% the! the! are are 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 %urther!ore, to learn and attend the cisco – routing and switching certi#cation" (n case case o% any any erro errors rs or guid guidel elin ines es you you can can cont contac actt the the %acult %aculty y thou though gh an application"
)egards r" Dilawar Dean o% CS *aculty *aculty +ahan ni$ersity
&
Topics Covered -ab 1 .. Connecting to a )outer -ab& – (ntroduction to the /asic ser (nter%ace -ab 3 – (ntroduction to the basic Show Co!!ands -ab 4 – Cisco Disco$ery 0rotocol -ab – 2tended /asics -ab ' – /anner essage o% the Day -ab – Copy Co!!and -ab 5 – (ntroduction to the (nter%ace Con#guration C on#guration -ab 6 – (ntroduction to (nternet 0rotocol -ab 17 – 8ddress )esolution 0rotocol -ab 11 – Creating a 9ost Table -ab 1& – Static )outers -ab 13 – )outing (n%or!ation 0rotocol -ab 14 – Troubleshooting )outing (n%or!ation 0rotocol -ab 1 – (nterior :ateway )outing 0rotocol -ab 1' – Connecti$ity Test with
traceroute
-ab 1 – Sa$ing )outer Con#guration -ab 15 – -oading )outer Con#guration -ab 16 – Copying and 0asting Con#guration -ab &7 – (ntegrated Ser$ices Digital Network -ab &1 – (ntroduction to Switch -ab && – /asic Switch Co!!ands -ab &3 – &67 Switch /asic Nati$e (;S -ab &4 – Spanning Tree Tree 0rotocol on &67 Switch -ab & – 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 ;esost 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%' &7
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 Iost (ame !thernet 6 erial 6
Router 1 Router 1 16.1.1.1H;9 1;
[email protected];9
Router ; Router ; 16.1.1.;H;9
Router 9 Router 9 1;
[email protected].;H;9
&1
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.
&3
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 Iost (ame !thernet 6 erial 6
Router 1 Router 1 16.1.1.1H;9 1G;.1A.16.1H;9
Router ; Router ; 16.1.1.;H;9
Router 9 Router 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' &4
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 Iost (ame !thernet 6 erial 6
Router 1 Router 1 1J;.1A>.1.1H;9 1J;.1A>.;.1H;9
Router ; Router ; 1J;.1A>.1.;H;9
Router 9 Router 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 Iost (ame !thernet 6 erial 6
Router 1 Router 1 16.1.1.1H;9 1G;.1A.16.1H;9
Router ; Router ; 16.1.1.;H;9
Router 9 Router 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''
&5
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. &6
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*
traceroute
Objective: -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 Iost (ame !thernet 6 erial 6
Router 1 Router 1 1J;.1A>.1.1H;9 1J;.1A>.;.1H;9
Router ; Router ; 1J;.1A>.1.;H;9
Router 9 Router 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$ 37
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 31
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
3&
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 %
33
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.
34
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.
3
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< $ 3'
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 3
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 35
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 $
47
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$ 41
Step 0
2ispla" the )ersion information of the switch /'S78 $ s*o( version
Cisco nternetwork 4perating "stem oftware )OS C/' So,t(are ;C/')/"L3ard(are is ,ast Et*ernet= address is ''',A%04A'/'1 ;bia ''',A%04A'/'1<
$5 1@66 b"tes BW 16666 Qbit 2-# 1666 usec
Encapsu#ation 8RP8= #oopback not set
Qeepali)e set ,16 sec/
8utodup#e&= 8utospeed= media t5pe is 1''BaseTJ
nput flow+control is off output flow+control is unsupported 0RP t"pe% 0RP0 0RP $imeout 69%66%66 ueuing strateg5: ,i,o
4utput 3ueue% 6H96 ,siFeHmax/ @ minute input rate 6 bitsHsec 6 packetsHsec @ minute output rate 6 bitsHsec 6 packetsHsec YOutput Omitted!
Step 1/
2ispla" the information of the mode of interfaces ,switch port/ /'S78$ s*o( inter,aces s(itc*port or
/'S78$ s*o( inter,aces ,ast Et*ernet 'M1 s(itc*port
(ame% *a6H1 S(itc*port: Enab#ed 8dministration 3ode: d5namic desirab#e Operationa# 3ode: static access
0dministrati)e $runking !ncapsulation% dot 13
4
4perational trunking encapsulation% nati)e -egotiation o, trunking: on 8ccess 3ode @L8-: 1 ;de,au#t<
$runking (ati)e ode -0(%1 ,default/ 6;.1U.1-
$runk mode%
on off desirable nonegotiate
Channel%
"es
6 seconds
astEt*ernet 'M is do(n= #ine protoco# is do(n
!ncapsulation 0RP0 ending C2P packets e)er" A6 seconds Ioldtime is 1>6 seconds YOutput Omitted!
astEt*ernet 'M" is do(n= #ine protoco# is do(n
!ncapsulation 0RP0 ending C2P packets e)er" A6 seconds Ioldtime is 1>6 seconds astEt*ernet 'M% is up= #ine protoco# is up
!ncapsulation 0RP0 ending C2P packets e)er" A6 seconds Ioldtime is 1>6 seconds
?igabitEt*ernet 'M1 is do(n= #ine protoco# is do(n
!ncapsulation 0RP0 ending C2P packets e)er" A6 seconds Ioldtime is 1>6 seconds
?igabitEt*ernet 'M is do(n= #ine protoco# is do(n 7
!ncapsulation 0RP0 ending C2P packets e)er" A6 seconds Ioldtime is 1>6 seconds
Step
!nabled the C2P on the switch S(itc* ;con,ig< $ cdp run Step "
!nable C2P on the interface fast ethernet 6H1 S(itc* ;con,ig< $ inter,ace ,astet*ernet 'M1 S(itc* ;con,igi,< $ cdp enab#e Step "8
et he line console password on the switch ;J@6+W0 ,config/ : line console 6 ;J@6+W0 ,config+line/ : password cisco ;J@6+W0 ,config+line/ : login Step "B
erification line console password on the switch ;J@6+W0 con6 is now a)ailable Press R!$5R( to get started. 5ser access )erification Password% ;J@6+W0' enable Step "8
et the pri)ileged mode password in clear text ;J@6+W0 ,config/ : enable password cisco Step "B
erif"ing the pri)ileged mode password in clear text ;J@6+W0 : disable /'S78 ! enab#e Pass(ord: 1
/'S78$ Step "8
et the pri)ileged ode Password in encr"pted form /'S78 ;con,ig< $ enab#e secret cisco
$he enable secret "ou ha)e is the same as "our enable password. $his is not recommended. Reenter t*e enab#e secretA /'S78 ;con,ig 6x99 6x08 6x00 6x1A 6x0! 6T8@
Configuration last modified b" 16.6.6.;6 at 8+1+J8 6A%16%@6 -ocal updater 2 is 16.6.6.;6 on interface 1; ,lowest numbered -0( interface found/
'3
Step %B
erif"ing the $P tatus on ;J@6+W0 switch /'S7B $ s* vtp status
$P ersion
%;
Con,iguration Revision
:"
aximum -0(s supported locall"
%;@6
-umber o, e&isting @L8-s
:0
@TP Operating 3ode
:C#ient
@TP 6omain -ame
:C)SCO
$P Pruning ode
%2isabled
$P ; ode
%2isabled
$P $raps Meneration
%2isabled
2@ digest
%6x2@ 6T1> 6x99 6x08 6x00 6x1A 6x0! 6T8@
Configuration last modified b" 16.6.6.;6 at 8+1+J8 6A%16%@6
Step /
erif"ing the $P 0d)ertisement B" $rigger 5pdates ,0ddH2eleteHodif" )lan&s/ 4n ;J@6+W0 switch /'S78 ;con,ig< $ va#n / /'S78 ;con,igv#an< $ v#an /' /'S78 ;con,igv#an< $ v#an 2/ /'S78 ;con,igv#an< $ v#an 1'' Step 08
erif"ing the $P tatus on ;J@6+W0 switch after triggered update. /'S78 $s* vtp status
$P ersion
%;
Configuration Re)ision
%G
aximum -0(s supported locall" (umber of existing -0(s $P 4perating ode $P 2omain (ame
%166@ %16
%er)er %CC4 '4
$P Pruning ode
%2isabled
$P ; ode
%2isabled
$P $raps Meneration
%2isabled
2@ digest
%6x2@ 6T1> 6x99 6x08 6x00 6x1A 6x0! 6T8@
Configuration last modified b" 16.6.6.;6 at 8+1+J8 6A%16%@6 -ocal updater 2 is 16.6.6.;6 on interface 1; ,lowest numbered -0( interface found/
Step 0B
erif"ing the $P tatus on ;J@6+WB switch after triggered update. /'S7B $s* vtp status
$P ersion
%;
Configuration Re)ision
%G
aximum -0(s supported locall" (umber of existing -0(s $P 4perating ode
%;@6 %16
%Client
$P 2omain (ame
%CC4
$P Pruning ode
%2isabled
$P ; ode
%2isabled
$P $raps Meneration
%2isabled
2@ digest
%6x2@ 6T1> 6x99 6x08 6x00 6x1A 6x0! 6T8@
Configuration last modified b" 16.6.6.;6 at 8+1+J8 6A%16%@6
Step 2
erif"ing the -0( database on ;J@6+W0 switch after making -0(&s /'S78 $ s*o( v#an
-0(
(0!
tatus
Ports
1
default
acti)e
*a6H; *a6H8 *a6H9 *a6H@ *a6HA *a6HG *a6H> *a6HJ *a6H16 *a6H11. *a6H1; *a6H18 *a6H19 *a6H1@ *a6H1A *a6H1G *a6H1> *a6H1J *a6H;6
'
*a6H;1 *a6H;; *a6;8 *a6H;9 Mi6H1 Mi6H; ;
esp
acti)e
*a6H1
;@
-0(66;@
acti)e
@6
-0(66@6
acti)e
G@
-0(66G@
acti)e
166
-0(6166
acti)e
166;
fddi+default
actH unsup
1668
token+ring+default
actH unsup
1669
fddinet+default
actH unsup
166@
trnet+default
actH unsup
-0( $#P! 02 $5 Parent Ring(o Bridge(o tp Brdgode $rans1 $rans; 1
enet
enet
1'''' 1/''
/
enet
1'''/
/'
166661 1@66
enet
1'''/'
+
1/'' 1/''
+
+
+
+
6
6
'
'
'
'
'
'
2/
enet
1'''2/
1/''
1''
enet
1''1''
1/''
'
' '
166;
fddi
16166;
1@66 + +
+
+
+
6
6
1668
tr
161668
1@66 + +
+
+
+
6
6
1669
fdnet
161669
1@66 + +
+
ieee
+
6
6
166@
trnet
16166@ 1@66
+
+
+
ibm
+
6
'
6