41. Which command is used to assign an IP address to a switch’s VLAN interface?
- a)
vlan ip address
- b)
interface vlan
- c)
ip vlan
- d)
assign ip vlan
Answer: b) interface vlan
The
interface vlan
command is used to enter the interface configuration mode for a VLAN and assign an IP address.
42. Fill in the blank: The ____ command is used to verify the status of an interface on a switch.
- a)
show interface status
- b)
show ip interface
- c)
show ip status
- d)
interface status
Answer: a) show interface status
The
show interface status
command provides a summary of interface statuses on the switch.
43. What does the term “duplex” refer to in networking?
- a) The number of VLANs supported
- b) The type of cable used
- c) The simultaneous sending and receiving of data
- d) The speed of the network
Answer: c) The simultaneous sending and receiving of data
Duplex refers to the capability of a network device to send and receive data simultaneously.
44. Which command would you use to save the running configuration to the startup configuration on a Cisco switch?
- a)
save config
- b)
copy run start
- c)
write memory
- d)
copy startup-config
Answer: b) copy run start
The
copy run start
command copies the running configuration to the startup configuration, saving the current settings.
45. What is the default management IP address for a Cisco switch?
- a) 192.168.0.1
- b) 192.168.1.1
- c) 10.0.0.1
- d) Switches do not have a default management IP address.
Answer: d) Switches do not have a default management IP address.
Cisco switches do not have a default management IP address; it must be manually configured.
46. Fill in the blank: The _____ command is used to configure the default gateway on a Cisco switch.
- a)
ip default-gateway
- b)
set default-gateway
- c)
gateway ip
- d)
ip route-gateway
Answer: a) ip default-gateway
The
ip default-gateway
command sets the default gateway IP address for the switch.
47. Which of the following protocols does not operate at the Data Link layer of the OSI model?
- a) Ethernet
- b) PPP
- c) IP
- d) HDLC
Answer: c) IP
IP (Internet Protocol) operates at the Network layer (Layer 3) of the OSI model, while Ethernet, PPP, and HDLC operate at the Data Link layer (Layer 2).
48. Which command is used to enable a port on a Cisco switch that has been disabled?
- a)
enable
- b)
no shutdown
- c)
port enable
- d)
start port
Answer: b) no shutdown
The
no shutdown
command re-enables a disabled port on a switch.
49. What is the default mode for a switch port on a Cisco switch?
- a) Access mode
- b) Trunk mode
- c) Dynamic auto
- d) Dynamic desirable
Answer: a) Access mode
By default, a switch port on a Cisco switch is set to Access mode, which is used to connect to a single VLAN.
50. What is the primary purpose of a VLAN?
- a) To increase network speed
- b) To isolate network traffic
- c) To reduce the number of devices on a network
- d) To prevent collisions
Answer: b) To isolate network traffic
VLANs are used to segment network traffic into separate logical networks, enhancing security and reducing broadcast traffic.