Q. 71:
Which command can be used to recover a switch port from an err-disabled state?
a) no shutdown
b) enable err-disabled
c) switchport err-disable recovery
d) reset err-disable
Answer: (a) no shutdown
Q. 72:
Which Cisco feature automatically recovers ports from an err-disabled state due to security violations?
a) PortFast
b) BPDU Guard
c) Err-disable recovery
d) Storm Control
Answer: (c) Err-disable recovery
Q. 73:
Which of the following commands enables PortFast on an interface?
a) spanning-tree portfast enable
b) spanning-tree portfast
c) spanning-tree portfast default
d) switchport portfast
Answer: (b) spanning-tree portfast
Q. 74:
Which command is used to configure a switch as the root bridge for a specific VLAN?
a) spanning-tree vlan [vlan_id] priority 0
b) spanning-tree vlan [vlan_id] root primary
c) spanning-tree vlan [vlan_id] root bridge
d) spanning-tree vlan [vlan_id] set root
Answer: (b) spanning-tree vlan [vlan_id] root primary
Q. 75:
Which Cisco IOS command is used to configure a switchport for VLAN trunking?
a) switchport mode trunk
b) switchport trunk enable
c) switchport trunk encapsulation
d) switchport mode access
Answer: (a) switchport mode trunk
Q. 76:
In what state does a switch port remain until the spanning tree algorithm determines the port’s role in the network?
a) Blocking
b) Listening
c) Learning
d) Forwarding
Answer: (a) Blocking
Q. 77:
Which protocol standardizes link aggregation across multiple vendor switches?
a) PAgP
b) LACP
c) HSRP
d) STP
Answer: (b) LACP (Link Aggregation Control Protocol)
Q. 78:
Which Cisco technology provides redundancy in case of a link failure and improves load balancing in a Layer 2 network?
a) EtherChannel
b) STP
c) HSRP
d) LACP
Answer: (a) EtherChannel
Q. 79:
Which Cisco command displays the spanning tree protocol information for all VLANs on a switch?
a) show stp
b) show spanning-tree
c) show vlan stp
d) show interface stp
Answer: (b) show spanning-tree
Q. 80:
What command is used to create a VLAN on a Cisco switch?
a) create vlan [vlan_id]
b) switchport vlan [vlan_id]
c) vlan database [vlan_id]
d) vlan [vlan_id]
Answer: (d) vlan [vlan_id]