You wish to configure port security on your switch allowing
You wish to configure port security on your switch, allowing the switch to learn which MAC address is connected to each port. After setting the interfaces in switchport mode access and turning on port security with switchport port-security, which command should be entered next?
A. switchport port-security mac-address
B. switchport port-security mac-address address
C. switchport port-security mac-address learn
D. switchport port-security mac-address sticky
Solution
Please follow the data and description :
Port - Security :
In general we use the switchport port-security command to enable port-security. We have configured port-security so only one MAC address is allowed. Besides setting a maximum on the number of MAC addresses we can also use port security to filter MAC addresses.
Now use the switchport port-security mac-address command to define the MAC address that you want to allow.
So the answer is OPTION A (switchport port-security mac-address).
Hope this is helpful.
