150 CCNA Switch Configuration MCQS with Explanation

21. Which switch configuration command enables routing on a Layer 3 switch?

  • a) ip routing
  • b) route enable
  • c) enable routing
  • d) switchport routing

Answer: a) ip routing

The ip routing command enables routing on a Layer 3 switch, allowing it to route traffic between VLANs.

22. Which of the following is true regarding the Ethernet protocol?

  • a) It operates at the Network layer.
  • b) It is a connectionless protocol.
  • c) It provides flow control.
  • d) It is used exclusively for WAN connections.

Answer: b) It is a connectionless protocol.

Ethernet is a connectionless protocol, meaning it does not establish a connection before sending data.

23. Fill in the blank: The command to secure console access to a switch is _____.

  • a) line console 0
  • b) line console password
  • c) enable secret
  • d) console secure

Answer: a) line console 0

To secure console access, you enter the line console 0 command, then set a password using the password command.

24. What is the maximum number of VLANs that can be configured on a Cisco switch?

  • a) 64
  • b) 128
  • c) 256
  • d) 4096

Answer: d) 4096


Cisco switches can support up to 4096 VLANs.

25. Which command would you use to access a switch’s console from a remote location?

  • a) console access
  • b) telnet
  • c) ssh
  • d) remote console

Answer: b) telnet

The telnet command is used to remotely access the console of a switch.

26. What is the purpose of the switchport mode access command?

  • a) To configure a port as an access port
  • b) To configure a port as a trunk port
  • c) To disable a port
  • d) To enable routing on a port

Answer: a) To configure a port as an access port

The switchport mode access command configures the switch port to operate as an access port, which connects to a single VLAN.

27. The default VLAN on a Cisco switch is VLAN _____.

  • a) 1
  • b) 2
  • c) 10
  • d) 100

Answer: a) 1

VLAN 1 is the default VLAN on Cisco switches. All ports are initially part of VLAN 1 unless configured otherwise.

28. Which command disables an unused port on a switch?

  • a) shutdown
  • b) disable
  • c) no access
  • d) port off

Answer: a) shutdown


The shutdown command disables a port on a switch, making it inactive.

29. What is the default gateway used for on a switch?

  • a) To route traffic between different VLANs
  • b) To route traffic between different subnets
  • c) To route traffic to other networks
  • d) To route traffic within the same subnet

Answer: c) To route traffic to other networks

The default gateway is used by a switch to route traffic to destinations outside its local network.

30. Which command is used to assign a VLAN to a switch port?

  • a) vlan assign
  • b) switchport vlan
  • c) switchport access vlan
  • d) vlan access

Answer: c) switchport access vlan

The switchport access vlan command assigns a specific VLAN to a switch port.
We will be happy to hear your thoughts

Leave a reply