Lab 1 Configuring Basic Routing and Switching
Lab 1 Configuring Basic Routing and Switching
VLAN 1 IP Address
Defau!t "ate#a$
%b&ectives
Configure static routes. Configure a routing protoco) *RI+ v",. Configure a switch -anage-ent .LAN I+ address. /est and verify configurations.
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.
N%)*+ @o to the AErasing and Re)oading the SwitchB instructions at the end of this )ab. +erfor- those steps on the switch in this )ab assign-ent before continuing. N%)*+ @o to the AErasing and Re)oading the RouterB instructions at the end of this )ab. +erfor- those steps on a)) routers in this )ab assign-ent before continuing.
Ste( 1+ ,onnect P,1 to t-e s#itca. Connect +C1 to 8ast Ethernet switch port 8a&<1. Configure +C1 to use the I+ address1 -as21 and gateway as shown in the topo)ogy diagra-. b. Estab)ish a ter-ina) e-u)ation session to the switch fro- +C1.
Ste( .+ Perform an initia! configuration on t-e s#itca. Configure the hostna-e of the switch as Switch1. Switch>enable Switch#configure terminal Switch(config)#hostname Switch1 b. Set the privi)eged ECEC -ode password to cisco. Switch1(config)#enable password cisco c. Set the privi)eged ECEC -ode secret password to c!ass. Switch1(config)#enable secret class d. Configure the conso)e and virtua) ter-ina) )ines to use a password and re5uire it at )ogin. Switch1(config)#line console 0 Switch1(config-line)#password cisco Switch1(config-line)#login Switch1(config-line)#line vty 0 15 Switch1(config-line)#password cisco Switch1(config-line)#login Switch1(config-line)#end e. EDit fro- the conso)e session and )og in again. 9hich password was re5uiredE FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 9hich password is re5uired to access privi)ege ECEC -ode and whyE FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Ste( 0+ Verif$ configuration of t-e s#itca. .erify that the I+ address of the -anage-ent interface on the switch .LAN 1 and the I+ address of +C1 are on the sa-e )oca) networ2. Gse the show running!config co--and to chec2 the I+ address configuration of the switch. b. Save the configuration.
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.
Ste( 11+ 2emove Static 2oute and configure a routing (rotoco! on router 21
a. Re-ove the static route to 1!".1#$.'.&.
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.
+age % of 1"
Ste( 1.+ 2emove Static 2oute and configure a routing (rotoco! on router 2.
a. Re-ove the static route to 1!".1#$.1.&. R2(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1 b. Enab)e RI+ v" routing and advertise the participating networ2s. R2(config)#router rip R2(config-router)#version 2 R2(config-router)#networ# 192.168.2.0 R2(config-router)#networ# 192.168.&.0 c. Return to privi)eged ECEC -ode. d. Save the configuration.
If a host other than +C1 atte-pts to connect to 8a&<11 what wi)) happenE FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF It is so-eti-es necessary to set the speed and dup)eD of a port to ensure that it operates in a particu)ar -ode. 4ou can set the speed and dup)eD with the duple and speed co--ands whi)e in interface configuration -ode. /o force 8astEthernet port % to operate at ha)f dup)eD and 1& Rbps1 issue the fo))owing co--ands6 Switch>enable Switch#configure terminal Switch(config-if)#interface fastethernet 0%5 Switch(config-if)#speed 10
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation. +age ? of 1"
h. Issue the show interfaces co--and. 9hat is the dup)eD and speed setting for 8a&<% nowE FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF i. Enter 8uit at the switch co--and pro-pt to ter-inate the /e)net session.
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.
+age $ of 1"
*rasing and 2e!oading t-e S#itc8or the -aSority of the )abs in CCNA Discovery1 it is necessary to start with an unconfigured switch. Gsing a switch with an eDisting configuration -ay produce unpredictab)e resu)ts. /he fo))owing instructions prepare the switch prior to perfor-ing the )ab so that previous configuration options do not interfere. Instructions are provided for the "!&& and "!%& series switches. a. Enter into privi)eged ECEC -ode by typing enab!e. If pro-pted for a password1 enter c!ass *if that does not wor21 as2 the instructor,. Switch>enable b. Re-ove the .LAN database infor-ation fi)e. Switch#delete flash'vlan.dat &elete filena'e ()lan.dat*+[Enter] &elete flash,)lan.dat+ (confir'* [Enter] If there was no .LAN fi)e1 this -essage is disp)ayed6 -.rror deleting flash,)lan.dat (/o such file or director!) c. Re-ove the switch startup configuration fi)e fro- N.RAR. Switch#erase startup!config /he responding )ine pro-pt is6 .rasing the n)ra' files!ste' will re'o)e all files0 +ress *nter to confir-. /he response shou)d be6 .rase of n)ra', co'1lete d. Chec2 that .LAN infor-ation was de)eted. .erify that the .LAN configuration was de)eted in Step b using the show vlan co--and. If previous .LAN configuration infor-ation *other than the defau)t -anage-ent .LAN 1, is sti)) present1 you -ust power cyc)e the switch *hardware restart, instead of issuing the reload co--and. /o power cyc)e the switch1 re-ove the power cord fro- the bac2 of the switch or unp)ug it1 and then p)ug it bac2 in. If the .LAN infor-ation was successfu))y de)eted in Step b1 go to Step e and restart the switch using the reload co--and. e. Restart the software using the reload co--and. N%)*+ /his step is not necessary if the switch was restarted using the power cyc)e -ethod. 1, At the privi)eged ECEC -ode1 enter the reload co--and6 Switch(config)#reload /he responding )ine pro-pt is6 S!ste' configuration has 2een 'odified. Sa)e+ (!es%no*, ", /ype n9 and then press *nter. /he responding )ine pro-pt is6 Proceed with reload+ (confir'* ()nter* /he first )ine of the response is6 Reload re3uested 2! console.
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation. +age ! of 1"
ontinue+ (confir'*
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.
CCNA Discovery Introducing Routing and Switching in the Enterprise *rasing and 2e!oading t-e 2outer
a. Enter the privi)eged ECEC -ode by typing enab!e. Router>enable b. In privi)eged ECEC -ode1 enter the erase startup!config co--and. Router#erase startup!config /he responding )ine pro-pt is6 .rasing the n)ra' files!ste' will re'o)e all files0 (confir'* c. +ress *nter to confir-. /he response is6 .rase of n)ra', co'1lete d. In privi)eged ECEC -ode1 enter the reload co--and. Router(config)#reload /he responding )ine pro-pt is6 S!ste' configuration has 2een 'odified. Sa)e+ (!es%no*, e. /ype n and then press *nter. /he responding )ine pro-pt is6 Proceed with reload+ (confir'* f. +ress *nter to confir-. In the first )ine of the response is6 Reload re3uested 2! console. After the router has re)oaded the )ine pro-pt is6 4ould !ou li5e to enter the initial configuration dialog+ (!es%no*, g. /ype n and then press *nter. /he responding )ine pro-pt is6 Press R.67R/ to get started0 h. +ress *nter. /he router is ready for the assigned )ab to be perfor-ed. ontinue+
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.
+age 11 of 1"
CCNA Discovery Introducing Routing and Switching in the Enterprise SDM 2outer 'asic I%S ,onfiguration to 'ring 7( SDM
If the startup:config is erased in an SDR router1 SDR wi)) no )onger co-e up by defau)t when the router is restarted. It wi)) be necessary to bui)d a basic config as fo))ows. 8urther detai)s regarding the setup and use of SDR are can be found in the SDR Tuic2 Start @uide6 http6<<www.cisco.co-<en<GS<products<sw<secursw<ps%'1$<productsF5uic2Fstart&!1$#a&&$&%11c$!.ht-)Mwp77?$$ a. Set the router 8a&<& I+ address. /his is the interface that a +C wi)) connect to using a browser to bring up SDR. /he +C I+ address shou)d be set to 1&.1&.1&." "%%."%%."%%."7$. N%)*+ An SDR router other than the 1$71 -ay re5uire connection to a different port to access SDR. Router(config)#interface +a0%0 Router(config-if)#ip address 10.10.10.1 255.255.255.2$8 Router(config-if)#no shutdown b. Enab)e the routerUs (//+<(//+S server1 using the fo))owing Cisco I0S co--ands6 Router(config)#ip http server Router(config)#ip http secure!server Router(config)#ip http authentication local c. Create a user account with privi)ege )eve) 1% *enab)e privi)eges,. Router(config)#username 8userna'e> privilege 15 password 0 81assword> Rep)ace 8userna'e> and 81assword> with the userna-e and password that you want to configure. d. Configure SS( and /e)net for )oca) )ogin and privi)ege )eve) 1%. Router(config)#line vty 0 $ Router(config-line)#privilege level 15 Router(config-line)#login local Router(config-line)#transport input telnet Router(config-line)#transport input telnet ssh Router(config-line)#e it
A)) contents are Copyright = 1!!">"&&? Cisco Syste-s1 Inc. A)) rights reserved. /his docu-ent is Cisco +ub)ic Infor-ation.