5
Router esim Solution Lab_A Here are the commands you enter to program Router A in the Esim…don’t type lines starting with *…those are just explanations I have put in for you. Below the explanation set is another copy without all the comments…much easier to use after you have done the reading part. Once you have programmed lab A go on and program the others in the SIM. You should be able to program the entire E-Sim in under 20 minutes once you get used to it!! Ena *Enable the router for programming Config t *Configure in terminal mode…like a one line DOS mode Hostname Lab_A *The name your are giving the router Enable secret class *To get into the router next time you need to know the secret password….class *Using the word “secret” means the password will be encrypted so people can’t see it on future output Line con 0 *You want to program the Console port…this is a physical port on the router…used normally to plug in a computer to program the router for initial setup Password cisco *to get in through the Console port you will be asked next time for the password which is “cisco” Login *tells the router the person must Login to get in through the Console. Line vty 0 4 *there are 5 telnet lines (vty lines) 0,1,2,3 and 4… these are for connecting to the router over the internet using Telnet.

Router Esim Solution Lab

Embed Size (px)

DESCRIPTION

practica de lab del curso CCNA 1

Citation preview

Router esim Solution Lab_AHere are the commands you enter to program Router A in the Esimdont type lines starting with *those are just explanations I have put in for you.Below the explanation set is another copy without all the commentsmuch easier to use after you have done the reading part.Once you have programmed labAgo on and program the others in the SIM.You should be able to program the entire E-Sim in under 20 minutes onceyou get used to it!!Ena*Enable the router for programmingConfig t*Configure in terminal modelike a one line DOS modeHostname Lab_A*The name your are giving the routerEnable secret class*To get into the router next time you need to know the secret password.class*Using the word secret means the password will be encrypted so people cant see it on future outputLine con 0*You want to program the Console portthis is a physical port on the routerused normally to plug in a computer to program the router for initial setupPassword cisco*to get in through the Console port you will be asked next time for the password which is ciscoLogin*tells the router the person must Login to get in through the Console.Line vty 0 4*there are 5 telnet lines (vty lines) 0,1,2,3 and 4these are for connecting to the router over the internet using Telnet.*each of these lines could be individually password protected instead of them all having the same passwordPassword cisco*to get into the vty lines you now need a passwordLogin*and you have to log in to get in through the vty linesExit*exit out of the programming the vty linesInt e0*go into interface Ethernet 0.These Ethernet outlets usually connect to the LANIp add 192.5.5.1 255.255.255.0*give it an ip address and a subnet mask (standard class C in this case)No shut*tell the interface to be Not shutdowninterfaces are shutdown by defaultInt e1*Lets program interface Ethernet 1Ip add 205.7.5.1 255.255.255.0*ip and subnet for Ethernet 1No shut*make sure it is active and not shutdownInt s0*Program interface serial 0 (serial interfaces are usually for connecting routers together)Ip add 201.100.11.1 255.255.255.0*ip address and subnet for the serial interfaceClock rate 56000*when you connect routers togetherone router sends a clock timing signal to the other*the sending one is said to be the DCE end and the receiving end is the DTE end*this one is the DCE end so it is setting the clock rate to 56000No shut*make sure it is not shutdownExit*leave the serial 0 interface modeRouter rip*we are going to use RIP as our method to get the routers to talk to each otherNetwork 192.5.5.0*We want our router to advertise to other routers that we have the 192.5.5.0 network attached*notice that these are network addressthe host portion is 0 so it is NOT the interface addressNetwork 205.7.5.0*We want our router to advertise to other routers that we have the 205.7.5.0 network attachedNetwork 201.100.11.0*We want our router to advertise to other routers that we have the 201.100.11.0 network attachedExit*leave the router rip mode*the following 5 lines tell our router what the ip addresses of the other routers.*this is not necessary but it means that we can do things like*ping Lab_Einsteadof having to remember Lab_Es ip addresses*soit is just for convenienceIp host Lab_A 192.5.5.1 205.7.5.1 201.100.11.1Ip host Lab_B 219.17.100.1 199.6.13.1 201.100.11.2Ip host Lab_C 223.8.151.1 204.204.7.1 199.6.13.2Ip host Lab_D 210.93.105.1 204.204.7.2Ip host Lab_E 210.93.105.2Exit*exit this modeExit*exit this modeCopy run start*save the program we just wrote into the NVRAM so if the power goes out*when the router reboots it still has the program to load upRouter esim Solution Lab_AEnaConfig tHostname Lab_AEnable secret classLine con 0Password ciscoLoginLine vty 0 4Password ciscoLoginExitInt e0Ip add 192.5.5.1 255.255.255.0No shutInt e1Ip add 205.7.5.1 255.255.255.0No shutInt s0Ip add 201.100.11.1 255.255.255.0Clock rate 56000No shutExitRouter ripNetwork 192.5.5.0Network 205.7.5.0Network 201.100.11.0ExitIp host Lab_A 192.5.5.1 205.7.5.1 201.100.11.1Ip host Lab_B 219.17.100.1 199.6.13.1 201.100.11.2Ip host Lab_C 223.8.151.1 204.204.7.1 199.6.13.2Ip host Lab_D 210.93.105.1 204.204.7.2Ip host Lab_E 210.93.105.2ExitExitCopy run start