ccn lab manual

Upload: muhammad-usman-nasir

Post on 04-Mar-2016

52 views

Category:

Documents


1 download

DESCRIPTION

CCN LAB MANUAL

TRANSCRIPT

Page 27 of 28

LAB 1OBJECTIVEFamiliarization with networking Equipment, Components and PACKET Tracer Equipment:1 Router, 1 Switch, Computer with Packet Tracer InstalledProcedure:Router:

Router has hot pluggable Flash Memory

Normally 2 Ethernet Ports and Free Slots available for inserting cards as required

A Console port to accessAn auxiliary port for accessing router from far away location What type of routers you have in your LAB write its product number?

What is its FLASH capacity?

How many ports and slots are available? What are their specifications? Which type of cards you have in LAB?

Switch:A switch has different number of ports depending on requirements and Model Number. A Console port to access deviceSometimes we found USB console in modern switchesHow many switches are in your LAB? And how many ports and their speed specified?

Is there any third layer switch available? Which one?

What is meant by POE switch?

Packet Tracer:It is simulator for prototyping our networkHere we can use different devices like Router of Different Types and Switches of different seriesIn this simulator we can also use wireless devices and End Devices Like Computer and TAB etc.Different Type of Cables available in Cable TAB.Cables:We have four types of cables used in this subjecta. Console Cableb. Straight Through Cable used to connect different devicesc. Cross Over Cable used to connect same devicesd. Serial CableWe have RJ45 connectors on both ends of straight and cross cableIn Console cable one side got RJ45 connector and other got DB-9 Connector to communicate with computer.Summary:

LAB 2OBJECTIVEPeer to Peer Communication b/w two PCsEquipment:2 Computers with windows OS installed1 Crossover CableSome data to shareProcedure:a. Power on both PCs b. Enable Ethernet LAN connection from control Panelc. Assign IP address to TCP/IPv4 from same networkd. Connect both PCs with cross cable in their LAN adapters

As we insert cable green lights will start to blink on both LAN adapters and link could be seen as UP status. Share some data from PC1 access it from PC2.

Give ping command from one PC and write its output?

This can be accomplished from properties>Sharing >share Folder as seen in diagram.Copy a large file from PC1 to PC2. Start task manager and see how much transfer rate you got from network TAB?

Summary:

LAB 3OBJECTIVEAccess a Router/SwitchEquipment:1PC with terminal EmulatorA Router A Console Cable Procedure:Launch terminal emulator select correct COM port number.Select correct bits/s, data bits, parity, stop and flow control.By defaultBits/s=9600Data Bits=8Parity= NoneStop Bits= 1Flow Control= NoneInsert DB-9 connector of console cable in PC COM port, and RJ-45 connector in Router/Switch console port. Power on Router/Switch and see the emulator will show the device start boot up.To access a device from far away location we use AUX port have RJ-45 port.We connect AUX port to modem and our emulator system with another modem.Dial the number through emulator and device will be accessible.How many COM ports you see? Which COM port do you select?

Summary:

LAB 4OBJECTIVEBasic Commands in CLI mode of Router IOSEquipment:Console cable Router/SwitchPC with terminal EmulatorProcedure:As we access the device in LAB 3 and device completed its boot startupWe see Router > its called user mode of Router.Here we can use ping, trace route and somewhat show commands. Type enable and enter we see Router # its called privilege mode. Here we can use all show commands, erase flash memory.Type configure terminal we see Router (Config) # its called configuration mode.From here we start our any type of configuration.Type interface type number, For example interface fast Ethernet 0/0We see Router (Config-if) called interface mode.From here we can configure our interface settings.Give command show ip interface brief in privilege mode. How many physical and virtual interfaces available?

Give command show flash, How much memory it has?

Give command show version what information you got here?

Summary:

LAB 5OBJECTIVEConnecting two networks via router and routing tableEquipment:Console cable Router, 2-Switch, 2 PcsPC with terminal EmulatorProcedure:As we access the device in LAB 3 and device completed its boot startupType enable to enter in privilege mode. Here type show ip interface brief command to see how many physical and logical interfaces on router.You will see two fast Ethernet port.Type configure terminal to enter in global configuration mode.Enter one of physical interface name like interface fast Ethernet 0/0Now you are in interface mode assign ip address using command ip address address subnet mask.Type no shutdown command to enable interface.Repeat same process to assign ip address to the other interface.Now connect two switches and Pcs as shown in fig. Assign ip address to the pcs from respective network.Try to ping both pcs.You will see it will be successful although both are in different networks.Come to router privilege mode enter command show ip route to see routing table of router.What does it shows?

Give command show interface fastethernet 0/0 what information you got here?

Summary:

LAB 6OBJECTIVEAssigning IP Address to Interface and Access via Telnet UtilityEquipment:Console cable Router/SwitchPC with terminal EmulatorEthernet Straight Through cable

Procedure:Access router as described in LAB 3.Enter in interface mode as described in LAB 4.Type command ip address interface IP ADDRESS SUBNET MASK it assign IP address to that specific interface in which we are.Type no shutdown It makes port status as UP.Type exit to come to configuration modeSet privilege mode password using command enable password PASSWORDSet virtual terminal lines using command line vty 0 4Set password to virtual line using command Password PASSWORDPress CTRL+Z Router will be in privilege mode.Type write or copy running-configuration startup-configuration it will save data from RAM to NVRAM.Connect patch cable to the interface that we have configured and insert the other end to LAN adapter of PC.Assign IP address to TCP/IPv4 from same network as assigned in Router/Switch.Check connectivity of Router/Switch using ping utility.Go to the command prompt type telnet IP ADDRESS of Router/Switch

You will be asked to type invisible password of virtual password.After typing enable you will be demanded to give privilege mode password.Type it and you will get access to device.Type command show flash what type of files you got there?

Summary:

LAB 7OBJECTIVEConfigure VLANs in a Switch, assigning ports to VLAN and PORT SecurityEquipment:Console cablePC with terminal emulatorSwitchProcedure:Get access to the switch and enter in privilege mode.Type Show vlanWe see default vlans configured on switch and all ports are the member of VLAN 1.Enter in configuration mode and type vlan 2 we will be in Switch (Config-vlan) modeAssign a name to that vlan using command name NAMEType vlan 3-6 in configuration modeType do show vlan we see configured vlans are 2-6Enter in any interface using command interface type nameType the following commands to make that interface member of some specific vlanswitchport mode accessswitchport access vlan vlan numberPress CTRL+Z and type show vlan write down the output here

Go to interface mode of any interface that is connected and active with a PC. And write commands as follows.switchport port-securityswitchport port-security maximum 1switchport port-security mac-address stickyswitchport port-security violation shutdownIn privilege mode give command show port-security interface interface name write output here

Disconnect PC and connect another to that port and see what happens? What is the output of command shoe port-security interface interface name what is the difference?

Summary:

LAB 8OBJECTIVEConfigure DHCP Server on a RouterEquipment:RouterSwitch3-5 PCSome straight cablesConsole cableProcedure:Connect all the equipment as seen in Fig.Make PCs to obtain ip address automatically from DHCP serverAccess the Router enter in configuration modeAssign ip address to port that is connected to switch.Type the following commands to set the DHCP server in configuration mode.ip dhcp pool POOL NAMEnetwork NET ID of network SUBNET MASKdefault-router ip address of routers portPress CTRL+Z and type writeCheck what ip addresses PCs got?

Give command ip dhcp excluded address starting of range ending of rangeNow what is the change in ip addresses of PCs?

Summary:

LAB 9OBJECTIVEConfiguring a Trunk b/w two Switch, Assign VLAN numbers to trunk port and Configure and verify VTPEquipment:Two switchesCrossover and straight through cables and console cable4 pcsProcedure:Connect both switches with cross cable on fast Ethernet 0/0 of both switchesPower on both switchesCreate 4 vlansSwitch 1 ConfigurationSwitch 2 configuration

Config tConfig t

Interface fast Ethernet 0/0Interface fast Ethernet 0/0

Switchport mode trunkSwitchport mode trunk

Switchport trunk allowed vlan 1,2,3,4Switchport trunk allowed vlan 1,2,3,4

exitexit

Vtp mode serverVtp mode client

Vtp domain name CISCOVtp domain name CISCO

Make two ports (fa0/2 and fa0/3) of both switches the member of vlan 2 and vlan 3 respectivelyConnect PCs to all 4 ports and try to communicate b/w different vlans.What happens?

Give command show vtp status in privilege mode and write the output here.

Summary:LAB 10OBJECTIVEConfigure Static Route and Default RouteEquipment:3 routersCrossover cablesConsole cableTerminal emulatorProcedure:Connect routers as shownAssign ip addresses to all ports of routerHere we configure a static route on router A to reach at a network Router C and create a default route on router B to reach at a network router C.Router AA (config) # ip route destination network SUBNET MASJ NEXT HOP ADDRESSRouter BB (config) # ip route 0.0.0.0 0.0.0.0 NEXT HOP ADDRESSGive command of show ip route on router B and C and write details._________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________Summary:

LAB 11OBJECTIVEConfigure a distance Vector Routing ProtocolEquipment:3 Routers having minimum 3 interfacesCrossover cables3 PcsConsole and terminal emulatorProcedure:Connect the equipment as shown in diagram.

Assign IP Addresses to each interfaceTry to ping from one network to any other and give details

Give command show ip route in privilege mode of each router and write here what you observe

Give the command router rip in global configuration mode.Afterward network network of directly connected ip addressesAs RIP is class full routing protocol so no need to give subnet maskAnother flavor of RIP is version 2 which is classless routing protocol so we have to give subnet mask information after network commandGive command show ip route in privilege mode of each router and write here what you observe

Administrative Distance of RIP is 120 by defaultEIGRP is also a distance vector routing protocol and its startup implementation commands are same as RIP V2 will be done by your instructor.Give details of show ip route after EIGRP implementation

Summary:

LAB 12OBJECTIVEConfigure Link State Routing ProtocolEquipment:Two Pcs3 RoutersTwo switchesProcedure:Connect the equipment as shown in diagramAssign hostname and ip addresses to the respective interfaces as given in fig.Give following commands in global configuration mode of all routersRouter(config)# router ospf autonomous system numberSame command for all directly connected networksRouter(Config-router)# network network-id wildcard-mask area area #Give command show ip route

Show ip ospf neighbor

Show ip ospf database

Summary:

LAB 13OBJECTIVEConfigure and verify static/dynamic NATEquipment:Two ISR routers1 Switch5 PcsStraight through and Crossover cablesProcedure:Connect the equipment as shown in fig

Assign IP Addresses according to scenario may be statically or via DHCPGive command ip nat inside in interface fast Ethernet 0/0 mode of router AGive command ip nat outside in interface fast Ethernet 0/1 mode of router ANow come back to global configuration mode of router A and give commandip nat inside source static inside local IP Address inside global IP AddressPress ctrl+Z and type writeThen give command show ip nat translationWhat you see

Now send some ICMP packets from natted PC to router B.Then give command show ip nat translation

Whats the difference?

Dynamic NAT is accomplished by your instructor and write here what is the basic difference you found in Static and Dynamic NAT?

Summary:

LAB 14OBJECTIVEConfigure Inter VLAN RoutingEquipment:Two third layer switches4 PcsStraight through and crossover cablesProcedure:Configure 2 VLANs RED WHITE on a switch AMake it vtp server and vtp domain name cisco.comMake first 5 ports member of VLAN RED and next five ports member of VLAN WHITEConnect 2 Pcs to RED vlan and 2 pcs to WHITE vlanTry to communicate (ping) b/w pcs of different vlansWhat is the output?

Give command ip routing on both switches now try to communicate b/w those pcsWhat is output?

It is due to third layer device now router on a stick will be performed by your instructor and you will write here the difference of both?

Summary:

LAB 15OBJECTIVEInstall and Configure Secure Device ManagerEquipment:RouterStraight through cableConsole with terminal PC Procedure:Install SDM software on PC

Access the router using console cableAnd give commandsRouter(config)# ip http serverRouter(config)# ip http authentication localRouter(config)# username NAME password PASSWORDRouter(config)# enable password PASSWORDAssign ip address to a port of router that is connected to PC from network 10.10.10.0Launch SDM from desktop

A window will appear as

From here we can configure router for some specific tasks.Summary:

Computer Communication and NetworksCOMSATS Institute Of Information Technology Sahiwal