new ccna lab manual-200-120
TRANSCRIPT
-
8/21/2019 New Ccna Lab Manual-200-120
1/84
-
8/21/2019 New Ccna Lab Manual-200-120
2/84
2
Copyright@ CTTC
Copyright
CTTC Professional Development Program.
CCNA Lab Manual (200-120)
Copyright@ CTTC
Published By
CTTC45-M, Block-6 P.E.C.H.S Karachi-75400 Pakistan.
All rights reserved. No part of this manual may be reproduced or transmitted in any form
or by any means, electronic or mechanical, including photocopying, recording andinformation storage or retrieval system without written permission from the publisher,
except for the inclusion of quotation in a review.
Warning and Disclaimer
This manual is designed to provide information about CCNA (200-120). Every effortHas been made to make this manual as complete and accurate as possible, but no warranty
of fitness is implied.The information is provided on as basis and CTTC shall have neither
liability nor responsibility to any person or entity with respect to any loss or damage
Arising from the information contained in this manual.
Authors
Mr. Muddasar Sharif
(Network Engineer)
Mr. Tharpal Das(Associate Network Engineer)
Reviewed By
Mr. Ahmed Saeed
(Head of Department-Cisco Division)
-
8/21/2019 New Ccna Lab Manual-200-120
3/84
3
Copyright@ CTTC
Table of Contents
Topics page#Basic Network Using CISCO Switch 6 Accessing Console of the Switch/Router 7
Modes of CLI 8How to Set Hostname and Configure Console Password 9How to Set Privilege level password 10
How to Set User Authentication in Switch 10
Password Recovery 12 How to Set Telnet password 13
How to Enable the Device to Establish Telnet/SSH Session 13
Configuring SSH 13
SWITHCINGVLAN Configuration 15
Port security 17
Rapid Spanning Tree Protocol (RSTP) 20
Ether channel Configuration 23Inter VLAN Routing (IVR)
ROUTING Static Routing 27
Enhanced Interior Gateway Routing Protocol (EIGRP) 30
Open Shortest Path First (OSPF) 33
First Hop Redundancy Protoco lsHot Standby Router Protocol (HSRP) 36Virtual Router Redundancy Protocol(VRRP) 40
Gateway Load balancing Protocol (GLBP) 43
IPV6 How to Configure IPv6 on CISCO Router 47Configuring IPv6 Auto configures 49
Configure RIP ng on Router 51
Configuring OSPF V3 55Configuring EIGRP 59
https://www.google.com.pk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&sqi=2&ved=0CCcQFjAA&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFirst_Hop_Redundancy_Protocols&ei=NXOUUpWCLtLb7Aaj8oGQCg&usg=AFQjCNGYa7m0eP6i5kPi3z-bgNQufWoDSw&bvm=bv.57155469,d.Ymshttps://www.google.com.pk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&sqi=2&ved=0CCcQFjAA&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFirst_Hop_Redundancy_Protocols&ei=NXOUUpWCLtLb7Aaj8oGQCg&usg=AFQjCNGYa7m0eP6i5kPi3z-bgNQufWoDSw&bvm=bv.57155469,d.Yms
-
8/21/2019 New Ccna Lab Manual-200-120
4/84
4
Copyright@ CTTC
WAN Encapsulation 62
Frame Relay 64
Configuring DHCP 68
ACCESS LIST & N.A.T
Standard Acl 71Extended Acl 74
Static Nat 76Dynamic Nat 78
Pat
TROUBLESHOOTING OF EIGRP 81
SYSLOG 83
-
8/21/2019 New Ccna Lab Manual-200-120
5/84
5
Copyright@ CTTC
LAB: Basic Network Using CISCO Switch
OBJECTIVE: To configure a cisco switch with basic configuration
Accessing Console of the Switch/Router Accessing Console of the Switch/Router
Modes of CLI
How to Set Hostname and Configure Console Password
How to Set Privilege level password
How to Set User Authentication in Switch
How to Set Telnet password
How to Enable The Device to Establish Telnet/SSH Session
Configuring SSH
-
8/21/2019 New Ccna Lab Manual-200-120
6/84
6
Copyright@ CTTC
Topology
PC-1 is directly connected to switch with ip address 192.168.1.1
PC-2 is directly connected to switch with ip address 192.168.1.2
Switch being the intermediate device provide the communication path to bothPC’s.
Note: Both the PC’s must be on the same network.
Accessing Console of the Switch/Router
-
8/21/2019 New Ccna Lab Manual-200-120
7/84
7
Copyright@ CTTC
RJ-45 to DB-9 adapter is used on the PC (COM port) to the device consolePort through a roll-over cable.
Hyper Terminal is used to access the Command Line Interface (CLI) of theDevice.
(Start --Menu — Programs — Accessories — Communications--Hyper
Terminal)
Switch Console
Modes of CLI:
User-exec mode Switch>
Privilege mode Switch#
Global Configuration mode Switch(config)#
How to switch in different modes:
Switch> enableSwitch# config terminal
Switch(config)#
Note: To return to the previous mode use “Exit” command in the current mod e.
-
8/21/2019 New Ccna Lab Manual-200-120
8/84
8
Copyright@ CTTC
How to Set Hostname and Configure Console Password:Switch(config)# hostname CISCO
CISCO(config)#line console 0
CISCO(config-line)#password cisco123
CISCO(config-line)#login
How to Set Privilege level password:!!! Clear Text Password not encrypted(less priority)
CISCO(config)#enable password ccna123
!!! Encrypted password (more Priority)
CISCO(config)#enable secret cttc123
Verify the PasswordCISCO(config)#exit
CISCO#exit
CISCO con0 is now availablePress RETURN to get started.
User Access Verification
!!! TYPE HERE LINE CONSOLE PasswordPassword:
CISCO>enable
!!! TYPE HERE Privilege Level Password
Password:
-
8/21/2019 New Ccna Lab Manual-200-120
9/84
9
Copyright@ CTTC
How to Set User Authentication in SwitchCISCO#config terminal
CISCO(config)#line console 0
CISCO(config-line)# login local
CISCO(config-line)#exitCISCO(config)#username cttc password ccna123
-
8/21/2019 New Ccna Lab Manual-200-120
10/84
10
Copyright@ CTTC
Verify the Authentication
CISCO(config)#exitCISCO#exit
Verify the User StatusCISCO#show users
Line User Host(s) Idle Location
* 0 con 0 cttc idle 00:00:00
-
8/21/2019 New Ccna Lab Manual-200-120
11/84
11
Copyright@ CTTC
Password Recovery
Configuration on RouterRouter>enableRouter#config t
Router(config)#line console 0Router(config-line)Password cisco
Router(config-line)#Login
Router(config-line)#Exit
For password recovery power cycle the router and press ctrl+break.
After we enter the rommon mode type:Rommon 1 > confreg 0x2142
Rommon 2 > reset
-
8/21/2019 New Ccna Lab Manual-200-120
12/84
12
Copyright@ CTTC
How to Set Telnet password:CISCO(config)#line vty 0 15
CISCO(config-line)#password ciscoCISCO(config-line)#login
CISCO(config-line)#exit
How to Enable The Device to Establish Telnet/SSH
Session:CISCO(config)#interface vlan 1
CISCO(config-if)#ip address 10.0.0.10 255.0.0.0
CISCO(config-if)#no shutdown Note: VLAN 1 IP address is used to establish the telnet session. Go to command
prompt and use telnet command to make a telnet session with the device.
C:\>telnet 10.0.0.10
Configuring SSH:CISCO(config)#username taha password abc123
CISCO(config)#ip domain-name cttc.net
CISCO(config)#crypto key generate rsaThe name for the keys will be: CISCO.cttc.net
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.How many bits in the modulus [512]: 512
% Generating 512 bit RSA keys ...[OK]
CISCO(config)#line vty 0 15CISCO(config-line)#login local
CISCO(config-line)#transport input ssh
-
8/21/2019 New Ccna Lab Manual-200-120
13/84
13
Copyright@ CTTC
Note: VLAN 1 must be configured as show in TELNET section. Putty software iscommonly
used to establish SSH session.
Verify Command’s: CISCO(config)#show line vty 0 15Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
1 VTY - -13 0 0/0 -
2 VTY - - - - - 0 0 0/0 -3 VTY - - - - - 0 0 0/0 -
4 VTY - - - - - 0 0 0/0 -
5 VTY - - - - - 0 0 0/0 -
6 VTY - - - - - 0 0 0/0 -7 VTY - - - - - 0 0 0/0 -
8 VTY - - - - - 0 0 0/0 -
9 VTY - - - - - 0 0 0/0 -10 VTY - - - - - 0 0 0/0 -
11 VTY - - - - - 0 0 0/0 -
12 VTY - - - - - 0 0 0/0 -
13 VTY - - - - - 0 0 0/0 -14 VTY - - - - - 0 0 0/0 -
15 VTY - - - - - 0 0 0/0 -
16 VTY - - - - - 0 0 0/0 – !!! ―*‖ show that one VTY Session is active:
-
8/21/2019 New Ccna Lab Manual-200-120
14/84
14
Copyright@ CTTC
LAB: VLAN Configuration
Objective: To Create and Configure VLAN
CISCO#config terminal
CISCO(config)#vlan 10CISCO(config-vlan)#name HR
CISCO(config-vlan)#exitCISCO(config)#vlan 20
CISCO(config-vlan)#name Sales
CISCO(config-vlan)#exit
Verify VLANs CISCO#show vlan brief
VLAN Name Status Ports------- ---------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4Fa0/5, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24Gi0/1, Gi0/2
10 HR active
20 Sales active1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup1005 trnet-default act/unsup Note: All ports of the switch are member of VLAN 1 by default.
How to Assign Ports to Different VLANs: CISCO(config)#interface fa0/1CISCO(config-if)#switchport mode access
CISCO(config-if)#switchport access vlan 10
CISCO(config-if)#exitCISCO(config)#interface fa0/2
CISCO(config-if)#switchport mode accessCISCO(config-if)#switchport access vlan 20
-
8/21/2019 New Ccna Lab Manual-200-120
15/84
15
Copyright@ CTTC
Verify Ports in VLANS CISCO#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gi0/1, Gi0/2
10 HR active Fa0/1
20 Sales active Fa0/2
-
8/21/2019 New Ccna Lab Manual-200-120
16/84
16
Copyright@ CTTC
LAB:PORT SECURITY
OBJECTIVE: TO IMPLEMENT BASIC PORT SECURITY FEATURES
ON INTERFACE
CISCO(config)#interface fa0/1
CISCO(config-if)#switchport mode accessCISCO(config-if)#switchport port-security
CISCO(config-if)#switchport port-security mac-address sticky
CISCO(config-if)#switchport port-security maximum 1
CISCO(config-if)#switchport port-security violation shutdown
CISCO(config-if)#exit
CISCO(config)#interface fa0/2CISCO(config-if)#switchport mode access
CISCO(config-if)#switchport port-security
CISCO(config-if)#switchport port-security mac-address sticky
CISCO(config-if)#switchport port-security maximum 1CISCO(config-if)#switchport port-security violation shutdown
-
8/21/2019 New Ccna Lab Manual-200-120
17/84
17
Copyright@ CTTC
Verify Port-Security MAC Address:
CISCO#show port-security address
Secure Mac Address Table
-------------------------------------------------------------------------------Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ---- ----- -------------1 0060.705E.07CB SecureSticky FastEthernet0/1 -
1 0090.21BD.4810 SecureSticky FastEthernet0/2 -
------------------------------------------------------------------------------Total Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 1024
Verify Port-Security Interface FastEnthernet Fa0/1:
CISCO#show port-security interface f0/1
Port Security : EnabledPort Status : Secure-up
Violation Mode : Shutdown
Aging Time : 0 minsAging Type : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses : 1
Total MAC Addresses : 1Configured MAC Addresses : 0
Sticky MAC Addresses : 1Last Source Address:Vlan : 0060.705E.07CB:1Security Violation Count : 0
Note:
Max Addresses value depends upon the model of the device.
Manual MAC address can be entered in port-security instead on using ―sticky‖
command.
Violation modes can be set to protect, restrict or shutdown.
What happens if violation occurred:
When a new PC is attached to the port on which port-security is enabled then Switchwill take an action which is set in the violation mode.
-
8/21/2019 New Ccna Lab Manual-200-120
18/84
18
Copyright@ CTTC
Verify when violation is occurred: CISCO#show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
-------------------------------------------------------------------------------------------------------------Fa0/1 1 1 1 Shutdown
Fa0/2 1 1 1 Shutdown
-------------------------------------------------------------------------------------------------------------
-
8/21/2019 New Ccna Lab Manual-200-120
19/84
19
Copyright@ CTTC
LAB: Rapid Spanning Tree Protocol (RSTP)
OBJECTIVE: To Implement STP, It’s Improvement RSTP and To Configure
Root Bridges for Different VLANS.
Verify Root Bridge on Switch-1: Switch-1#show spanning-tree
VLAN0001Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0002.16EE.8B7E
This bridge is the rootHello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0002.16EE.8B7EHello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio Nbr Type---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Note:
If the switch is ―Root Bridge‖, it will display the message ―This bridge is the root‖.
Root ID Address and Bridge ID Address will be same in case of Root Bridge.
Default priority is 32768. VLAN ID (System Extension ID) is added to the default priority. VLAN 1 is the default VLAN so the priority for VLAN 1 is 32769(32768+1).
-
8/21/2019 New Ccna Lab Manual-200-120
20/84
20
Copyright@ CTTC
Enabling RSTP: Switch-1(config)#spanning-tree mode rapid-pvst
Note: The above command will be issued on all the switches of the network.
Verify RSTP: Switch-1#show spanning-tree VLAN0001
Spanning tree enabled protocol rstpRoot ID Priority 32769
Address 0002.16EE.8B7E
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0002.16EE.8B7E
Hello Time 2 sec Max Age 20 sec Forward Delay 15 secAging Time 20
Changing Switch-2 to Root Bridge:Switch-2(config)#spanning-tree vlan 1 priority 4096
Note:
Priority must be in the multiple 4096.
To change the root bridge, you can also use the following command:
Switch-2(config)#spanning-tree vlan 1 root primary
Verify Switch-2 as Root Bridge:Switch-2#show spanning-tree VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 24577
Address 000C.CF21.CBC1
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)
Address 000C.CF21.CBC1Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
-
8/21/2019 New Ccna Lab Manual-200-120
21/84
21
Copyright@ CTTC
Enabling Portfast feature on all switches:
Switch-1(config)#spanning-tree portfast default
Note: Above command will be issued to all the switches in the network. By enabling
portfast feature on all the switches, will disable the STP process on all non-trunk ports.It will cause to take less time to change the state to up on all non-trunking ports. To
verify this feature, connect a PC to the switch and the port will be up within 5 seconds.
-
8/21/2019 New Ccna Lab Manual-200-120
22/84
22
Copyright@ CTTC
Etherchannel Conf iguration:
Configuring Switch-1:Switch-1(config)#interface range fa0/1 - 2
Switch-1(config-if-range)#channel-group 1 mode on
Switch-1(config-if-range)#exit
Switch-1(config)#interface port-channel 1
Switch-1(config-if)#switchport mode trunk
Configuring Switch-2:Switch-2(config)#interface range fa0/1 - 2
Switch-2(config-if-range)#channel-group 1 mode on
Switch-2(config-if-range)#exitSwitch-2(config)#interface port-channel 1
Switch-2(config-if)#switchport mode trunk
Verify Etherchannel:Switch-1#show etherchannel summary
…… Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports--------+-----------------+------------+-------------------------
1 Po1(SU) - Fa0/1(P) Fa0/2(P)
-
8/21/2019 New Ccna Lab Manual-200-120
23/84
23
Copyright@ CTTC
LAB:I nterVLAN Routing (IVR):
Objective: To Create Vlans &to show Routing B/W the Vlans
Configuring Switch: Switch(config)#vlan 10
Switch(config-vlan)#name HRSwitch(config-vlan)#vlan 20
Switch(config-vlan)#name Sales
Switch(config-vlan)#exitSwitch(config)#interface fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exitSwitch(config)#interface fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exitSwitch(config)#interface fa0/3
Switch(config-if)#switchport mode trunk
-
8/21/2019 New Ccna Lab Manual-200-120
24/84
24
Copyright@ CTTC
Configuring Router:Router(config)#interface fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Creating sub-interface for VLAN 10 on router:Router(config)#interface fa0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 10.0.0.100 255.0.0.0Router(config-subif)#exit
Creating sub-interface for VLAN 20 on router:Router(config)#interface fa0/0.20
Router(config-subif)#encapsulation dot1Q 20Router(config-subif)#ip address 20.0.0.100 255.0.0.0Router(config-subif)#exit
Configuring IP on PC:
-
8/21/2019 New Ccna Lab Manual-200-120
25/84
25
Copyright@ CTTC
Verify InterVLAN Routing:
-
8/21/2019 New Ccna Lab Manual-200-120
26/84
26
Copyright@ CTTC
LAB: Static Routing:
Objective: To Implement Stating Routing in IPversion 4
Configuring R1:R1(config)#interface fa0/0R1(config-if)#ip address 10.0.0.100 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface s0/1/0R1(config-if)#ip address 192.168.1.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdownR2(config-if)#exit
Note: Interface Serial0/1/0 of Router R1 is a DCE end, so clock rate must be given to this.
Configuring R2:R2(config)#interface fa0/0
R2(config-if)#ip address 20.0.0.100 255.255.255.0
R2(config-if)#no shutdownR2(config-if)#exit
R2(config)#interface s0/1/0
R2(config-if)#ip address 192.168.1.2 255.255.255.252R2(config-if)#no shutdown
R2(config-if)#exit
Adding static route on R1 for network 20.0.0.0:R1(config)#ip route 20.0.0.0 255.255.255.0 s0/1/0
Adding static route on R2 for network 10.0.0.0:
R2(config)#ip route 10.0.0.0 255.255.255.0 192.168.1.1
-
8/21/2019 New Ccna Lab Manual-200-120
27/84
27
Copyright@ CTTC
Note: When configuring the static route on router R1 we used the local interface of the
router R1 i.e s0/1/0, whereas, when configuring router R2 we use the next hop address
as Forwarding router's address.
Verify the routes on Router R1: R1#show ip routeGateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnetsC 10.0.0.0 is directly connected, FastEthernet0/0
20.0.0.0/24 is subnetted, 1 subnetsS 20.0.0.0 is directly connected, Serial0/1/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Serial0/1/0
Verify the routes on Router R2: R2#show ip route
Gateway of last resort is not set10.0.0.0/24 is subnetted, 1 subnetsS 10.0.0.0 [1/0] via 192.168.1.1
20.0.0.0/24 is subnetted, 1 subnets C 20.0.0.0 is directly connected, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnetsC 192.168.1.0 is directly connected, Serial0/1/0
-
8/21/2019 New Ccna Lab Manual-200-120
28/84
28
Copyright@ CTTC
Verifying the ping reply from PC-2 to PC-1:
-
8/21/2019 New Ccna Lab Manual-200-120
29/84
29
Copyright@ CTTC
LAB: Enhanced Interi or Gateway Routing Protocol (EIGRP):
Objective: To Implement EIGRP in IP version 4
Configuring R1:R1(config)#interface fa0/0R1(config-if)#ip address 10.0.0.100 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface s0/1/0R1(config-if)#ip address 192.168.1.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdownR2(config-if)#exit
Note: Interface Serial0/1/0 of Router R1 is a DCE end, so clock rate must be given tothis.
Configuring R2:R2(config)#interface fa0/0
R2(config-if)#ip address 20.0.0.100 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exitR2(config)#interface s0/1/0
R2(config-if)#ip address 192.168.1.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
30/84
30
Copyright@ CTTC
Adding networks for EIGRP on Router R1:R1(config)#router eigrp 100
R1(config-router)#network 10.0.0.0
R1(config-router)#network 192.168.1.0
R1(config-router)#no auto-summaryR1(config-router)#exit
Note: All directly connected networks will be issued in the router eigrp mode.Autonomous System number must be same on all the routers in the network.
Adding networks for EIGRP on Router R2: R1(config)#router eigrp 100
R1(config-router)#network 20.0.0.0
R1(config-router)#network 192.168.1.0
R1(config-router)#no auto-summary
R1(config-router)#exit
Verify the routes on Router R1:
R1#show ip routeGateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
20.0.0.0/24 is subnetted, 1 subnets
D 20.0.0.0 [90/2172416] via 192.168.1.2, 00:00:16, Serial0/1/0192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Serial0/1/0
Verify the routes on Router R2:
R2#sh ip routeGateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
D 10.0.0.0 [90/2172416] via 192.168.1.1, 00:00:05, Serial0/1/0
20.0.0.0/24 is subnetted, 1 subnetsC 20.0.0.0 is directly connected, FastEthernet0/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Serial0/1/0
-
8/21/2019 New Ccna Lab Manual-200-120
31/84
31
Copyright@ CTTC
Verifying neighbors for R1:
R1#sh ip eigrp neighbors IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q
Seq(sec) (ms) Cnt
Num0 192.168.1.2 Se0/1/0 11 0:02:05 40 1000 0 3
Verifying neighbors for R2:
R2#sh ip eigrp neighborsR2#sh ip eigrp neighbors
IP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q
Seq
Num (sec) (ms) Cnt
0 192.168.1.1 Se0/1/0 13 00:03:15 40 1000 0 3
Note: To verify the currently enabled routing protocols, use the following command:
R1#show ip protocols
To view all the routes that has been calculated by EIGRP, use the followingcommand:
R1#show ip eigrp topology.
-
8/21/2019 New Ccna Lab Manual-200-120
32/84
32
Copyright@ CTTC
LAB: Open Shortest Path F ir st (OSPF):
Objective: To Implement OSPF in IP version 4
Configuring R1:R1(config)#interface fa0/0R1(config-if)#ip address 10.0.0.100 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exitR1(config)#interface s0/1/0
R1(config-if)#ip address 192.168.1.1 255.255.255.252
R1(config-if)#clock rate 64000R1(config-if)#no shutdown
R2(config-if)#exit
Note: Interface Serial0/1/0 of Router R1 is a DCE end, so clock rate must be given tothis.
Configuring R2: R2(config)#interface fa0/0
R2(config-if)#ip address 20.0.0.100 255.255.255.0
R2(config-if)#no shutdownR2(config-if)#exit
R2(config)#interface s0/1/0
R2(config-if)#ip address 192.168.2.2 255.255.255.252R2(config-if)#no shutdown
R2(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
33/84
33
Copyright@ CTTC
Configuring Central Router (ABR):ABR(config)#int s0/1/0
ABR(config-if)#ip add
ABR(config-if)#ip address 192.168.1.2 255.255.255.252
ABR(config-if)#no shutdownABR(config-if)#exit
ABR(config)#int s0/1/1
ABR(config-if)#ip address 192.168.2.1 255.255.255.252ABR(config-if)#clock rate 64000
ABR(config-if)#no shutdown
ABR(config-if)#exit
Adding networks for OSPF on Router R1 as Area 0 (Backbone Area):R1(config)#router ospf 10
R1(config-router)#network 10.0.0.0 0.0.0.255 area 0
R1(config-router)#network 192.168.1.0 0.0.0.3 area 0R1(config-router)#exit
Adding networks for OSPF on Router R2 as Area 1 (Regular Area):R2(config)#router ospf 20
R2(config-router)#network 20.0.0.0 0.0.0.255 area 1R2(config-router)#network 192.168.2.0 0.0.0.3 area 1
R2(config-router)#exit
Adding networks for OSPF on Router ABR as Area 0 and Area 1:ABR(config)#router ospf 50
ABR(config-router)#network 192.168.1.0 0.0.0.3 area 0ABR(config-router)#network 192.168.2.0 0.0.0.3 area 1
ABR(config-router)#exit
Verify the routes on Router R1:
R1#show ip routeGateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
20.0.0.0/24 is subnetted, 1 subnetsO IA 20.0.0.0 [110/129] via 192.168.1.2, 00:09:19, Serial0/1/0
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Serial0/1/0
192.168.2.0/30 is subnetted, 1 subnetsO IA 192.168.2.0 [110/128] via 192.168.1.2, 00:09:19, Serial0/1/0
-
8/21/2019 New Ccna Lab Manual-200-120
34/84
34
Copyright@ CTTC
Verify the routes on Router R2:
R2#show ip route:Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
O IA 10.0.0.0 [110/129] via 192.168.2.1, 00:11:48, Serial0/1/020.0.0.0/24 is subnetted, 1 subnets
C 20.0.0.0 is directly connected, FastEthernet0/0192.168.1.0/30 is subnetted, 1 subnets
O IA 192.168.1.0 [110/128] via 192.168.2.1, 00:11:48, Serial0/1/0
192.1 68.2.0/30 is subnetted, 1 subnetsC 192.168.2.0 is directly connected, Serial0/1/0
Verify the routes on Router ABR:
ABR#show ip route:
Gateway of last resort is not set10.0.0.0/24 is subnetted, 1 subnets
O 10.0.0.0 [110/65] via 192.168.1.1, 00:13:30, Serial0/1/0
20.0.0.0/24 is subnetted, 1 subnets
O 20.0.0.0 [110/65] via 192.168.2.2, 00:13:11, Serial0/1/1
192.168.1.0/30 is subnetted, 1 subnetsC 192.168.1.0 is directly connected, Serial0/1/0
192.168.2.0/30 is subnetted, 1 subnets
C 1 92.168.2.0 is directly connected, Serial0/1/1
Note: More commands to verify OSPF: R1#show ip ospf neighbor
R1#show ip ospf database
-
8/21/2019 New Ccna Lab Manual-200-120
35/84
35
Copyright@ CTTC
LAB: Hot Standby Router Protocol (HSRP):
Objective: How to show Redundancy by using HSRP
Configuring WAN-RT:WAN-RT(config)#interface Loopback0WAN-RT(config-if)#ip address 200.0.0.1 255.255.255.0
WAN-RT(config-if)#no shutdown
WAN-RT(config-if)#exitWAN-RT(config)#interface FastEthernet0/0WAN-RT(config-if)#ip address 172.16.2.1 255.255.255.0
WAN-RT(config-if)#no shutdown
WAN-RT(config-if)#exitWAN-RT(config)#interface FastEthernet0/1
WAN-RT(config-if)#ip address 172.16.1.1 255.255.255.0
WAN-RT(config-if)#no shutdownWAN-RT(config-if)#exit
WAN-RT(config)#router rip
WAN-RT(config-router)#version 2
WAN-RT(config-router)#network 172.16.0.0WAN-RT(config-router)#network 200.0.0.0
WAN-RT(config-router)#no auto-summary
WAN-RT(config-router)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
36/84
36
Copyright@ CTTC
Configuring Master-RT:Master-RT(config)#interface FastEthernet0/0
Master-RT(config-if)#ip address 10.0.0.10 255.255.255.0
Master-RT(config-if)#standby 1 ip 10.0.0.100
Master-RT(config-if)#standby 1 priority 110Master-RT(config-if)#standby 1 preempt
Master-RT(config-if)#standby 1 track FastEthernet0/1
Master-RT(config-if)#no shutdownMaster-RT(config-if)#exit
Master-RT(config-if)Master-RT(config )#interface FastEthernet0/1
Master-RT(config-if)#ip address 172.16.1.2 255.255.255.0
Master-RT(config-if)#no shutdownMaster-RT(config-if)#exit
Master-RT(config)#router ripMaster-RT(config-router)#version 2
Master-RT(config-router)#network 10.0.0.0Master-RT(config-router)#network 172.16.0.0
Master-RT(config-router)#no auto-summary
Configuring Backup-RT:Backup-RT(config)#interface FastEthernet0/0
Backup-RT(config-if)#ip address 10.0.0.9 255.255.255.0Backup-RT(config-if)#standby 1 ip 10.0.0.100
Backup-RT(config-if)#standby 1 priority 95
Backup-RT(config-if)#standby 1 preemptBackup-RT(config-if)#no shutdown
Backup-RT(config-if)#exit
Backup-RT(config)#interface FastEthernet0/1
Backup-RT(config-if)#ip address 172.16.2.2 255.255.255.0Backup-RT(config-if)#no shutdown
Backup-RT(config-if)#exit
Backup-RT(config)#router ripBackup-RT(config-router)#version 2
Backup-RT(config-router)#network 10.0.0.0
Backup-RT(config-router)#network 172.16.0.0
Backup-RT(config-router)#no auto-summary
-
8/21/2019 New Ccna Lab Manual-200-120
37/84
37
Copyright@ CTTC
Verify Master-RT:
Master-RT#show standby
Note: When the network is perfectly up, Master-RT must be in Active State. IfFastEthernet port of Master-RT gone down then Backup-RT will become active. Now
check Backup-RT when the Fa0/1 of Master-RT is down
-
8/21/2019 New Ccna Lab Manual-200-120
38/84
38
Copyright@ CTTC
Verify Backup-RT when Fa0/1 of Master-RT is down:
Backup-RT#show standby
-
8/21/2019 New Ccna Lab Manual-200-120
39/84
39
Copyright@ CTTC
LAB: Vi r tual Router Redundancy Protocol(VRRP)
Objective: How to show Redundancy by using VRRP
Configuring WAN-RT:WAN-RT(config)#interface Loopback0
WAN-RT(config-if)#ip address 200.0.0.1 255.255.255.0
WAN-RT(config-if)#no shutdown
WAN-RT(config-if)#exitWAN-RT(config)#interface FastEthernet0/0
WAN-RT(config-if)#ip address 172.16.2.1 255.255.255.0
WAN-RT(config-if)#no shutdownWAN-RT(config-if)#exit
WAN-RT(config)#interface FastEthernet0/1
WAN-RT(config-if)#ip address 172.16.1.1 255.255.255.0WAN-RT(config-if)#no shutdown
WAN-RT(config-if)#exit
WAN-RT(config)#router ripWAN-RT(config-router)#version 2
WAN-RT(config-router)#network 172.16.0.0WAN-RT(config-router)#network 200.0.0.0
WAN-RT(config-router)#no auto-summary
WAN-RT(config-router)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
40/84
40
Copyright@ CTTC
Configuring Master-RT:
Master-RT(config)#interface FastEthernet0/0
Master-RT(config-if)#ip address 10.0.0.10 255.255.255.0Master-RT(config-if)#vrrp 1 ip 10.0.0.100
Master-RT(config-if)#no shutdownMaster-RT(config-if)#exit
Master-RT(config-if)
Master-RT(config )#interface FastEthernet0/1Master-RT(config-if)#ip address 172.16.1.2 255.255.255.0
Master-RT(config-if)#no shutdown
Master-RT(config-if)#exit
Master-RT(config)#router ripMaster-RT(config-router)#version 2
Master-RT(config-router)#network 10.0.0.0
Master-RT(config-router)#network 172.16.0.0Master-RT(config-router)#no auto-summary
Configuring Backup-RT:
Backup-RT(config)#interface FastEthernet0/0Backup-RT(config-if)#ip address 10.0.0.9 255.255.255.0
Backup-RT(config-if)#vrrp 1 ip 10.0.0.100
Backup-RT(config-if)#no shutdownBackup-RT(config-if)#exit
Backup-RT(config)#interface FastEthernet0/1
Backup-RT(config-if)#ip address 172.16.2.2 255.255.255.0
Backup-RT(config-if)#no shutdownBackup-RT(config-if)#exit
Backup-RT(config)#router rip
Backup-RT(config-router)#version 2Backup-RT(config-router)#network 10.0.0.0
Backup-RT(config-router)#network 172.16.0.0
Backup-RT(config-router)#no auto-summary
-
8/21/2019 New Ccna Lab Manual-200-120
41/84
41
Copyright@ CTTC
Verify Master-RT:
Master-RT# show VRRP
Note: When the network is perfectly up, Master-RT must be in Active State. If
FastEthernet port of Master-RT gone down then Backup-RT will become active. Now
check Backup-RT when the Fa0/1 of Master-RT is down
Verify Backup-RT when Fa0/1 of Master-RT is down:
Backup-RT#show VRRP
-
8/21/2019 New Ccna Lab Manual-200-120
42/84
42
Copyright@ CTTC
LAB: Gateway Load Balancing Protocol
Objective: How to show Redundancy by using GLBP
Configuring WAN-RT:WAN-RT(config)#interface Loopback0
WAN-RT(config-if)#ip address 200.0.0.1 255.255.255.0
WAN-RT(config-if)#no shutdown
WAN-RT(config-if)#exitWAN-RT(config)#interface FastEthernet0/0
WAN-RT(config-if)#ip address 172.16.2.1 255.255.255.0
WAN-RT(config-if)#no shutdownWAN-RT(config-if)#exit
WAN-RT(config)#interface FastEthernet0/1
WAN-RT(config-if)#ip address 172.16.1.1 255.255.255.0WAN-RT(config-if)#no shutdown
WAN-RT(config-if)#exit
WAN-RT(config)#router rip
WAN-RT(config-router)#version 2
WAN-RT(config-router)#network 172.16.0.0WAN-RT(config-router)#network 200.0.0.0
WAN-RT(config-router)#no auto-summary
WAN-RT(config-router)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
43/84
43
Copyright@ CTTC
Configuring Master-RT:Master-RT(config)#interface FastEthernet0/0
Master-RT(config-if)#ip address 10.0.0.10 255.255.255.0Master-RT(config-if)#glbp 1 ip 10.0.0.100
Master-RT(config-if)#no shutdown
Master-RT(config-if)#exit
Master-RT(config-if)Master-RT(config )#interface FastEthernet0/1Master-RT(config-if)#ip address 172.16.1.2 255.255.255.0
Master-RT(config-if)#no shutdown
Master-RT(config-if)#exitMaster-RT(config)#router rip
Master-RT(config-router)#version 2
Master-RT(config-router)#network 10.0.0.0
Master-RT(config-router)#network 172.16.0.0
Master-RT(config-router)#no auto-summary
Configuring Backup-RT:Backup-RT(config)#interface FastEthernet0/0
Backup-RT(config-if)#ip address 10.0.0.9 255.255.255.0
Backup-RT(config-if)#glbp 1 ip 10.0.0.100Backup-RT(config-if)#no shutdown
Backup-RT(config-if)#exit
Backup-RT(config)#interface FastEthernet0/1
Backup-RT(config-if)#ip address 172.16.2.2 255.255.255.0Backup-RT(config-if)#no shutdown
Backup-RT(config-if)#exitBackup-RT(config)#router ripBackup-RT(config-router)#version 2
Backup-RT(config-router)#network 10.0.0.0
Backup-RT(config-router)#network 172.16.0.0Backup-RT(config-router)#no auto-summary
-
8/21/2019 New Ccna Lab Manual-200-120
44/84
44
Copyright@ CTTC
Verify Master-RT:
Master-RT# show GLBP
-
8/21/2019 New Ccna Lab Manual-200-120
45/84
45
Copyright@ CTTC
Verify Backup-RT when Fa0/1 of Master-RT is down:
Backup-RT#show GLBP
-
8/21/2019 New Ccna Lab Manual-200-120
46/84
46
Copyright@ CTTC
LAB: H ow to Configure IPv6 on CISCO Router
Objective: To Implement IP Version 6 on Routers
Configure R1’s interface S1/0 with ipv6 address R1(config)#ipv6 unicast-routingR1(config)#interface serial 1/0
R1(config-if)#ipv6 address 2001:abad:beef:1::1/64
R1(config-if)#no shutdown
R2(config)#ipv6 unicast-routingR2(config)#interface serial 1/0
R2(config-if)#ipv6 address 2001:abad:beef:1::2/64
R2(config-if)#no shutdown
Verify IPv6 address:
R1#show ipv6 interface
-
8/21/2019 New Ccna Lab Manual-200-120
47/84
47
Copyright@ CTTC
Verify IPv6 communication between R2 and R1 using ping:
-
8/21/2019 New Ccna Lab Manual-200-120
48/84
48
Copyright@ CTTC
LAB: Confi guring IPv6 Auto configures
Objective: To Show How Routers Acquire The Ipv6 Address Automatically
Configuring R1#:R1(config)#ipv6 unicast-routingR1(config)#int fa0/0
R1(config-if)#ipv6 address 2001:abad:5001:1::1/64
R1(config-if)#ipv6 nd prefix 2001:abad:5001:1::/64R1(config-if)#no shutdown
Configuring R2#:R2(config)#ipv6 unicast-routing
R2(config)#int fa0/0
R2(config-if)#ipv6 address autoconfig
R2(config-if)#no shutdownR2(config-if)#exit
Configuring R3#:R3(config)#ipv6 unicast-routing
R3(config)#int fa0/0R3(config-if)#ipv6 address autoconfig
R3(config-if)#no shutdownR3(config-if)#end
-
8/21/2019 New Ccna Lab Manual-200-120
49/84
49
Copyright@ CTTC
Verify Autoconfigure IPv6 on R2’s interface Fa0/0:
-
8/21/2019 New Ccna Lab Manual-200-120
50/84
50
Copyright@ CTTC
LAB: Confi gure RIPng on Router:
Background:
In this configuration example, routers R1 and R2 are connected via Serial interface andLoopback addresses are configured to generate networks. All the interfaces are
configured with the IPv6 addresses.
Configure on R1:R1(config)#ipv6 unicast-routing
R1(config)#int s1/0
R1(config-if)#ipv6 address 2001:abad:5001:1::1/64R1(config-if)#ipv6 rip cttc enableR1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#int Loopback 10
R1(config-if)#ipv6 address 1:1:1:1::1/64R1(config-if)#ipv6 rip cttc enable
R1(config-if)#no shutdown
R1(config-if)#exitR1(config)#int Loopback 20
R1(config-if)#ipv6 address 1:1:1:2::1/64
R1(config-if)#ipv6 rip cttc enableR1(config-if)#no shutdownR1(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
51/84
51
Copyright@ CTTC
Configure on R2:R2(config)#ipv6 unicast-routing
R2(config)#int s1/0R2(config-if)#ipv6 address 2001:abad:5001:1::2/64
R2(config-if)#ipv6 rip cttc enable
R2(config-if)#no shutdownR2(config-if)#exit
R2(config)#int Loopback 0
R2(config-if)#ipv6 address 2:2:2:2::1/64R2(config-if)#ipv6 rip cttc enable
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#int Loopback 1R2(config-if)#ipv6 address 2:2:2:1::1/64
R2(config-if)#ipv6 rip cttc enable
R2(config-if)#no shutdown
R2(config-if)#exit
Note: In the syntax cttc specified the Process, you can run multiple processes on a
Route
-
8/21/2019 New Ccna Lab Manual-200-120
52/84
52
Copyright@ CTTC
Verify RIPng Routes:
R1#show ipv6 route
-
8/21/2019 New Ccna Lab Manual-200-120
53/84
53
Copyright@ CTTC
Verify information about the current IPv6 RIP process
Verify the reachability between the routers R1 and R2, use the ping
command:
-
8/21/2019 New Ccna Lab Manual-200-120
54/84
54
Copyright@ CTTC
LAB: Confi guring OSPF V.3.0
OBJECTIVE: TO IMPLEMENT OSPF ROUTING PROTOCOL IN IPV6
Configure R1:
R1(confg)#ipv6 unicast-routingR1(config)#int s1/0
R1(config-if)#ipv6 address 2001:abad:5001:1::1/64
R1(config-if)#no shutdownR1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#exit
R1(config)#int Loopback 10R1(config-if)#ipv6 address 1:1:1:1::1/64
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#int Loopback 20R1(config-if)#ipv6 address 1:1:1:2::1/64
R1(config-if)#ipv6 ospf 1 area 0R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ipv6 router ospf 1R1(config-rtr)#router-id 1.1.1.1
R1(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
55/84
55
Copyright@ CTTC
Configuring R2: R2(confg)#ipv6 unicast-routing
R2(config)#int s1/0R2(config-if)#ipv6 address 2001:abad:5001:1::2/64
R2(config-if)#no shutdown
R2(config-if)#ipv6 ospf 1 area 0R2(config-if)#exit
R2(config)#int Loopback 0
R2(config-if)#ipv6 address 2:2:2:2::1/64R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#int Loopback 1R2(config-if)#ipv6 address 2:2:2:1::1/64
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#no shutdown
R2(config-if)#exitR2(config)#ipv6 router ospf 1
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#exit
Configure R1′s Loopback 10, 20 and R2’s Loopback 0, 1 interface to participate in
OSPF Area 0 and ensure that R1 & R2 advertises Lo0 as a /64 subnet and not a host
route (/128).
Note: Loopback interfaces have their own OSPF network type in which case OSPF
advertises a host route to the loopback interface and not the configure subnet mask. To
change OSPF to advertise the subnet assigned to the loopback interface you’ll need tochange the network type to point-to-point as shown below:
For R1: R1(config)#interface loopback 10
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#ipv6 ospf network point-to-pointR1(config-if)#exit
R1(config)#interface loopback 20
R1(config-if)#ipv6 ospf 1 area 0R1(config-if)#ipv6 ospf network point-to-point
R1(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
56/84
56
Copyright@ CTTC
For R2: R2(config)#interface loopback 0
R2(config-if)#ipv6 ospf 1 area 0R2(config-if)#ipv6 ospf network point-to-point
R2(config-if)#exit
R2(config)#interface loopback 1R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#ipv6 ospf network point-to-point
R2(config-if)#exit
Verify R1′s Loopback0 network is in the IPv6 routing table of R2:
R1#show ipv6 route ospf
-
8/21/2019 New Ccna Lab Manual-200-120
57/84
57
Copyright@ CTTC
Verify R1′s Loopback10 network has IPv6 connectivity to R2′s Loopback0
network using PING:
-
8/21/2019 New Ccna Lab Manual-200-120
58/84
58
Copyright@ CTTC
LAB: Configuring EIGRP
OBJECTIVE: TO Implement EIGRP in IPV6
Configure R1: R1(config)#ipv6 unicast-routing
R1(config)#int s1/0
R1(config-if)#ipv6 address 2001:abad:5001:1::1/64
R1(config-if)#no shutdownR1(config-if)#ipv6 eigrp 100
R1(config-if)#exit
R1(config)#ipv6 router eigrp 100R1(config-rtr)#eigrp router-id 1.1.1.1
R1(config-rtr)#exit
R1(config)#int Loopback 10
R1(config-if)#ipv6 address 1:1:1:1::1/64R1(config-if)#no shutdown
R1(config-if)#ipv6 eigrp 100R1(config-rtr)#exitR1(config)#int loopback 20
R1(config-if)#ipv6 address 1:1:1:2::1/64
R1(config-if)#no shutdownR1(config-if)#ipv6 eigrp 100
R1(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
59/84
59
Copyright@ CTTC
Configure R2: R2(config)#ipv6 unicast-routing
R2(config)#int s1/0R2(config-if)#ipv6 address 2001:abad:5001:1::2/64
R2(config-if)#no shutdown
R2(config-if)#ipv6 eigrp 100R2(config-if)#exit
R2(config)#ipv6 router eigrp 100
R2(config-rtr)#eigrp router-id 2.2.2.2R2(config-rtr)#exit
R2(config)#int Loopback 0
R2(config-if)#ipv6 address 2:2:2:2::1/64
R2(config-if)#no shutdownR2(config-if)#ipv6 eigrp 100
R2(config-rtr)#exit
R2(config)#int Loopback 1
R2(config-if)#ipv6 address 2:2:2:1::1/64R2(config-if)#no shutdown
R2(config-if)#ipv6 eigrp 100
R2(config-if)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
60/84
60
Copyright@ CTTC
Verify R1′s Loopback0 network is in the IPv6 routing table of R2:
R1#show ipv6 route eigrp:
-
8/21/2019 New Ccna Lab Manual-200-120
61/84
61
Copyright@ CTTC
LAB: WAN Encapsulation
OBJECTIVE: To Implement authentication method and encapsulation
used for WAN
Configuring R1: R1(config)#int s0/3/0
R1(config-if)#ip address 192.168.1.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap papR1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#username R2 password cisco
Configuring R2: R2(config)#int s0/3/0
R2(config-if)#ip address 192.168.1.2 255.255.255.252
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap papR2(config-if)#no shutdown
R2(config-if)#exitR2(config)#username R1 password cisco
Note: Username R2 must be created on Router R1 and username R1 must be created
on Router R2, where usernames R1 and R2 are the hostname of their respective
Routers. Passwords on both the routers must be same.
-
8/21/2019 New Ccna Lab Manual-200-120
62/84
62
Copyright@ CTTC
Verify point-to-point connectivity:
R1#ping 192.168.1.2
-
8/21/2019 New Ccna Lab Manual-200-120
63/84
63
Copyright@ CTTC
LAB:F rame Relay
OBJECTIVE: To Show How Router Connects With Each Other Over Cloud
Using Frame Relay
Configuring R1: R1(config)#int s0/3/0
R1(config-if)#no shutdownR1(config-if)#encapsulation frame-relay
R1(config-if)#exit
R1(config)#interface s0/3/0.122 point-to-point
R1(config-subif)#ip address 10.1.2.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 122R1(config-subif)#exit
R1(config)#interface s0/3/0.123 point-to-pointR1(config-subif)#ip address 10.1.3.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 123
R1(config-subif)#exitR1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto-summary
R1(config-router)#network 10.1.2.0R1(config-router)#network 10.1.3.0
R1(config-router)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
64/84
64
Copyright@ CTTC
Configuring R2: R2(config)#int s0/3/0
R2(config-if)#ip address 10.1.2.2 255.255.255.0R2(config-if)#encapsulation frame-relay
R2(config-if)#frame-relay interface-dlci 221
R2(config-if)#no shutdownR2(config-if)#exit
R2(config)#router rip
R2(config-router)#version 2R2(config-router)#no auto-summary
R2(config-router)#network 10.1.2.0
Configuring R3: R3(config)#int s0/3/0
R3(config-if)#ip address 10.1.3.2 255.255.255.0
R3(config-if)#encapsulation frame-relay
R3(config-if)#frame-relay interface-dlci 321R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#router ripR3(config-router)#version 2
R3(config-router)#no auto-summary
R3(config-router)#network 10.1.3.0R3(config-router)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
65/84
65
Copyright@ CTTC
Configuring WAN Emulation Cloud:
Note: Click on WAN cloud then click on Config tab. You will see all the interfaces on the
left hand side. Now click on Serial0 button and add the DLCI value and Name as shownabove and press ―Add‖ button. Serial0 is linked to two DLCI value, therefore both the
DLCI values must be added. Now repeat the same procedure for Serial1 and Serial2.
-
8/21/2019 New Ccna Lab Manual-200-120
66/84
66
Copyright@ CTTC
Configuring Frame Relay:
Note: Now click on ―Frame Relay‖ button and map the DLCI accordingly as shown
above and press the ―Add‖ button.
You can now verify the connectivity by sending ping packets as follows.
On Router R1:R1#ping 10.1.2.2
R1#ping 10.1.3.2
On Router R2:R2#ping 10.1.3.2
On Router R3:R3#ping 10.1.2.2
-
8/21/2019 New Ccna Lab Manual-200-120
67/84
67
Copyright@ CTTC
LAB: Confi guring DHCP on Cisco ROUTER
OBJECTIVE: To Configure DHCP in Order To Show How a Client Can Be
Assigned IP Address Automatically
Configuring Router R1: R1(config)#interface fa0/0
R1(config-if)#ip address 192.168.1.1
R1(config-if)#no shutdownR1(config-if)#exit
Configuring the DHCP pool:R1(config)#ip dhcp pool cttc-pool
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.1.1R1(dhcp-config)#exit
R1(config)#ip dhcp exclude-address 192.168.1.1 192.168.1.5
R1(config)#end
-
8/21/2019 New Ccna Lab Manual-200-120
68/84
68
Copyright@ CTTC
Verify DHCP Binding:
R1#show ip dhcp binding
-
8/21/2019 New Ccna Lab Manual-200-120
69/84
69
Copyright@ CTTC
Configuring PC:
-
8/21/2019 New Ccna Lab Manual-200-120
70/84
70
Copyright@ CTTC
LAB: Standard ACL
OBJECTIVE: To Implement Standard ACL in Order To Show How It Does
the Filtration Based On Source Address
-
8/21/2019 New Ccna Lab Manual-200-120
71/84
71
Copyright@ CTTC
Configuration on R1Router>enable
Router#configure tRouter(config)#interface f0/0
Router(config-if)#ip address 10.0.0.100 255.255.255.0
Router(config-if)#no shutdownRouter(config)#interface f0/1
Router(config-if)#ip add
Router(config-if)#ip address 172.16.1.1 255.255.255.0Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#ex
Ping from Pc0 to Pc 1
Router(config)#access-list 50 deny host 10.0.0.1
Router(config)#int f0/0
Router(config-if)#ip access-group 50 inRouter(config-if)#ex
-
8/21/2019 New Ccna Lab Manual-200-120
72/84
72
Copyright@ CTTC
Ping after applying Acl
-
8/21/2019 New Ccna Lab Manual-200-120
73/84
73
Copyright@ CTTC
LAB: Extended ACL
OBJECTIVE: To show How Extended ACL Works by Filtration Based on
Source and Destination Address
-
8/21/2019 New Ccna Lab Manual-200-120
74/84
74
Copyright@ CTTC
Configuration on R0Router>enable
Router#configure tRouter(config)#interface f0/0
Router(config-if)#ip address 172.16.1.1 255.255.255.0
Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#interface f0/1
Router(config-if)#ip address 10.0.0.100 255.255.255.0Router(config-if)#no shutdown
Router(config-if)#ex
Router(config)#access-list 100 permit tcp host 10.0.0.1 host 200.1.1.1 eq 80
Router(config)#access-list 100 deny tcp host 10.0.0.2 host 200.1.1.1 eq wwwRouter(config)#access-list 100 permit ip 10.0.0.0 0.0.0.255 any
Router(config)#access-list 100 permit ip any any
Router(config)#interface f0/0
Router(config-if)#ip access-group 100 outRouter(config-if)#ex
Router(config)#ip route 0.0.0.0 0.0.0.0 f0/0
Configuration on R1Router>enableRouter#configure t
Router(config)#interface f0/0
Router(config-if)#ip address 172.16.1.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exitRouter(config)#interface f0/1
Router(config-if)#ip address 200.1.1.100 255.255.255.0Router(config-if)#no shutdown
Router(config-if)#ex
Router(config)#ip route 0.0.0.0 0.0.0.0 f0/0
-
8/21/2019 New Ccna Lab Manual-200-120
75/84
75
Copyright@ CTTC
LAB: Static NAT
Objective: To Show Static Translation from Public Ip Address to Private Ip
Address by Implementing Static Nat
Configuration R0Router#configure terminalRouter(config)#ip nat inside source static 10.0.0.1 172.16.1.3
Router(config)#interface f0/0
Router(config-if)#ip nat outsideRouter(config-if)#ex
Router(config)#interface f0/1
Router(config-if)#ip nat inside
Router(config-if)#ex
-
8/21/2019 New Ccna Lab Manual-200-120
76/84
76
Copyright@ CTTC
Ping from pc 1 to server 1 after that run the show commandRouter(config)#do sh ip nat translation
Pro Inside global Inside local Outside local Outside globalicmp 172.16.1.3:1 10.0.0.1:1 200.1.1.1:1 200.1.1.1:1
icmp 172.16.1.3:2 10.0.0.1:2 200.1.1.1:2 200.1.1.1:2
icmp 172.16.1.3:3 10.0.0.1:3 200.1.1.1:3 200.1.1.1:3icmp 172.16.1.3:4 10.0.0.1:4 200.1.1.1:4 200.1.1.1:4
icmp 172.16.1.3:5 10.0.0.1:5 200.1.1.1:5 200.1.1.1:5
icmp 172.16.1.3:6 10.0.0.1:6 200.1.1.1:6 200.1.1.1:6icmp 172.16.1.3:7 10.0.0.1:7 200.1.1.1:7 200.1.1.1:7
icmp 172.16.1.3:8 10.0.0.1:8 200.1.1.1:8 200.1.1.1:8
--- 172.16.1.3 10.0.0.1 --- ---
-
8/21/2019 New Ccna Lab Manual-200-120
77/84
77
Copyright@ CTTC
LAB: Dynamic NAT
Objective: To Show Dynamic Translation from Public Ip Address to Private
Ip Address by Implementing Dynamic Nat
Router(config)#ip nat pool abc 172.16.1.3 172.16.1.4 netmask 255.255.255.0Router(config)#ip nat inside source list 10 pool abc
Router(config)#access-list 10 permit 10.0.0.0 0.0.0.255
Router(config)#interface f0/0Router(config-if)#ip access-group 10 out
Ping from Pc1 & from Pc2 but not from Pc3 Router# show ip nat translationsPro Inside global Inside local Outside local Outside globaltcp 172.16.1.3:1025 10.0.0.1:1025 200.1.1.1:80 200.1.1.1:80
tcp 172.16.1.4:1025 10.0.0.2:1025 200.1.1.1:80 200.1.1.1:80
-
8/21/2019 New Ccna Lab Manual-200-120
78/84
78
Copyright@ CTTC
LAB: PAT
Objective: To Show Translation from One Public Ip Address to Many Private
Ip Address by Implementing Pat
Configuration on R1 Router(config)#ip nat pool abc 172.16.1.3 172.16.1.3 netmask 255.255.255.0
Router(config)#ip nat inside source list 10 pool abc overloadRouter(config)#access-list 10 permit 10.0.0.0 0.0.0.255
Router(config)#interface f0/1
Router(config-if)#ip nat insideRouter(config-if)#ex
Router(config)#interface f0/0Router(config-if)#ip nat outside
Router(config-if)#exRouter(config)#ip route 0.0.0.0 0.0.0.0 f0/0
-
8/21/2019 New Ccna Lab Manual-200-120
79/84
79
Copyright@ CTTC
Ping 200.1.1.1 and then check the router translation Router(config)#do sh ip nat translation
Pro Inside global Inside local Outside local Outside global
icmp 172.16.1.3:5 10.0.0.1:5 200.1.1.1:5 200.1.1.1:5icmp 172.16.1.3:6 10.0.0.1:6 200.1.1.1:6 200.1.1.1:6
icmp 172.16.1.3:7 10.0.0.1:7 200.1.1.1:7 200.1.1.1:7icmp 172.16.1.3:8 10.0.0.1:8 200.1.1.1:8 200.1.1.1:8
-
8/21/2019 New Ccna Lab Manual-200-120
80/84
80
Copyright@ CTTC
LAB:Trouble shooting of EIGRP
Configuration on R1Router>enable
Router#configure terminalRouter(config)# interface s0/3/0
Router(config-if)#ip address 10.0.0.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#interface loopback 0
Router(config-if)#ip address 1.1.1.1 255.255.255.0
Router(config-if)#exitRouter(config)#router eigrp 9
Router(config-router)#no auto-summary
Router(config-router)#network 10.0.0.0Router(config-router)#network 1.1.1.0
Router(config-router)#exit
Configuration on R2Router>enable
Router#configure terminalRouter(config)#interface s0/3/0
Router(config-if)#ip address 10.0.0.2 255.255.255.0
Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#interface loopback 0
Router(config-if)#ip address 2.2.2.2 255.255.255.0Router(config-if)#exit
Router(config)#router eigrp 100Router(config-router)#network 10.0.0.0
Router(config-router)#network 2.2.2.0Router(config-router)#no auto-summary
Router(config-router)#exit
-
8/21/2019 New Ccna Lab Manual-200-120
81/84
81
Copyright@ CTTC
After perform routing there is no ping from Router 1 to loopback 2.2.2.2,
Basically the reason is that , Router 1 have the A.S number is 10 and Router 2 have A.S no: 9,
that’s why there is no ping.
Now I have to change the A.S no: of R2.
-
8/21/2019 New Ccna Lab Manual-200-120
82/84
82
Copyright@ CTTC
LAB:SYSLOG
OBJECTIVE: To Implement Syslog and to Show The Output it Generates On
the Syslog Server
Configuration on RouterRouter>enableRouter#conf tRouter(config)#int fa0/0Router(config-if)#ip address 10.0.0.1 255.0.0.0Router(config-if)#no shut
Router(config-if)#exitRouter(config)#int fa0/1Router(config-if)#ip address 20.0.0.1 255.0.0.0Router(config-if)#no shut
Router(config)#service timestamps log datetime msecRouter(config)#logging host 20.0.0.2Router(config)#logging trap debuggingRouter(config)#end*Mar 01, 00:04:47.044: *Mar 01, 00:04:47.044: %SYS-5-CONFIG_I: Configured from console byconsole
Enter configuration commands, one per line. End with CNTL/Z.
-
8/21/2019 New Ccna Lab Manual-200-120
83/84
83
Copyright@ CTTC
In order to generate the log do some configuration as below.Router(config)#router eigrp 10
Router(config-router)#exitRouter(config)#int fa0/0
Router(config-if)#shutdown
*Mar 01, 00:05:50.055: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state toadministratively down
*Mar 01, 00:05:50.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/0, changed state to downRouter(config-if)#no shutdown
Router(config-if)#
*Mar 01, 00:05:52.055: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
*Mar 01, 00:05:52.055: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceFastEthernet0/0, changed state to up
Now click the server to see the syslog messages.
-
8/21/2019 New Ccna Lab Manual-200-120
84/84
84