What is the function of this command? switch(config-if)# switchport port-security mac-address sticky.
Click on the arrows to vote for the correct answerA. B. C. D. E.
The command "switchport port-security mac-address sticky" is used in Cisco IOS-based switches to configure port security on a switch port, and it performs a specific function.
Port security is a feature that allows the switch to restrict the number of MAC addresses that can be learned on a particular switch port. The switchport port-security mac-address sticky command enables sticky learning for port security.
Here is what the command does in detail:
Therefore, the correct answer is D: It allows the switch to perform sticky learning, in which the dynamically learned MAC addresses are copied from the MAC address table (CAM table) to the startup configuration.