101. Fill in the blank: The _____ command is used to enable routing on a switch.
- a)
ip routing
- b)
route enable
- c)
routing enable
- d)
enable routing
Answer: a) ip routing
The
ip routing
command is used to enable IP routing on a Layer 3 switch.
102. What does the switchport mode dynamic desirable
command do?
- a) Sets the port to dynamic trunking mode
- b) Sets the port to access mode
- c) Negotiates trunking with the connected device
- d) Disables trunking
Answer: c) Negotiates trunking with the connected device
The
switchport mode dynamic desirable
command configures a port to actively negotiate trunking with the connected device.
103. Which command would you use to view the MAC address table with the VLAN information?
- a)
show mac address-table
- b)
show mac-address-table
- c)
show vlan mac-address
- d)
show interfaces mac
Answer: b) show mac-address-table
The
show mac-address-table
command displays the MAC address table along with the associated VLAN information.
104. Fill in the blank: The command show ip interface brief
shows a summary of all _____ and their IP addresses.
- a) VLANs
- b) Interfaces
- c) Routes
- d) Switches
Answer: b) Interfaces
The
show ip interface brief
command provides a summary of all interfaces and their associated IP addresses.
105. Which of the following commands is used to set the IP address for a VLAN interface on a switch?
- a)
ip address vlan
- b)
vlan ip address
- c)
interface vlan ip address
- d)
interface vlan
Answer: d) interface vlan
The
interface vlan
command is used to configure an IP address for a VLAN interface on a switch.
106. What is the purpose of the show mac address-table dynamic
command?
- a) To display static MAC addresses
- b) To display dynamic MAC addresses learned by the switch
- c) To display the MAC address table with VLAN information
- d) To display MAC address changes
Answer: b) To display dynamic MAC addresses learned by the switch
The
show mac address-table dynamic
command displays dynamic MAC addresses that the switch has learned.
107. Fill in the blank: The _____ command is used to configure an IP address on a VLAN interface.
- a)
ip address vlan
- b)
vlan ip address
- c)
interface vlan ip address
- d)
ip address
Answer: d) ip address
The
ip address
command, used within the VLAN interface configuration mode, sets an IP address on the VLAN interface.
108. Which command shows information about the status of all trunk ports on a switch?
- a)
show trunk
- b)
show interfaces trunk
- c)
show trunk ports
- d)
show vlan trunk
Answer: b) show interfaces trunk
The
show interfaces trunk
command provides information about all trunk ports and their configuration.
109. What is the purpose of configuring an access control list (ACL) on a switch?
- a) To filter IP traffic
- b) To configure VLANs
- c) To enable trunking
- d) To secure physical ports
Answer: a) To filter IP traffic
ACLs are used to filter and control IP traffic based on defined rules, enhancing network security.
110. Fill in the blank: The command show ip dhcp binding
displays the _____ of DHCP clients.
- a) ARP table
- b) Routing table
- c) DHCP lease information
- d) MAC address table
Answer: c) DHCP lease information
The
show ip dhcp binding
command displays information about the DHCP leases assigned to clients.