06-18-2015 09:48 PM - edited 03-08-2019 12:37 AM
Dear Team,
I have some question regarding to MAC Address on swtich. I have 2 switch connect together with port-security configure on switchA port11 which connect to switchB port01 that have PC1 connected to port02 of switchB. SwitchA configure "port-security maximum 2". After switchA learned MAC address from SwitchB it store both SwitchB mac address and PC1 mac address. After i remove PC1 and replace by PC2 on switchB, I found on port11 of switchA still store the mac address of PC1 that i already removed. And PC2 also cannot access to anywhere due to the maximum reached on port11 of switchA. So what to do next to clear the old mac address and renew by the new mac address of PC2. Please help ! The bellow is the configuration:
----------------------------------------------------------
interface FastEthernet0/11
switchport access vlan 10
switchport mode access
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 1
switchport port-security violation restrict
switchport port-security aging type inactivity
switchport port-security mac-address sticky
switchport port-security aging static
------------------------------------------------------------------
-------------------------------------------------------
P-SW01-ITOFC#sh mac address-table interface f0/11
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
10 3cce.733d.5681 STATIC Fa0/11
10 d4be.d949.4423 STATIC Fa0/11
HP-SW01-ITOFC#sh port-security i
HP-SW01-ITOFC#sh port-security interface f0/11
Port Security : Enabled
Port Status : Secure-up
Violation Mode : Restrict
Aging Time : 1 mins
Aging Type : Inactivity
SecureStatic Address Aging : Enabled
Maximum MAC Addresses : 2
Total MAC Addresses : 2
Configured MAC Addresses : 0
Sticky MAC Addresses : 2
Last Source Address:Vlan : d4be.d949.4423:10
Security Violation Count : 0
----------------------------------------------
- See more at: https://supportforums.cisco.com/discussion/12536741/automatic-clear-mac-address-cisco-switch#sthash.mPf0zsxu.dpuf
Solved! Go to Solution.
06-18-2015 10:19 PM
could you share the pkt file ( you need to zip it and then upload it).
Else try removing 2 commands:-
switchport port-security mac-address sticky
switchport port-security aging static
06-18-2015 10:19 PM
could you share the pkt file ( you need to zip it and then upload it).
Else try removing 2 commands:-
switchport port-security mac-address sticky
switchport port-security aging static
06-19-2015 01:53 AM
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