Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
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
View Answer
A
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
View Answer
A
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
View Answer
A
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
View Answer
A
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
View Answer
D
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
View Answer
A
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
View Answer
A
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
View Answer
B
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
View Answer
B
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
View Answer
B