Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 16
Q161:
What command can be used to verify IP addressing on a switch?
A. show ip interface brief
B. show vlan
C. show mac address-table
D. show interfaces
Correct Answer:
A
Chapter: 16
Q162:
Fill in the blank: To check the basic connectivity between devices, use the ________ command.
A. ping
B. trace route
C. show ip route
D. show vlan
Correct Answer:
A
Chapter: 16
Q163:
Which command is used to view the current IP address configuration of a device?
A. show running-config
B. show ip interface brief
C. show version
D. show mac address-table
Correct Answer:
B
Chapter: 16
Q164:
Fill in the blank: The `show ip route` command displays the ________. IP routing table
A. IP address configuration
B. VLAN information
C. Device version
Correct Answer:
A
Chapter: 16
Q165:
What command displays the IP address and subnet mask configuration on a device?
A. show interfaces
B. show ip address show ip interface brief
C. show ip protocols
Correct Answer:
A
Chapter: 16
Q166:
Fill in the blank: To verify that a PC has an IP address assigned correctly, you should use the ________ command.
A. ipconfig
B. ifconfig
C. ping
D. show ip interface brief
Correct Answer:
A
Chapter: 16
Q167:
Which command provides detailed information about each interface's IP configuration?
A. show ip interface detail
B. show ip interface brief
C. show interfaces status
D. show ip address
Correct Answer:
A
Chapter: 16
Q168:
Fill in the blank: To test connectivity between two devices on a network, use the ________ command to send ICMP Echo requests.
A. ping
B. traceroute
C. netstat
D. show ip route
Correct Answer:
A
Chapter: 16
Q169:
What command shows the MAC address table on a switch?
A. show ip mac address-table
B. show mac address-table
C. show vlan show interfaces
Correct Answer:
A
Chapter: 16
Q170:
Fill in the blank: The `ping` command tests connectivity by sending ________ packets.
A. ICMP
B. ARP
C. TCP
D. UDP
Correct Answer:
A
Chapter: 17
Q171:
Which command is used to verify the IP address configuration of a PC in Packet Tracer?
A. ipconfig
B. ifconfig
C. show ip address
D. ping
Correct Answer:
A
Chapter: 17
Q172:
Fill in the blank: To ensure devices are connected properly after configuring IP addresses, use the ________ command to check connectivity.
A. ping
B. traceroute
C. arp
D. show ip route
Correct Answer:
A
Chapter: 17
Q173:
What does the `show ip route` command display?
A. Routing table
B. Interface status
C. IP address configuration
D. VLAN information
Correct Answer:
A
Chapter: 17
Q174:
Fill in the blank: The `show mac address-table` command on a switch displays the ________. MAC address entries
A. IP addresses
B. VLAN configurations
C. Device names
Correct Answer:
A
Chapter: 17
Q175:
What command shows a summary of all active interfaces on a switch?
A. show interfaces
B. show ip interface brief
C. show mac address-table
D. show running-config
Correct Answer:
B
Chapter: 17
Q176:
Fill in the blank: The `ping` command sends ________ packets to check network connectivity.
A. ICMP
B. TCP
C. UDP
D. ARP
Correct Answer:
A
Chapter: 17
Q177:
Which command would you use to verify VLAN configuration on a switch?
A. show vlan
B. show ip route
C. show interfaces
D. show mac address-table
Correct Answer:
A
Chapter: 17
Q178:
Fill in the blank: To test connectivity between devices across different networks, you can use the ________ command.
A. ping
B. trace route
C. show ip route
D. show vlan
Correct Answer:
B
Chapter: 17
Q179:
What is the purpose of the `show running-config` command?
A. Displays the current active configuration
B. Displays the IP routing table
C. Shows VLAN configurations
D. Shows MAC address table
Correct Answer:
A
Chapter: 17
Q180:
Fill in the blank: To check the detailed configuration of a switch interface, use the ________ command.
A. show ip interface detail
B. show interfaces detail
C. show running-config show vlan
Correct Answer:
A