200-101 · Question #192
Which two commands correctly verify whether port security has been configured on port FastEthernet 0/12 on a switch? (Choose two.)
The correct answer is C. SW1#show running-config D. SW1#show port-security interface FastEthernet 0/12. The correct Cisco IOS command to display port security status for a specific interface is 'show port-security interface FastEthernet 0/12' (D), which shows the port security mode, maximum addresses, current addresses, and violation count. 'show running-config' (C) also works beca
Question
Options
- ASW1#show port-secure interface FastEthernet 0/12
- BSW1#show switchport port-secure interface FastEthernet 0/12
- CSW1#show running-config
- DSW1#show port-security interface FastEthernet 0/12
- ESW1#show switchport port-security interface FastEthernet 0/12
How the community answered
(25 responses)- A4% (1)
- B4% (1)
- C92% (23)
Explanation
The correct Cisco IOS command to display port security status for a specific interface is 'show port-security interface FastEthernet 0/12' (D), which shows the port security mode, maximum addresses, current addresses, and violation count. 'show running-config' (C) also works because it displays the entire active configuration, where any port-security commands applied to FastEthernet 0/12 will appear. The other options use incorrect syntax: 'show port-secure' and 'show switchport port-secure' are not valid Cisco IOS commands; the correct keyword is 'port-security', and it is not preceded by 'switchport'.
Topics
Community Discussion
No community discussion yet for this question.