Secure lobby switchport gi1/0/15 and limit allowed MAC addresses to two. Which configuration fulfills this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: interface gi1/0/15 switchport port-security switchport port-security maximum 2.
Why this is the answer
The correct configuration enables port security on the interface and then sets the maximum number of allowed MAC addresses to two. The switchport port-security command globally enables port security on the interface, and switchport port-security maximum 2 specifies the limit. The other options are incorrect because they either attempt to specify a static MAC address (which isn't requested and doesn't limit the count) or use incorrect syntax. Specifically, switchport port-security mac-address is used to statically define allowed MAC addresses, not to set a limit, and the last option combines incorrect commands and syntax.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed