Welcome to Netmetrics CCNA workbook v3.0. This workbook is designed to serve as practical guide in preparation for the CCNA 640-802 certification exam and for an introductory study in the routing and switching field using Cisco technology
The CCNA certification (Cisco Certified Network Associate) is Ciscos foundation-level networking certification. Upon completion, CCNA candidates should be able to successfully carry out any number of essential networking maintenance and troubleshooting duties such as installing, configuring and operating LAN, WAN and dial access services for small networks, as well as having good working knowledge of protocols such as IP, IGRP, Serial, Frame Relay, IP RIP, VLANs, Ethernet and Access Lists.
While there are no pre-requisites for the CCNA certification, the CCNA should not be regarded as a pure entry-level networking certification. The CCNA itself is a prerequisite to more advanced Cisco certifications, such as the CCNP, CCSP and the CCIE, meaning that candidates wishing to go on to the more advanced Cisco certifications first need to successfully pass the CCNA.
This workbook consists of 2 modules, each of which is dedicated to a specific technology which is routing and switching focusing on the technologies from the blueprint. These 2 modules have 25 practical labs with no unnecessary repetition of tasks from lab to lab. All these labs are based upon a physical topology and there will be variations from one lab to the next. Sometimes these changes will be clearly stated. At other times they will be omitted because you are expected to learn those topology variations on your own
Each lab consists of several tasks and each task is subdivided in two portions: task and solution. The task portion contains a configuration portion necessary to complete the lab. It is then followed by the configuration solutions for the tasks. Your instructor will provide in- depth explanations of what is being achieved in that particular task
Thank you for choosing us towards your CCNA Preparation. We are sure you will not be disappointed
This product is individually licensed. Copyright of Netmetric Infosolutions (P) Limited. Do not duplicate or redistribute in any form. Violators will be prosecuted. All Rights Reserved
Trademarks
Cisco, Cisco IOS, Cisco Systems, CCIE, CCNP, CCNA and the Cisco Systems logo are registered trademarks or trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and certain other countries. All other trademarks mentioned in this workbook are the property of their respective owners
Associations
This product and contents of the Netmetric Solutions workbook are not associated with, sponsored by, endorsed by or affiliated with Cisco Systems, Inc.
Disclaimer
All information found here and on Netmetrics website is summary in nature, provided without guarantees of any kind, subject to change without notice and intended for general information only. Netmetric strives to provide valuable information, but we make no claims, promises, or guarantees about the accuracy, completeness, or adequacy of the information regarding vendor-specific or third party examinations and certifications. Netmetric is not liable for inaccurate, incomplete or inadequate information relating to vendor-specific or third party examinations
Cisco Non-Disclosure Agreement Compliance
This product is compliant with Cisco Non-Disclosure Agreement (NDA). Netmetrics practice labs, topology, scenarios, topics and solutions are based on the combined practical knowledge of Routing & Switching professionals involved in the creation of this workbook
Task 1.1: Navigate the IOS with different show commands using CLI
R1 R1#show version The version of the Cisco IOS The version of the ROM bootstrap Platform, feature set and location to be used for loading the IOS System image file and location Router up time and last restart method Number and type of interfaces on the router RAM size Configuration registers setting
R1#show version Displays system flash directory Displays used space and available space in flash
R1#show ip interface brief This command displays all the interfaces on the router By default all interfaces on a Cisco router are administratively down
Task 2.1: You need to find out the different modes of a Cisco router
As we power-on the router, after the boot sequence the router prompts for:
Would you like to enter the initial configuration dialog [yes/no]?
If we type yes, the router will enter the automatic set-up, where the initial configuration is done automatically for the user. If we type no, the router will enter the manual set-up, where the actual configuration is done manually by the user. The router prompt will appear as:
Router > This mode is called the user exec-session.
If the user wants to exit from this mode, the command is as follows: Router > exit
If the user wants to enter the privilege exec-session, the command is as follows: Router > enable
The router prompt will appear as: Router # CCNA 640-802 Lab Workbook v3.1 Netmetric Solutions - Hyderabad
This is called the privilege mode, where the user can issue all show commands. Privileged Exec mode allows you to access all other user interface modes. If the user wants to come out of this privilege mode to user exec mode, the command is as follows: Router # disable Router >
If the user wants to configure ip address to the interfaces and any routing protocols on the router, the command is as follows: Router # configure terminal Router (config) #
The router prompts the user into global configuration mode, where the user can do all the configurations on a Cisco router. From this global configuration mode, the user can enter into specific configuration modes, they are as follows:
NOTE: Clock rate command is required only for the lab purpose to simulate WAN connections and to make the WAN interface status up with out modems. Modems generate clock in the real WAN connections
Examples for DTE devices are PC, Mainframe, Routers, Switches, Firewalls, etc. Examples for DCE devices are All type of modems (Dailup and Leased Lines)
Task 3.3: Configure an IP address on the serial interface of the router R1, set the clock rate if the serial interface connection type is DCE
Task 4.1: Configure a hostname on the router, and assign an IP address to ethernet interface. Assign IP address and default gateway to PC and test the connectivity between the PC and router ethernet interface
Task 4.2: Configure TFTP server on PC1 and perfom back-up of the the running configuration on PC1
Steps to configure TFTP server on PC1: Install Cisco TFTP server on PC1 Create an empty folder on PC1 to take the back-up Open the TFTP directory and browse for the empty folder
NOTE: Clock rate command is required only for the lab purpose to simulate WAN connections and to make the WAN interface status up with out modems. Modems generate clock in the real WAN connections
Examples for DTE devices are PC, Mainframe, Routers, Switches, Firewalls, etc. Examples for DCE devices are All type of modems (Dailup and Leased Lines)
NOTE: Set the clock rate on the serial interface whichever end is DCE
To verifiy the interface connection type if it is DCE or DTE, the command is as follows
R1 R1(config)# access-list 101 deny tcp host 10.1.1.2 any eq ftp R1(config)# access-list 101 deny tcp host 10.1.1.2 any eq www R1(config)# access-list 101 permit ip any any
R1(config)#int e0 R1(config-if)#ip access-group 101 in
Task 15.4: Configure Extended ACL on R1 to the user 10.1.1.2 to block ICMP (ping) and Telnet traffic for any destination and permit other users all traffic
R1 R1(config)# access-list 101 deny tcp host 10.1.1.2 any eq telnet R1(config)# access-list 101 deny icmp host 10.1.1.2 any R1(config)# access-list 101 permit ip 10.0.0.0 0.255.255.255 any
R1(config)#int e0 R1(config-if)#ip access-group 101 in
OR
R1 R1(config)# access-list 101 deny tcp host 10.1.1.2 any eq telnet R1(config)# access-list 101 deny icmp host 10.1.1.2 any R1(config)# access-list 101 permit ip any any
R1(config)#int e0 R1(config-if)#ip access-group 101 in
Task 19.1: Configure EIGRP AS 100 on R1 (S0, E0), R2 (S0, E0) and RIPv2 on R2 (S1, Loopback0) and R3 (S0, E0) as per the above scenario. Mutually redistribute both protocols
R1 router eigrp 100 network 1.0.0.0 network 10.0.0.0 no auto-summary R2 router rip version 2 network 2.0.0.0 network 30.0.0.0 no auto-summary
R1#show ip route C 1.0.0.0/8 is directly connected, Serial0/2/0 D EX 2.0.0.0/8 [170/256514560] via 1.1.1.2, 00:01:24, Serial0/2/0 D 20.0.0.0/8 [90/2195456] via 1.1.1.2, 00:12:18, Serial0/2/0 D EX 40.0.0.0/8 [170/256514560] via 1.1.1.2, 00:01:24, Serial0/2/0 C 10.0.0.0/8 is directly connected, FastEthernet0/0 D EX 30.0.0.0/8 [170/256514560] via 1.1.1.2, 00:01:24, Serial0/2/0
R2#show ip route C 1.0.0.0/8 is directly connected, Serial0 C 2.0.0.0/8 is directly connected, Serial1 C 20.0.0.0/8 is directly connected, Ethernet0 C 40.0.0.0/8 is directly connected, Loopback0 D 10.0.0.0/8 [90/2172416] via 1.1.1.1, 00:14:29, Serial0 R 30.0.0.0/8 [120/1] via 2.2.2.2, 00:00:15, Serial1
R3#show ip route R 1.0.0.0/8 [120/10] via 2.2.2.1, 00:00:23, Serial0 C 2.0.0.0/8 is directly connected, Serial0 R 20.0.0.0/8 [120/10] via 2.2.2.1, 00:00:23, Serial0 R 40.0.0.0/8 [120/1] via 2.2.2.1, 00:00:23, Serial0 R 10.0.0.0/8 [120/10] via 2.2.2.1, 00:00:23, Serial0 C 30.0.0.0/8 is directly connected, Ethernet0
The output displays that RIP routes are advertised in R1 EIGRP AS 100 as D EX routes. EIGRP routes are advertised in RIP as R routes
Task 20.1: Configure EIGRP AS 100 on R1 (S0, E0), R2 (S0) and OSPF area 0 on R2 (S1, E0), R3 (S0) and OSPF area 1 on R3 (E0) as per the above scenario. Mutually redistribute both protocols
R1 router eigrp 100 network 1.0.0.0 network 10.0.0.0 no auto-summary R3 router ospf 1 network 2.2.2.2 0.0.0.0 area 0 network 30.0.0.0 0.255.255.255 area 1
R1#show ip route C 1.0.0.0/8 is directly connected, Serial0/2/0 D EX 2.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:57, Serial0/2/0 D EX 20.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:57, Serial0/2/0 C 10.0.0.0/8 is directly connected, FastEthernet0/0 D EX 30.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:57, Serial0/2/0
R2#show ip route C 1.0.0.0/8 is directly connected, Serial0 C 2.0.0.0/8 is directly connected, Serial1 C 20.0.0.0/8 is directly connected, Ethernet0 D 10.0.0.0/8 [90/2172416] via 1.1.1.1, 00:11:11, Serial0 O IA 30.0.0.0/8 [110/74] via 2.2.2.2, 00:00:42, Serial1
R3#show ip route O E2 1.0.0.0/8 [110/10] via 2.2.2.1, 00:01:05, Serial0 C 2.0.0.0/8 is directly connected, Serial0 O 20.0.0.0/8 [110/74] via 2.2.2.1, 00:01:05, Serial0 O E2 10.0.0.0/8 [110/10] via 2.2.2.1, 00:01:05, Serial0 C 30.0.0.0/8 is directly connected, Ethernet0
Task 21.1: Create VLAN 2 and VLAN 3 and assign name SALES and FINANCE to each VLAN. Configure ports Fa 0/1 Fa 0/4 as access-ports and assign VLAN 2 to ports Fa 0/1 and Fa0/3. Assign VLAN 3 to ports Fa 0/2 and Fa 0/4. Configure VLANs using the database mode
SW1 vlan database vlan 2 vlan 2 name sales
vlan 3 vlan 3 name finance
int fa0/1 switchport mode access switchport access vlan2
int fa0/2 switchport mode access switchport access vlan3
int fa0/3 switchport mode access switchport access vlan2
int fa0/4 switchport mode access switchport access vlan3
Task 21.2: Create VLAN 2 and VLAN 3 and assign name SALES and FINANCE to the corresponding VLANs. Configure ports Fa 0/1 Fa 0/4 as access-ports and assign VLAN 2 to ports Fa 0/1 and Fa 0/3. Assign VLAN 3 to ports Fa 0/2 and Fa 0/4. Configure VLANs using the global configuration mode
SW1 vlan 2 name sales
vlan 3 name finance
int fa0/1 switchport mode access switchport access vlan2
int fa0/2 switchport mode access switchport access vlan3
int fa0/3 switchport mode access switchport access vlan2
int fa0/4 switchport mode access switchport access vlan3
Task 22.1: Create VLANs according to the scenario and assign to their respective access-ports. Configure ISL trunk between SW1 (Fa 0/11) and SW 2 (Fa 0/11)
SW1 vlan 2 name sales
vlan 3 name finance
int Fa 0/1 switchport mode access switchport access vlan2
int Fa 0/2 switchport mode access switchport access vlan3
int Fa 0/11 shutdown switchport trunk encapsulation isl switchport mode trunk no shutdown SW2 vlan 2 name sales
vlan 3 name finance
int Fa 0/1 switchport mode access switchport access vlan2
int Fa 0/2 switchport mode access switchport access vlan3
int Fa 0/11 shutdown switchport trunk encapsulation isl switchport mode trunk no shutdown
Task 22.2: Create VLANs according to the scenarioand assign to their respective access-ports. Configure 802.1q (dot1q) trunk between SW1 (Fa 0/11) and SW 2 (Fa 0/11)
SW1 int Fa 0/11 shutdown switchport trunk encapsulation dot1q switchport mode trunk no shutdown SW2 int Fa 0/11 shutdown switchport trunk encapsulation dot1q switchport mode trunk no shutdown
Task 23.1: Create VLAN 10 and assign to ports Fa 0/1 and Fa 0/2. Create VLAN 20 and assign to ports Fa 0/3 and Fa 0/4. Configure port Fa 0/5 as dot1q trunk. Use sub-interfaces on interface E0 on R1 to accomplish this task
SW1 vlan 10 name sales vlan 20 name finance
int fa 0/1 switchport mode access switchport access vlan 10
int fa 0/2 switchport mode access switchport access vlan 10
int fa 0/3 switchport mode access switchport access vlan 20
int fa 0/4 switchport mode access switchport access vlan 20
int fa 0/5 shutdown switchport trunk encapsulation dotlq switchport mode trunk switchport nonegotiate no shutdown R1 int e 0 no ip address
int e 0/0.10 encapsulation dotlq 10 ip address 10.1.1.1 255.0.0.0
int e 0/0.20 encapsulation dotlq 20 ip address 20.1.1.1 255.0.0.0
Task 23.2: Implementing inter-vlan communication on a multilayer switch. Create VLAN 10 and assign to ports Fa 0/1 and Fa 0/2. Create VLAN 20 and assign to ports Fa 0/3 and Fa 0/4. Configure SVI and assign an IP address
Task 24.1: Configure SW1 as the VTP Server and the other Switch SW2 as a VTP Client. Use netmetric as the Domain name. Authenticate the relationship using cisco123 as the password
Task 25.1: Configure SW1 as the VTP Server and the other Switch SW2 as VTP Client. Configure SW1 to be the STP root for VLAN 1. Configure ports Fa 0/9 and Fa 0/11 as dot1q trunks on both the switches
SW1 VTP domain netmetric VTP mode server VTP password cisco123
interface range fa0/9, fa0/11 switchport trunk encapsulation switchport mode trunk
interface range fa0/9, fa0/11 switchport trunk encapsulation switchport mode trunk
Task 25.2: Configure VTP to propagate VLAN information. Create 2 VLANs (VLAN 2, VLAN 3) on SW1 (VTP server). Configure SW1 to be the root for VLAN 2 and configure SW2 to be the root for VLAN 3
Router#show interfaces Displays statistics for all interfaces
Router#show interface serial 0/0 Displays statistics for a specific interface (in this case, serial 0/0)
Router#show ip interface brief Displays a summary of all interfaces, including status and IP address assigned
Router#show controllers serial 0/0 Displays statistics for interface hardware Statistics display if the clock rate is set and if the cable is DCE, DTE, or not attached
Router#show clock Displays time set on device
Router#show hosts Displays local host-to-IP address cache. These are the names and addresses of hosts on the network to which you can connect
Router#show history Displays the history of commands used at this edit level
Router#show flash Displays information about flash memory
Router#show version Displays information about the loaded software (IOS) version
Router#show arp Displays the Address Resolution Protocol (ARP) table
Router#show protocols Displays status of configured Layer 3 protocols
For updates and corrections to the workbook materials, and other useful information for CCNA, refer to the website www.netmetric-solutions.com or write to support@netmetric- solutions.com
Corporate Office:
Netmetric Infosolutions (P) Limited Ali Manor Complex Masab Tank, Hyderabad INDIA Phone: 91 9985132432 Email: info@netmetric-solutions.com