Ccna Lab General
Ccna Lab General
Cisco Certified
Network Associate
Lab Guide
Name: ______________________
Faculty:_____________________
Batch: ______________________
Branch:_____________________
Zoom Technologies® 1
Lab completion report
Name:_________________________
Batch:_________________________
LAB DATE Student Sig Lab Coordinator Sig Remarks
Initial
WAN Int
Static
RIP
EIGRP
OSPF
Access
List
NAT
Frame
Relay
VLAN
VTP
Inter-
VLAN
Port
Security
Zoom Technologies® 2
Zoom Technologies® 3
Lab 1 - INITIAL ROUTER CONFIGURATION
User mode:
Router >
Router > enable
Show commands:
Router # show running-config
Router # show startup-config
Router # show version
Router # show flash
Moving to Global configuration mode:
Router # configure terminal
Router(config) #
Zoom Technologies® 4
Checking the Changes in running-config
Hyderabad # show running-config
Hyderabad # show startup-config
Important Note
Please don’t forget to fill in the Lab Completion Report after the lab and take the signature of the lab
coordinator as Course completion certificate will not be issued otherwise.
Zoom Technologies® 5
Lab 2 - WAN INTERFACE CONFIGURATION:
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Zoom Technologies® 6
Fill the Blanks before Starting your configuration
Router Name:_________________
Zoom Technologies® 7
Show commands:
(To know whether the cable connected to the serial interface is DCE or DTE)
Zoom Technologies® 8
Lab 3.1 - STATIC ROUTING
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Zoom Technologies® 9
Fill the Blanks before Starting your configuration
Router Name:_________________
ROUTER # configure terminal
ROUTER(config) # interface serial 0
ROUTER(config-if) # ip address ___________ _____________
ROUTER(config-if) # no shutdown
ROUTER(config-if) # clock rate 64000
ROUTER(config-if) # encapsulation hdlc
ROUTER(config-if) # exit
ROUTER(config) # interface serial 1
ROUTER(config-if) # ip address ___________ _____________
ROUTER(config-if) # no shutdown
ROUTER(config-if) # encapsulation hdlc
ROUTER(config-if) # clock rate 64000
ROUTER(config-if) # exit
ROUTER(config) #
ROUTER(config) # ip routing
ROUTER(config) # ip route _________________ ___________________ _________
ROUTER(config) # ip route _________________ ___________________ _________
Zoom Technologies® 10
Lab 3.2 - STATIC ROUTING
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Show commands:
Zoom Technologies® 11
Lab 3.3: Default Routing
172.16.0.1
S0
CHE
E0
192.168.1.1
ON CHE :
Show commands:
Router Name:_________________
ROUTER # configure terminal
ROUTER(config) # interface serial 0
ROUTER(config-if) # ip address _________________________
ROUTER(config-if) # no shutdown
ROUTER(config-if) # clock rate 64000
ROUTER(config-if) # encapsulation hdlc
ROUTER(config-if) # exit
ROUTER(config) #
ROUTER(config) # ip routing
ROUTER(config) # ip route 0.0.0.0 0.0.0.0 _____ ____
Zoom Technologies® 12
1. Assign the IP address and make the serial interface
administratively up.
Zoom Technologies® 13
Lab 4 - RIP:
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Zoom Technologies® 14
Fill the Blanks before Starting your configuration
Router Name:_________________
ROUTER # configure terminal
ROUTER (config) # interface serial 0 ROUTER(config) #
ROUTER (config-if) # ip address ____________ ___________ ROUTER(config) # ip routing
ROUTER (config-if) # no shutdown ROUTER(config) # router rip
ROUTER (config-if) # clock rate 64000 ROUTER(config-router) # network ________________
ROUTER (config-if) # encapsulation hdlc ROUTER(config-router) # network ________________
ROUTER (config-if) # exit ROUTER(config-router) # network________________
ROUTER (config) # interface serial 1 ROUTER(config-router) # ^z
ROUTER (config-if) # ip address ____________ ___________ ROUTER#
ROUTER (config-if) # no shutdown
ROUTER (config-if) # encapsulation hdlc
ROUTER (config-if) # clock rate 64000
ROUTER (config-if) # exit
Zoom Technologies® 15
1. Enabling RIP Protocol process on the respective networks
Zoom Technologies® 16
Lab 5 - EIGRP
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Zoom Technologies® 17
Fill the Blanks before Starting your configuration
Router Name:_________________
Zoom Technologies® 18
1. Configuration of EIGRP
Zoom Technologies® 19
Lab 6 - OSPF
AREA 0
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE BAN
172.16.0.2/16 CHE S1
BAN
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
N
192.168.2.1/24
N
Zoom Technologies® 20
Fill in the Blanks before starting your configuration
Router Name:_________________
7. Election of DR/BDR
Zoom Technologies® 22
Lab 7 - STANDARD ACCESS-LIST:
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Only 192.168.2.0 should communicate with Configuration of an access-list on HYD that Configuration of an standard access-list on
192.168.1.0 administrative access through Telnet is Bangalore Ethernet 0 in the outbound
possible only from 10.0.0.10 direction denying 10.0.0.10
ON CHE:
ON HYD: ON BAN:
CHE #config terminal
CHE (config) # access-list 1 permit
HYD #config terminal BAN #config terminal
192.168.2.0 0.0.0.255
HYD (config) # access-list 1 permit BAN (config) # access-list 1 deny 10.0.0.10
CHE (config) # int e0
10.0.0.10 0.0.0.0 0.0.0.0
CHE (config-if) # ip access-group 1 out
HYD (config) # line vty 0 4 BAN (config)#access-list 1 permit any
CHE (config-if) # exit
HYD (config-line) # access-class 1 in BAN (config)#interface Ethernet 0
CHE (config) # exit
HYD (config-line) # exit BAN (config-if) # ip access-group 1 out
HYD (config) # exit BAN (config-if) # exit
CHE # show ip access-list
BAN (config) # exit
HYD # show ip access-list
Note: Use the command prompt of a PC try
to ping the filtered ip address
Zoom Technologies® 23
Lab 8 - EXTENDED ACCESS-LIST:
172.16.0.1/16 172.17.0.1/16
S0 S0
HYD S1
CHE S1
172.16.0.2/16
E0 172.17.0.2/16 BAN
E0 E0
192.168.1.1/24 10.0.0.1/8 BAN
192.168.2.1/24
N
Zoom Technologies® 24
1. Configure any routing protocol (e.g. RIP) & check the
communication
Zoom Technologies® 25
LAB 9: FRAME RELAY
Zoom Technologies® 26
CONFIGURATION ON CHE: CONFIGURATION ON BAN: CONFIGURATION ON BAN:
HYD#conf t BAN#
CHE# HYD(config)#frame-relay switching
CHE# config terminal HYD(config)#int s0 BAN # config terminal
HYD(config-if)#no ip address BAN (config)# interface serial 1
CHE(config)# interface serial 0 HYD(config-if)#no shutdown
CHE(config-if)#ip address 172.16.0.1 255.255.0.0 HYD(config-if)#encapsulation frame-relay BAN (config-if)#ip address 172.16.0.2 255.255.0.0
HYD(config-if)#clockrate 64000 BAN (config-if)# no shut
CHE(config-if)# no shut HYD(config-if)#frame-relay lmi-type cisco
CHE(config-if)# encapsulation frame-relay HYD(config-if)#frame-relay intf-type dce BAN (config-if)# encapsulation frame-relay
HYD(config-if)#frame-relay route 200 interface s1 100 BAN (config-if)#frame-relay lmi-type cisco
CHE(config-if)#frame-relay lmi-type cisco HYD(config-if)#exit
CHE(config-if)#frame-relay interface-dlci 100 HYD(config)#int s1 BAN (config-if)#frame-relay interface-dlci 200
HYD(config-if)#no ip address BAN (config-if)# exit
CHE(config-if)# exit HYD(config-if)#no shutdown
HYD(config-if)#encapsulation frame-relay BAN (config)#^z
HYD(config-if)#frame-relay lmi-type cisco BAN #
HYD(config-if)#frame-relay intf-type dce
HYD(config-if)#clockrate 64000
HYD(config-if)#frame-relay route 100 interface s0 200
HYD(config-if)#exit
HYD(config)#^Z
HYD#
Show commands:
Zoom Technologies® 27
1. Configuration of the frame-relay encapsulations
ROUTER#
ROUTER# config terminal
ROUTER(config)# interface serial ____
ROUTER(config-if)# ip address ___________________ ___________________
ROUTER(config-if)# no shut
ROUTER(config-if)# encapsulation frame-relay
ROUTER(config-if)#frame-relay lmi-type cisco
ROUTER(config-if)#frame-relay interface-dlci _____
ROUTER(config-if-dlci)#exit
ROUTER(config-if)#^z
ROUTER#
Zoom Technologies® 28
Lab 10 - VLAN
ON 192.168.20.50 ON 192.168.20.51
TRUNKING: TRUNKING:
2950 # config terminal 2950 # config terminal
2950(config) #interface fa0/24 2950(config) #interface fa0/24
2950(config-if) # switchport mode trunk 2950(config-if) # switchport mode trunk
2950(config-if) # switchport trunk allowed vlan all 2950(config-if) # switchport trunk allowed vlan all
2950(config-if) # exit 2950(config-if) # exit
2950(config) # exit 2950(config) # exit
Zoom Technologies® 29
Lab 11 - Inter-VLAN
Zoom Technologies® 30
1. Verification of MAC address table
2. Creation of VLAN
Server mode
Client mode
Transparent mode
Zoom Technologies® 31
Lab 12 - Port Security
Switch(config-if)#Switchport port-security
Switch(config-if)#Switchport port-security maximum <value>
Switch(config-if)#Switcport port-security mac-address <mac-address>
Switch(config-if)#Switchport port-security violation{protect|restrict|shutdown}
Zoom Technologies® 32
Lab 13 – NAT Configuration
Show Commands
CHE# show ip nat translation
Zoom Technologies® 33
Check the following if you have completed the lab
5. Debugging of NAT
Zoom Technologies® 34