Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 27
Which configuration do you apply to an interface so that it uses port security to learn and commit the first MAC address?
Answer options
- A. Configure the switchport switch-port security violation restrict 1 command.
- B. Enable the sticky MAC addresses feature.
- C. Enable the static secure MAC addresses feature.
- D. Configure the switch for port-security aging type inactivity command.
- E. Configure the switchport port-security maximum 1 command.
- F. Disable the sticky MAC addresses feature.
Correct answer: E
Explanation
The correct answer is E because configuring the switchport port-security maximum 1 command allows the interface to learn and commit the first MAC address by limiting the number of MAC addresses to one. Options A, B, C, D, and F do not specifically address the requirement of learning and committing a single MAC address, thus they are not correct in this context.