NETWORK LAB
INSTRUCTIONS & SUMMARY
4TH STAGE
2018 - 2019
GENIUS PAWN
NETWORK
ALI R.LAB
MAHDI
Ali R.Alazawi 19
INST. COMMAND DESCRIBTION
Enter routers Router > enable
configuration dialog Router# configure terminal
mode
Change routers name Router(config)# hostname (....)1 (1) Text “required name of the
router “
Set console password Router(config)# line console 0 (1) Required password
Router(config_line)# login هنا نخلي باسوورد للجهاز نفسة
Router(config_line)#password
(…)1
Set telnet password Router(config)# line VTY 0 4 (1) Required password
(virtual terminal Router(config_line)# login هنا راح اخلي باسوورد للتحكم عن
password) Router(config_line)#password بعدtelnet
(…)1
Router ON password Router(config)#enable password (1) Required password
(enable password) (...)1
Router ON secret Router(config)#enable secret (1) Required password
password (...)1
(secret enable
password)
Encrypt all passwords Router(config)#service
password encryption
Configuring Router(config)# interface نفس االعدادات بالنسبة لل
interfaces fastethernet n/n Serial port
“fastethernet” Router(config)# ip address (..)1 نكتب ايعازDCE عدا انه بجهة ال
Clock rate
(..) 2
Router(config)# no shutdown
Setting ip’s Router(config)# ip dhcp pool (1) Network address
automatically (….) (2) Network mask
“DHCP” Router(dhcp-config)# (3) Gateway address
network(..)1(..)2
Router(dhcp-config)# default-
router(..)3
Setting a static route Router(config)# ip route (…)1 (1) Ip of the destination
between routers (…)2(…)3 network
(2) Subnet mask of dest. Net,
(3) Ip of the next interface
1|Page
GENIUS PAWN
INSTRUCTION TABLE FOR CISCO DEVICES WORKING WITH IOS
Setting a dynamic Router(config)# router RIP
route between Router(config-router)#network
routers (..)
Via RIP
View the routng Router# show ip route
table
Setting dynamic config)#router ospf 1
route via OSPF (router-router) network
(net.no.) (wild mask) area (area
no)
Setting Dynamic config)#router eigrp 1
route via EIGRP (router-router) network
(net.no.) (wild mask)
VLAN distribution Creating VLAN To configure a range of interfaces
instead of one by one :-
(config)# vlan <vlan id>
(config-vlan)# name <name> Switch(config)#interface range
…………………………….. fastethernet 0/8 - 12
Adding int to the VLAN Switch(config-if)#switchport
access vlan 3
(config)# interface <int. name> Switch(config-if)#switchport
(config-if)# switchport mode mode access
access Switch(config-if)#exit
(config-if)# switchport access
vlan <vlan id>
………………………….
Inter-VLAN Switch(config)#interface (…)
Switch(Config-if)# Switchport
mode trunk
2|Page
GENIUS PAWN
CHOOSE THE CORRECT ANSWER(S) FOR THE FOLLOWING QUESTIONES
1. Which network service can be configured on your router that is responsible for assigning
IP addresses to systems on the network?
(A) DHCP
(B) NAT
(C) DNS
(D) HTTP
2. When a client system boots up and requests an IP address, it first must send out which
message?
(A) DHCP request
(B) DHCP discover
(C) DHCP response
(D) DHCP ACK
3. What type of cable would you use if you wanted to connect a system to an RJ-45 port on
a switch?
(A) Fiber
(B) Crossover
(C) Straight-through
(D) Thinnet
4. You wish to network two systems by connecting a computer directly to another
computer. Which type of cable would you use?
(A) Fiber
(B) Crossover
(C) Straight-through
(D) Thinnet
5. You need to create a crossover cable. What wires would you cross on one of the ends?
(A) 1 and 2 with 3 and 4
(B) 2 and 4 with 6 and 8
(C) 2 and 4 with 5 and 6
(E) 1 and 2 with 3 and 6
6. IP assigned for a client by DHCP server is
(A) Limited period
(B) Unlimtted period
(C) Not time dependent
3|Page
GENIUS PAWN
(D) None of the mentioned above
7. The Dynamic Host Configuration Protocol provides :-
(A) IP Addresses
(B) MAC Addresses
(C) URLs
(D) None of the mentioned above
8. How often does a RIP router broadcast its routing table by default?
(A) Every 30 sec
(B) Every 60 sec
(C) Every 90 sec
(D) RIP does not broadcast periodically
9. What is the default subnet mask of a system with the IP address of 189.34.5.67?
(A) 255.0.0.0
(B) 255.255.0.0
(C) 255.255.255.0
(D) 255.255.255.255
10. What type of cable is used to connect to the console port?
(A) Crossover
(B) Straight-through
(C) Null modem
(D) Rollover
11. You are configuring the DCE end of a point-to-point serial link between two routers.
What extra command is typed on the DCE end of the link?
(A) clock rate 64000
(B) encapsulation hdlc
(C) ip address w.x.y.z
(D) no shutdown
12. You are connected to your switch and wish to remotely administer the Cisco router.
Which command would you use?
4|Page
GENIUS PAWN
(A) telnet
(B) enable
(C) connect
(D) rdp
13. You are at the global configuration prompt and wish to configure a communication
protocol for remote access to the router. What command would you type?
(A) line vty 0 4
(B) line console 0
(C) line telnet 0 4
(D) line telnet 0
14. What is the result of the following commands being entered on the route?
RouterA>enable .
RouterA#config term .
RouterA(config)#ip route 217.56.33.48 255.255.255.240 26.10.20.2
(A) Any data destined for the 26.10.20.2/28 network is forwarded to the IP address of
217.46.33.48.
(B) Any data destined for the 217.46.33.48/28 network is forwarded to the IP address of
26.10.20.2.
(C) Any data destined for the 217.46.33.0/28 network is forwarded to the IP address of
26.10.20.2.
(D) Any data destined for the 26.10.20.0/28 network is forwarded to the IP address of
217.46.33.48.
15. Using the following output, how will data be sent to 29.66.84.2?
ROUTER87#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, …
(Additional codes omitted for briefness)
Gateway of last resort is not set
S 29.0.0.0 [1/0] via 26.0.0.2
C 26.0.0.0/8 is directly connected, Serial0/0/0
C 25.0.0.0/8 is directly connected, FastEthernet0/1
(A) Data will be sent out Serial0/0/0.
(B) Data will be sent out FastEthernet0/1.
(C) Data will be sent out Serial0/0/1.
(D) Data will be sent to 26.0.0.2.
5|Page
GENIUS PAWN
16. Using the following output, how will data be sent to 25.33.200.2?
ROUTER87#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, …
(Additional codes omitted for briefness)
Gateway of last resort is not set
S 29.0.0.0 [1/0] via 26.0.0.2
C 26.0.0.0/8 is directly connected, Serial0/0/0
C 25.0.0.0/8 is directly connected, FastEthernet0/1
(A) Data will be sent out FastEthernet0/1
(B) Data will be sent out Serial0/0/0
(C) Data will be sent out Serial0/0/1
(D) Data will be sent to 26.0.0.2
17. Looking at the inst. Below , what end of point–to-point link is serial0/2/0
(A) DCE
(B) DTE
(C) MPC8600
(D) PowerQUICC
18. Looking at the commands below, what is the purpose of the “1”?
Router ospf 1
Network 192.168.2.0 0.0.0.255 area 0
(A) It is the OSPF priority.
(B) It is the router ID.
(C) It is the process ID for OSPF.
(D) It is a bit flag setting OSPF to “on.”
19. Which of the following is used to calculate OSPF cost?
(A) Bandwidth
(B) Delay
(C) Hop count
(D) Latency
6|Page
GENIUS PAWN
20. In regards to the commands shown below, what does the 10 represent?
NY-R1(config)#router eigrp 10
NY-R1(config-router)#network 11.0.0.0
(A) The maximum hop count
(B) The maximum equal paths
(C) The autonomous system
(D) The administrative distance
21. The EIGRP algorithm looks at all the routes in the topology table and chooses the best
route to a destination. The best route is known as the ________________.
(A) Feasible successor route
(B) Successor route
(C) Designated route
(D) Backup designated route
22. Which table does the successor route exist in? (select two)
(A) Topology table
(B) Neighbors table
(C) Routing table
(D) MAC table
23. EIGRP is considered which of the following?
(A) A hybrid protocol
(B) A link state protocol
(C) A distance vector protocol
(D) A layer-2 protocol
24. Which table does the feasible successor route exist in?
(A) Neighbors table
(B) Routing table
(C) Topology table
(D) MAC table
25. You have started the EIGRP process. What command would you use to enable EIGRP
for
network 172.16.16.0/20?
7|Page
GENIUS PAWN
(A) network 172.16.0.0 0.0.255.255
(B) network 172.16.16.0 0.0.255.255
(C) network 172.16.16.0 255.255.240.0
(D) network 172.16.16.0 0.0.15.255
26. You would like to view the IP addresses of neighboring devices with EIGRP. What
command should you use?
(A) show ip eigrp interfaces
(B) show ip eigrp topology
(C) show ip eigrp traffic
(D) show ip eigrp neighbors
27. Looking at the figure below, which pathway would be used to reach the system with the
IP address of 15.22.34.10?
(A) R1 would always send to 14.0.0.1 unless it fails.
(B) R1 would alternate between 14.0.0.1 and 12.0.0.2.
(C) R1 would always send to 12.0.0.2 unless it fails.
(D) R1 would send to 13.0.0.1 unless it fails.
28. You are configuring router on the stick so the router will route traffic between VLAN 10
and VLAN 20. You configure the sub-interfaces with the following commands. During
testing, you notice that the router is not routing between the VLANs. What is missing?
interface fa0/0.20
ip address 192.168.20.1 255.255.255.0
interface fa0/0.10
ip address 192.168.10.1 255.255.255.0
8|Page
GENIUS PAWN
(A) You need to configure each sub-interface as a trunk port.
(B) You need to configure a different subnet mask on each interface.
(C) You need to enable dot1q and specify the VLAN on each interface.
(D) You need to configure both interfaces for the same network ID.
29. Which of the following statements are true in order to get traffic to route between the two
VLANs in the figure below? (Select two.)
(A) Do nothing.
(B) Configure F0/12 on SW1 for trunk mode.
(C) Configure F0/0 on R1 for trunk mode.
(D) Configure sub-interfaces on SW1.
(E) Configure sub-interfaces on R1.
9|Page
GENIUS PAWN
10 | P a g e
GENIUS PAWN