Configuring Port Security on Cisco Switch | Exam 200-125 Question Answer

How to Verify Port Security Configuration on Cisco Switch

Prev Question Next Question

Question

Which two commands correctly verify whether port security has been configured on port FastEthernet 0/12 on a switch? (choose two)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

DE

The correct answers are A and E.

Port security is a feature that allows you to restrict the number of MAC addresses that can be learned on a switch port. This helps to prevent unauthorized devices from connecting to the network.

To verify whether port security has been configured on port FastEthernet 0/12 on a switch, we can use the following commands:

A. show switchport port-security interface FastEthernet 0/12 - This command displays the port security settings for the specified interface, including the maximum number of allowed MAC addresses, the current number of secure MAC addresses, and the current state of port security.

E. show port-security interface FastEthernet 0/12 - This command also displays the port security settings for the specified interface, including the maximum number of allowed MAC addresses, the current number of secure MAC addresses, and the current state of port security.

Both commands are valid and will display the same information, but option A is more accurate as it explicitly states "switchport" while option E does not.

Option B is not a valid command, as "port-secure" is not a recognized command.

Option C is not a valid command, as "port-secure" is not a recognized command and "show" is missing.

Option D is not relevant to the question, as it will display the entire running configuration of the switch, not just the port security settings for a specific interface.