cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
615
Views
0
Helpful
3
Replies

MAC address stays on port, and does'nt appear on new

Clement BONNAL
Level 1
Level 1

Hello,

I facing difficulties on my LAN.

I've a core 3850 stack, and 2960X access switches.

  • An OEM switch is connected to the 3850 in a meeting room. When some PCs are connected on this switch, MAC Address going into 3850 mac address-table :

3850#show mac address-table | i 6d75
   3    aaaa.bbb9.6d75    STATIC      Gi1/0/5

  • But when PC leaves OEM switch, and when I connect it directly to an access 2960 switch, its MAC address stays in 3850 table on the same port. I can see its IP address also, but it have no connectivity (impossible to ping gateway which is 3850) :

3850#sh ip arp | i 6d75
Internet  192.168.34.108          0   aaaa.bbb9.6d75  ARPA   Vlan3

3850#ping 192.168.34.108
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.34.108, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

  • So the only way to have connectivity, is to shut/no shut the Gi1/0/5 port on the core, where the OEM switch is connected. And now, mac address appears from the new place :

3850#show mac address-table | i 6d75
   3    aaaa.bbb9.6d75    DYNAMIC     Po1

3850#sh int desc
Interface                      Status         Protocol Description
Po1                            up             up       ## Downlink to 2960 ##

2960#show mac address-table | i 6d75
   3    aaaa.bbb9.6d75    STATIC      Gi3/0/13

Here is the Gi1/0/5 port configuration :

interface GigabitEthernet1/0/5
 description ## User Port ##
 switchport access vlan 3
 switchport mode access
 switchport port-security maximum 8
 switchport port-security
 switchport port-security aging time 2
 switchport port-security violation restrict
 switchport port-security aging type inactivity
 logging event link-status
 no snmp trap link-status
 storm-control broadcast level 5.00
 storm-control action trap
 spanning-tree portfast
 spanning-tree bpduguard enable
end

Can you help me about that ?

Thanks

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

you can clear the mac address fom the table and arp once its moved , there is default timers in place for cam and arp tables on the switch and the mac exists at layer 2 in the broadcast domain for that vlan if its on on both switches

clear mac address-table dynamic address x.x.x

clear ip arp x.x.x.x

Hello

I agree with the cmds but even after 2 days the mac address stays in the table on old port, so I think automatic timers expired ?

timers are around 4 hours default for macs on Cisco kit , whats this oem switch that has the pc originally connected

Review Cisco Networking for a $25 gift card