1-19Authentication Mode is AutoPort Control Type is Mac-basedGuest VLAN: 0Max number of on-line users is 256EAPOL Packet: Tx 16331, Rx 102Sent EAP Request/Identity Packets : 16316EAP Request/Challenge Packets: 6EAP Success Packets: 4, Fail Packets: 5Received EAPOL Start Packets : 6EAPOL LogOff Packets: 2EAP Response/Identity Packets : 80EAP Response/Challenge Packets: 6Error Packets: 01. Authenticated user : MAC address: 0002-0000-0011Controlled User(s) amount to 1In addition, as NTK is enabled, frames with unknown destination MAC addresses, multicast addresses,and broadcast addresses should be discarded.Troubleshooting Port SecurityCannot Set the Port Security ModeSymptomCannot set the port security mode.[Switch-GigabitEthernet1/0/1] port-security port-mode autolearnError:When we change port-mode, we should first change it to noRestrictions, then changeit to the other.AnalysisFor a port working in a port security mode other than noRestrictions, you cannot change the portsecurity mode by using the port-security port-mode command directly.SolutionSet the port security mode to noRestrictions first.[Switch-GigabitEthernet1/0/1] undo port-security port-mode[Switch-GigabitEthernet1/0/1] port-security port-mode autolearnCannot Configure Secure MAC AddressesSymptomCannot configure secure MAC addresses.[Switch-GigabitEthernet1/0/1] port-security mac-address security 1-1-2 vlan 1Error:Can not operate security MAC address for current port mode is not autoLearn!