121. Which command is used to verify the status of port security on a switch port?
- a)
show port-security
- b)
show security
- c)
show port-security status
- d)
show port security
Answer: d) show port security
The
show port security
command displays information about port security settings and status.
122. Fill in the blank: The command show ip interface
provides detailed information about _____ and its IP configuration.
- a) MAC addresses
- b) Routing protocols
- c) Interfaces
- d) VLANs
Answer: c) Interfaces
The
show ip interface
command provides detailed information about the interfaces and their IP configurations.
123. Which command is used to configure a static IP address for a VLAN interface on a switch?
- a)
ip address
- b)
vlan ip address
- c)
interface vlan
- d)
ip vlan address
Answer: c) interface vlan
The
interface vlan
command is used to configure an IP address for a VLAN interface.
124. Fill in the blank: To configure a switch port as a trunk port, use the command _____ mode trunk.
- a)
switchport
- b)
interface
- c)
vlan
- d)
port
Answer: a) switchport
The switchport mode trunk
command configures a port to operate as a trunk port.
125. Which command shows the IP addresses of devices that have recently communicated with the switch?
- a)
show ip arp
- b)
show ip dhcp
- c)
show ip address
- d)
show ip interface
Answer: a) show ip arp
The
show ip arp
command displays the ARP table, which includes the IP addresses and corresponding MAC addresses of devices that have communicated with the switch.
126. Fill in the blank: The command show running-config | include vlan
filters the running configuration to display only _____ configurations.
- a) IP
- b) VLAN
- c) Interface
- d) Access list
Answer: b) VLAN
The
show running-config | include vlan
command filters the running configuration to display only VLAN-related configurations.
127. What is the effect of configuring a port as switchport mode dynamic auto
?
- a) The port will actively attempt to negotiate trunking
- b) The port will passively wait to negotiate trunking
- c) The port will only allow untagged traffic
- d) The port will block all traffic
Answer: b) The port will passively wait to negotiate trunking
The
switchport mode dynamic auto
command configures the port to passively wait for the connected device to initiate trunking negotiations.
128. Fill in the blank: The _____ command is used to display a summary of the VLANs that are allowed on a trunk port.
- a)
show vlan allowed
- b)
show trunk vlan
- c)
show interfaces trunk
- d)
show vlan brief
Answer: c) show interfaces trunk
The
show interfaces trunk
command provides a summary of VLANs that are allowed on trunk ports.
129. Which command displays the configuration of a specific interface?
- a)
show interface
- b)
show interface config
- c)
show interfaces status
- d)
show running-config interface
Answer: d) show running-config interface
The
show running-config interface
command displays the configuration of a specific interface.
130. Fill in the blank: The command switchport port-security maximum
specifies the maximum number of _____ allowed on a switch port.
- a) IP addresses
- b) MAC addresses
- c) VLANs
- d) Trunks
Answer: b) MAC addresses
The
switchport port-security maximum
command specifies the maximum number of MAC addresses that can be learned on a switch port.