01-11-2021 01:46 PM
I am trying to clear a mac from a port. Here is what it looks like from the running config:
interface GigabitEthernet5/0/7
switchport mode access
switchport port-security mac-address sticky
switchport port-security
sh interfaces status err-disabled returns:
Gi5/0/7 err-disabled psecure-violation
If there is a violation, shouldn't there be a MAC address listed with the port in the running config? How do I resolve this so I can allow my client to connect?
01-12-2021 05:16 PM
is that works as expected? we take all good here? - the post bit confused with replies jumbled.
01-14-2021 03:21 AM
yes
01-11-2021 07:56 PM - edited 01-12-2021 05:29 PM
.,
01-12-2021 04:15 AM
I tried this. When I do the show port-security interface g5/0/7, it shows the mac of the device I connected, yet it gets shutdown. What does this mean? The only thing I can think of is that it has more than one mac address...
01-12-2021 05:58 AM
this what i have explained on the other port - you need to clear and follow the post above for instructions.
01-12-2021 08:50 AM - edited 01-13-2021 10:06 AM
..
01-12-2021 06:11 AM - edited 01-12-2021 09:21 AM
...
01-12-2021 08:36 AM - edited 01-13-2021 10:07 AM
...
01-12-2021 09:19 AM
It's only showing one mac, which is the one I want to connect:
show port-security interface gigabitEthernet 5/0/7 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 : 0 Configured MAC Addresses : 0 Sticky MAC Addresses : 0 Last Source Address:Vlan : <mac> Security Violation Count : 401
01-12-2021 09:25 AM - edited 01-13-2021 10:07 AM
...
01-12-2021 09:31 AM
Running show port-security interface gi5/0/7 address returns no mac addresses. Yet, my device can't pull an IP.
01-12-2021 09:54 AM - edited 01-13-2021 10:08 AM
...
01-12-2021 04:24 PM
The port still gets shut down.
Secure Mac Address Table
-----------------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ---- ----- -------------
1 78 SecureSticky Gi5/0/3 -
1 0d SecureSticky Gi5/0/4 -
1 a2 SecureSticky Gi5/0/5 -
1 c1 SecureSticky Gi5/0/6 -
-----------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 6144
01-12-2021 04:59 PM
So you don't see any where mac address in show port-security address?
are you config DHCP snooping ?
01-12-2021 05:02 PM
I saw the mac on port 6, and ran these commands:
no switchport port-security maximum
no switchport port-security mac-address sticky
no switchport port-security
and now it looks like my port can finally connect! So I can't have more than one port with the same mac address?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide