A switch’s port Gi0/1 has been correctly enabled with port security. The configuration sets the violation mode to restrict. A frame that violates the port security policy enters the interface, followed by a frame that does not. Which of the following answers correctly describe what happens in this scenario? (Choose two answers.)
A.The switch puts the interface into an err-disabled state when the first frame arrives.
B.The switch generates syslog messages about the violating traffic for the first frame.
C.The switch increments the violation counter for Gi0/1 by 1.
D.The switch discards both the first and second frame.