cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
820
Views
1
Helpful
11
Replies

ARP table not updating

saiddiab1605
Level 1
Level 1

Hi ,
When we first connect the printer to the switch C 9300 in version 17.6.5, it works, even the ping. However, when we disconnect the printer and configure another one with the same IP address, it doesn't work, and the ping doesn't go through.
Best regards 

11 Replies 11

M02@rt37
VIP
VIP

Hello @saiddiab1605,

Changing a device with the same IP address leads to connectivity problems. So it is crucial to ensure that the previous device is fully removed from the network and that the new device is configured correctly.

Verify that the ARP table on the switch is updated with the MAC address of the new printer. Do:

show arp | include <printer-IP>

If the ARP table doesn't show the correct MAC address for the new printer, you might need to clear the ARP cache. Do:

clear arp-cache

After clearing the ARP cache, check the ARP table again to verify that it now reflects the correct MAC address.

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

balaji.bandi
Hall of Fame
Hall of Fame

how is your switchport and security configuration on the switch you having issue.

May be switch doing his work as expected of the switch configure security config

You can also clearly see the Logs "show logginmg" any security reason this was not working ?

i suggested to clear ip arp x.x.x.x and test would be great, also test different port and test it.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Same IP different MAC 

It not SW arp table issue it issue in other device which keep ip and old mac not ip and new mac.

saiddiab1605
Level 1
Level 1

thank you for the answer
When we use the command "clear arp-cache" to clear the ARP cache, the printer works. I'm trying to identify the source of the problem because the switch is located in a production environment, and regularly intervening to clear the ARP cache is not a practical solution.

You dont get my reply 

The SW update ip-mac when any traffic ingress the port.

Here printer is silent device so SW not update ip-mac and also other devices from which you try to ping not update it ip-mac.

Solution make printer not silent via make it using dhcp (you can use IP in dhcp for printer that not leased) or using 

Ip device tracking (this solution must be check before apply).

Perfect @saiddiab1605 

See for adressing with DHCP printers like @MHM Cisco World  suggest.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

if the clear arp works - that is intended to work in the switch - based on the arp time out.

In  General deployment the IP and MAC not going to change as frequent as expected (its only for testing that is ok)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

@saiddiab1605 

What about the arp aging-time? Do you custumize it ?

show arp | include <old-printer-IP>

--Look for the "Age" column to see how long the ARP entry has been in the cache.

To adjust the ARP aging time:

arp timeout <seconds>

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

saiddiab1605
Level 1
Level 1

We don't have DHCP on this line; it's a production line.

Ip device tracking 

Then Or 

Use eem to ping printer IP using vlan svi ip.

MHM

saiddiab1605
Level 1
Level 1

.

Review Cisco Networking for a $25 gift card