91. What is the purpose of a MAC address table on a switch?
- a) To store IP addresses
- b) To map MAC addresses to IP addresses
- c) To map MAC addresses to switch ports
- d) To manage VLAN membership
Answer: c) To map MAC addresses to switch ports
The MAC address table on a switch maps MAC addresses to specific switch ports, enabling the switch to forward frames to the correct destination.
92. Which command is used to view the ARP table on a Cisco switch?
- a)
show arp
- b)
show mac-address-table
- c)
show interfaces
- d)
show ip arp
Answer: a) show arp
The
show arp
command displays the ARP table, which maps IP addresses to MAC addresses.
93. The command ip access-group 10 in
applies an access list to an interface to filter _____ traffic.
- a) Incoming
- b) Outgoing
- c) Both incoming and outgoing
- d) Multicast
Answer: a) Incoming
The
ip access-group 10 in
command applies access list 10 to an interface, filtering incoming traffic.
94. What is the purpose of the show version
command on a Cisco switch?
- a) To display the switch’s IP address
- b) To display the switch’s configuration
- c) To display system hardware and software information
- d) To display the switch’s routing table
Answer: c) To display system hardware and software information
The
show version
command provides information about the switch’s hardware and software, including the IOS version, uptime, and memory usage.
95. Which command is used to enable a switch port that has been disabled by the shutdown
command?
- a)
enable
- b)
no shutdown
- c)
port enable
- d)
no port shutdown
Answer: b) no shutdown
96. Which command is used to configure a switch port as a trunk port?
- a)
switchport mode trunk
- b)
switchport trunk mode
- c)
switchport set trunk
- d)
trunk port
Answer: a) switchport mode trunk
The
switchport mode trunk
command configures a port to operate as a trunk port, allowing it to carry traffic for multiple VLANs.
97. Fill in the blank: The _____ command is used to view the spanning tree status of a specific VLAN.
- a)
show spanning-tree vlan
- b)
show stp vlan
- c)
show vlan stp
- d)
show spanning-tree status vlan
Answer: a) show spanning-tree vlan
The
show spanning-tree vlan
command displays the spanning tree status for a specific VLAN.
98. Which of the following commands will show the current switch configuration file in use?
- a)
show startup-config
- b)
show running-config
- c)
show config
- d)
show system-config
Answer: b) show running-config
The
show running-config
command displays the current configuration file that is actively being used by the switch.
99. What is the default VLAN for untagged traffic on a trunk port?
- a) VLAN 1
- b) VLAN 10
- c) VLAN 100
- d) VLAN 99
Answer: a) VLAN 1
By default, untagged traffic on a trunk port is associated with VLAN 1 unless otherwise specified.
100. Which command is used to configure a port to allow traffic from multiple VLANs on a trunk port?
- a)
switchport trunk allowed vlan
- b)
switchport vlan allow
- c)
switchport mode trunk
- d)
switchport trunk mode
Answer: a) switchport trunk allowed vlan
The
switchport trunk allowed vlan
command specifies which VLANs are allowed to pass through a trunk port.