Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Chapter: 155
Q1781:
Fill in the blank: In Packet Tracer, after building the network, you need to _______ to complete VLAN configuration.
A. create VLANs
B. configure routing
C. set up IP addresses
D. assign switch ports
Correct Answer: A
Chapter: 155
Q1782:
What command is used to configure a switch port as a trunk port in Packet Tracer?
A. switchport mode trunk
B. switchport trunk allowed vlan vlan-list
C. switchport access vlan vlan-id
D. switchport mode dynamic
Correct Answer: A
Chapter: 155
Q1783:
Fill in the blank: The command switchport trunk allowed vlan vlan-list is used to _______.
A. specify VLANs on a trunk link
B. configure a switch port as an access port
C. remove VLANs from a trunk link
D. set up dynamic trunking
Correct Answer: A
Chapter: 155
Q1784:
What is a required step before configuring an 802.1Q trunk between switches?
A. Create VLANs
B. Assign IP addresses
C. Configure routing
D. Build the network
Correct Answer: A
Chapter: 155
Q1785:
Fill in the blank: To ensure VLANs are correctly set up, you should first _______ in Packet Tracer.
A. build the network
B. configure routing
C. set up IP addresses
D. create VLANs
Correct Answer: D
Chapter: 155
Q1786:
What command do you use to verify that a switch port is configured as a trunk in Packet Tracer?
A. show interfaces trunk
B. show vlan brief
C. show running-config
D. show interfaces switchport
Correct Answer: A
Chapter: 155
Q1787:
Fill in the blank: To assign switch ports to a specific VLAN, you use the command switchport access vlan _______.
A. vlan-id
B. vlan-list
C. trunk
D. dynamic
Correct Answer: A
Chapter: 156
Q1788:
What is the primary function of configuring VLANs in Packet Tracer?
A. To create network redundancy
B. To segment network traffic
C. To configure IP addresses
D. To manage routing protocols
Correct Answer: B
Chapter: 156
Q1789:
Fill in the blank: To ensure VLAN traffic is properly identified on a trunk link, use the _______ command.
A. switchport trunk allowed vlan
B. switchport mode trunk
C. switchport access vlan
D. switchport vlan list
Correct Answer: B
Chapter: 156
Q1790:
What does the switchport trunk allowed vlan command do in Packet Tracer?
A. Configures the switch port as an access port
B. Specifies VLANs allowed on a trunk link
C. Assigns VLANs to access ports
D. Configures VLANs dynamically
Correct Answer: B
Chapter: 156
Q1791:
Fill in the blank: To verify VLAN configurations on a switch, the command _______ can be used.
A. show vlan brief
B. show interfaces trunk
C. show running-config
D. show vlan
Correct Answer: B
Chapter: 156
Q1792:
What command would you use to remove a VLAN configuration from a switch?
A. delete vlan.dat
B. erase startup-config
C. no vlan vlan-id
D. clear vlan configuration
Correct Answer: C
Chapter: 156
Q1793:
Fill in the blank: When configuring a trunk port, the command switchport mode trunk sets the port to _______.
A. negotiate trunking
B. always be a trunk
C. only carry VLAN 1
D. operate in dynamic mode
Correct Answer: B
Chapter: 156
Q1794:
What is the default VLAN used by Cisco switches if no native VLAN is specified?
A. VLAN 1
B. VLAN 1002
C. VLAN 1005
D. VLAN 4094
Correct Answer: A
Chapter: 156
Q1795:
Fill in the blank: If a VLAN is deleted, its configuration will be removed from the _______.
A. vlan.dat file
B. running-config
C. startup-config
D. flash memory
Correct Answer: A
Chapter: 156
Q1796:
What command should be used to configure a trunk port to prevent DTP negotiation?
A. switchport mode trunk
B. switchport nonegotiate
C. switchport trunk allowed vlan
D. switchport access vlan
Correct Answer: B
Chapter: 156
Q1797:
Fill in the blank: The erase startup-config command is used to _______.
A. remove configuration files from NVRAM
B. delete VLAN configurations
C. reset VLAN settings
D. clear running configurations
Correct Answer: A
Chapter: 156
Q1798:
What command allows a switch to support VLANs on trunk links in Packet Tracer?
A. switchport mode trunk
B. switchport access vlan vlan-id
C. switchport trunk allowed vlan vlan-list
D. switchport mode dynamic
Correct Answer: A
Chapter: 156
Q1799:
Fill in the blank: The switchport nonegotiate command is used to _______.
A. disable DTP negotiation
B. enable trunking
C. configure VLANs dynamically
D. assign a port to a VLAN
Correct Answer: A
Chapter: 157
Q1800:
What is the purpose of network redundancy in a hierarchical network?
A. Increase network speed
B. Provide additional physical links
C. Improve data encryption
D. Manage Layer 2 loops
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now