Link to home
Start Free TrialLog in
Avatar of techbeausejour

asked on

Port security violation on Stack


I have a port with port security violation on it. But if I check logg, it give me errors...The mac address match the device that is plugged into...

interface GigabitEthernet1/0/25
 description Z1AAQNET NIC1 i27
 switchport access vlan 201
 switchport mode access
 switchport port-security
 switchport port-security violation restrict
 switchport port-security mac-address 842b.2b72.a56e
 speed 1000
 duplex full
 spanning-tree portfast

May  8 12:06:49.735 UTC: %PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address 842b.2b72.a576 on port GigabitEthernet1/0/25.
Avatar of techbeausejour


more info:

hostname#show port-security int gi1/0/25
Port Security              : Enabled
Port Status                : Secure-up
Violation Mode             : Restrict
Aging Time                 : 0 mins
Aging Type                 : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses      : 1
Total MAC Addresses        : 1
Configured MAC Addresses   : 1
Sticky MAC Addresses       : 0
Last Source Address:Vlan   : 842b.2b72.a576:201
Security Violation Count   : 217527
According to the info you posted, the MAC address does NOT match what is plugged in. Are you looking at a sticker on the hardware or in software that tells you the device's address? Is this a PC that is plugged in or another type of device? (The OUI is Dell, so I assume that it is a PC.) On some devices it is possible to change the MAC address of the unit. It is possible that this is what has happened. Another possiblity: does the device or PC that is plugged into the port have dual ethernet? If so, it could be the wrong port on the PC (or device) got plugged in to the switch by mistake.
Avatar of Infamus

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial