141. What is the purpose of the show version
command?
- a) To display the software version of the switch
- b) To display the hardware version of the switch
- c) To display the switch configuration
- d) To display VLAN information
Answer: a) To display the software version of the switch
The
show version
command provides information about the software version and other system details.
142. Fill in the blank: The command show ip route
displays the IP routing _____ of the switch.
- a) Protocol
- b) Table
- c) Interface
- d) Status
Answer: b) Table
The
show ip route
command displays the IP routing table, which includes the routes known to the switch.
143. Which command is used to verify the status of a specific interface on a switch?
- a)
show interface status
- b)
show interface
- c)
show interfaces
- d)
show interfaces status
Answer: b) show interface
The
show interface
command provides detailed information about the status of a specific interface.
144. Fill in the blank: The command switchport port-security violation
is used to define the action taken when a _____ violation occurs.
- a) VLAN
- b) Port security
- c) IP address
- d) MAC address
Answer: b) Port security
The
switchport port-security violation
command specifies the action to take when a port security violation occurs.
145. Which command displays a summary of the active VLANs and their associated ports?
- a)
show vlan
- b)
show vlan brief
- c)
show vlan status
- d)
show vlan summary
Answer: b) show vlan brief
The
show vlan brief
command provides a summary of active VLANs and their associated ports.
146. Fill in the blank: The _____ command is used to display information about trunking and VLANs allowed on a trunk port.
- a)
show trunk
- b)
show interfaces trunk
- c)
show vlan trunk
- d)
show trunk status
Answer: b) show interfaces trunk
The
show interfaces trunk
command displays detailed information about trunking and the VLANs allowed on trunk ports.
147. Which command is used to display the IP configuration of a switch’s management VLAN interface?
- a)
show ip interface vlan
- b)
show interface vlan
- c)
show vlan ip
- d)
show vlan management
Answer: a) show ip interface vlan
The
show ip interface vlan
command displays the IP configuration for VLAN interfaces.
148. Fill in the blank: The _____ command is used to set the description of a switch port.
- a)
description
- b)
port description
- c)
switchport description
- d)
set description
Answer: a) description
The
description
command is used to set a description for a switch port, which helps identify the port’s function or purpose.
149. Which command is used to save the current configuration to the startup configuration file?
- a)
copy running-config startup-config
- b)
save running-config
- c)
write memory
- d)
save config
Answer: a) copy running-config startup-config
The
copy running-config startup-config
command saves the current configuration to the startup configuration file, ensuring it is used after a reboot.
150. The command show port-security
displays information about the switch’s _____ security configuration.
- a) IP
- b) Port
- c) VLAN
- d) Interface
Answer: b) Port
The
show port-security
command provides details about the port security configuration and status on the switch.