# Switch
*It is a network devices.
*It works at layer 2 of OSI Model.
*It is used to connect more than one end devices for sharing purpose, security, etc.
# Manageable Switch: Those switches which can be configured by administrator i.e., administrator can modify the default configuration of switch. They have a console port.
# Unmanageable Switch: Those switches which cannot be configured by administrator. They already have a default configuration. They don't have a console port.
Setting Passwords
Five passwords are used to secure your Cisco Switch: console, auxiliary, telnet (VTY), enable password, and enable secret. The enable secret andenable password are used to set the password that’s used to secure privileged mode. This will prompt a user for a password when the enable
command is used. The other three are used to configure a password when user mode is accessed through the console port, through the auxiliary
port, or via Telnet.
1. Enable Password:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#enable password ccna@123
Switch(config)#exit
2. Enable Secret Password:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#enable secret ccna@123
Switch(config)#login
Switch(config)#exit
3. Console Password:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line console 0
Switch(config-line)#password ccna@123
Switch(config-line)#login
Switch(config-line)#exit
4. Auxiliary Password:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line auxiliary 0
Switch(config-line)#password ccna@123
Switch(config-line)#login
Switch(config-line)#exit
5. Telnet Password:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line vty 0 4
Switch(config-line)#password ccna@123
Switch(config-line)#login
Switch(config-line)#exit
Solve the Following Questions
1. What protocol does PPP use to identify the Network layer protocol?
A. NCP
B. ISDN
C. HDLC
D. LCP
2. Each field in an IPv6 address is how many bits long?
A. 4
B. 16
C. 32
D. 128
3. The RSTP provides which new port role?
A. Disabled
B. Enabled
C. Discarding
D. Forwarding
4. What does the command routerA(config)#line cons 0 allow you to perform next?
A. Set the Telnet password.
B. Shut down the router.
C. Set your console password.
D. Disable console connections.
5. How long is an IPv6 address?
A. 32 bits
B. 128 bytes
C. 64 bits
D. 128 bits
6. What PPP protocol provides for dynamic addressing, authentication, and multilink?
A. NCP
B. HDLC
C. LCP
D. X.25
7. What command will display the line, protocol, DLCI, and LMI information of an interface?
A. sh pvc
B. show interface
C. show frame-relay pvc
D. sho runn
8. Which of the following is the valid host range for the subnet on which the IP address 192.168.168.188 255.255.255.192 resides?
A. 192.168.168.129–190
B. 192.168.168.129–191
C. 192.168.168.128–190
D. 192.168.168.128–192
9. What does the passive command provide to the RIP dynamic routing protocol?
A. Stops an interface from sending or receiving periodic dynamic updates
B. Stops an interface from sending periodic dynamic updates but not from receiving updates
C. Stops the router from receiving any dynamic updates
D. Stops the router from sending any dynamic updates
10. Which protocol does Ping use?
A. TCP
B. ARP
C. ICMP
D. BootP
11. How many collision domains are created when you segment a network with a 12-port switch?
A. 1
B. 2
C. 5
D. 12
12. Which of the following commands will allow you to set your Telnet password on a Cisco router?
A. line telnet 0 4
B. line aux 0 4
C. line vty 0 4
D. line con 0
13. Which router command allows you to view the entire contents of all access lists?
A. show all access-lists
B. show access-lists
C. show ip interface
D. show interface
14. What does a VLAN do?
A. Acts as the fastest port to all servers
B. Provides multiple collision domains on one switch port
C. Breaks up broadcast domains in a layer 2 switch internetwork
D. Provides multiple broadcast domains within a single collision domain
15. If you wanted to delete the configuration stored in NVRAM, what would you type?
A. erase startup
B. erase nvram
C. delete nvram
D. erase running
16. Which protocol is used to send a destination network unknown message back to originating hosts?
A. TCP
B. ARP
C. ICMP
D. BootP
17. Which class of IP address has the most host addresses available by default?
A. A
B. B
C. C
D. A and B
18. How often are BPDUs sent from a layer 2 device?
A. Never
B. Every 2 seconds
C. Every 10 minutes
D. Every 30 seconds
19. Which one of the following is true regarding VLANs?
A. Two VLANs are configured by default on all Cisco switches.
B. VLANs only work if you have a complete Cisco switched internetwork. No off-brand switches are allowed.
C. You should not have more than 10 switches in the same VTP domain.
D. VTP is used to send VLAN information to switches in a configured VTP domain.
20. Which WLAN IEEE specification allows up to 54Mbps at 2.4GHz?
A. A
B. B
C. G
D. N
21. How many broadcast domains are created when you segment a network with a 12-port switch?
A. 1
B. 2
C. 5
D. 12
22. What flavor of Network Address Translation can be used to have one IP address allow many users to connect to the global Internet?
A. NAT
B. Static
C. Dynamic
D. PAT
23. What protocols are used to configure trunking on a switch? (Choose two.)
A. VLAN Trunking Protocol
B. VLAN
C. 802.1Q
D. ISL
24. What is a stub network?
A. A network with more than one exit point
B. A network with more than one exit and entry point
C. A network with only one entry and no exit point
D. A network that has only one entry and exit point
25. Where is a hub specified in the OSI model?
A. Session layer
B. Physical layer
C. Data Link layer
D. Application layer
26. What are the two main types of access control lists (ACLs)? (Choose two.)
A. Standard
B. IEEE
C. Extended
D. Specialized
27. To back up an IOS, what command will you use?
A. backup IOS disk
B. copy ios tftp
C. copy tftp flash
D. copy flash tftp
28. What command is used to create a backup configuration?
A. copy running backup
B. copy running-config startup-config
C. config mem
D. wr mem
29. What is the main reason the OSI model was created?
A. To create a layered model larger than the DoD model
B. So application developers can change only one layer’s protocols at a time
C. So different networks could communicate
D. So Cisco could use the model
30. Which protocol does DHCP use at the Transport layer?
A. IP
B. TCP
C. UDP
D. ARP
31. If your router is facilitating a CSU/DSU, which of the following commands do you need to use to provide the router with a 64000bps serial link?
A. RouterA(config)#bandwidth 64
B. RouterA(config-if)#bandwidth 64000
C. RouterA(config)#clockrate 64000
D. RouterA(config-if)#clock rate 64
E. RouterA(config-if)#clock rate 64000
32. Which command is used to determine if an IP access list is enabled on a particular interface?
A. show access-lists
B. show interface
C. show ip interface
D. show interface access-lists
33. Which command is used to upgrade an IOS on a Cisco router?
A. copy tftp run
B. copy tftp start
C. config net
D. copy tftp flash
34. The Protocol Data Unit Encapsulation (PDU) is completed in which order?
A. Bits, frames, packets, segments, data
B. Data, bits, segments, frames, packets
C. Data, segments, packets, frames, bits
D. Packets, frames, bits, segments, data
Answers:
1. A. Network Control Protocol is used to help identify the Network layer protocol used in the packet.
2. B. Each field in an IPv6 address is 16 bits long. An IPv6 address is a total of 128 bits.
3. C. .
4. C.
5. D. An IPv6 address is 128 bits long, whereas an IPv4 address is only 32 bits long.
6. C.
7. B.
8. A. 256 – 192 = 64, so 64 is our block size. Just count in increments of 64 to find our subnet: 64 + 64 = 128. 128 + 64 = 192. The subnet is 128,
the broadcast address is 191, and the valid host range is the numbers in between, or 129–190
9. B.
10. C.
11. D.
12. C.
13. B. .
14. C
15. A.
16. C.
17. A.
18. B.
19. D.
20. C.
21. A.
22. D.
23. C, D.
24. D.
25. B.
26. A, C.
27. D.
28. B.
29. C.
30. C.
31. E.
32. C.
.
33. D.
34. C.
Comments
Post a Comment