Port Security 3
Question 1
Question 2
Question 3
Question 4
Explanation
When a violation occurs, a port can be put into error disabled state. Although the behavior of this state is the same as shutdown state but it is not shutdown state (so answer B is not correct). Also in this state all traffic through this port would be drop and a SNMP trap (not log) is sent.
Question 5 (same as Q.2 of https://www.certprepare.com/port-security but answers are different)
Explanation
Port security can be enabled on both access and static trunk ports. An example of configuring port security on a static trunk port is shown below:
Switch(config)# interface fastethernet 0/1 Switch(config-if)# switchport Switch(config-if)# switchport mode trunk Switch(config-if)# switchport port-security |
For more information about configuring port-security on trunk port please visit this link: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/25sg/configuration/guide/conf/port_sec.pdf
We cannot configure port security on a dynamic interface. For example we will see an error when try it:
Switch(config)# interface fastethernet 0/1 Switch(config-if)# switchport Switch(config-if)# switchport mode dynamic desirable Switch(config-if)# switchport port-security Command rejected: FastEthernet0/1 is a dynamic port. |
Question 6
Explanation
Note: The show errdisable detect does not figure out which interface was shutdown as a result of a port security violation.
2960G# show errdisable detect ErrDisable Reason Detection Mode |
With the “show interface status err-disabled command we can find out the err-disabled ports:
switch# show interface status err-disabled
———————————————————————– |
Question 4
Which two actions are possible when you are configuring port-security? (Choose two)
A. Port will be error disabled
B. Port will be shutdown
C. Port will drop traffic
D. Port will send logs
Answers: A & C
Protect, restrict & shutdown are the 3x violation modes.
Both protect & restrict will drop traffic until such time that you remove a sufficient number of secure MAC addresses or increase the number of maximum allowable addresses. < Answer C
Shutdown mode – Error-disables the port if a violation occurs. < Answer A
Tricky wording….