ā11-21-2023 06:16 AM
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-21-2023 06:19 AM
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.
ā11-21-2023 06:24 AM
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.
ā11-21-2023 06:25 AM
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.
ā11-21-2023 06:32 AM
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.
ā11-21-2023 06:38 AM
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).
ā11-21-2023 06:40 AM - edited ā11-21-2023 06:41 AM
Perfect @saiddiab1605
See for adressing with DHCP printers like @MHM Cisco World suggest.
ā11-21-2023 06:52 AM
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)
ā11-21-2023 07:01 AM
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>
ā11-21-2023 06:49 AM
We don't have DHCP on this line; it's a production line.
ā11-21-2023 06:54 AM
Ip device tracking
Then Or
Use eem to ping printer IP using vlan svi ip.
MHM
ā11-21-2023 06:49 AM - edited ā11-21-2023 06:51 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