04-12-2017 09:08 AM - edited 03-08-2019 10:11 AM
Hi everyone,
I am a bit confused with those two commands: ip arp gratuitous and ip gratuitous-arp
What are each command doing and what would be a use case of such commands?
Thanks in advance for your help.
Regards,
Matthieu
Solved! Go to Solution.
04-17-2017 07:58 AM
Hi,
I have never done it but I think it will impact the functionally of the protocol since it will disable sending arp packets.
BTW, the command to disable it for HSRP is "no standby arp gratuitous"
I also noticed that this command is not available on all platforms.
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp_fhrp/configuration/15-sy/fhp-15-sy-book/HSRP-Gratutious-ARP.html
That is correct.
HTH
04-12-2017 11:17 AM
Hi,
Have a look at these 2 links, one related to each command:
https://supportforums.cisco.com/discussion/12257536/what-gratuitous-arp
A Cisco router will send out a gratuitous ARP message out of all interfaces when a client connects and negotiates an address over a PPP connection. However, by default, gratuitous ARP messages are not sent out when the client receives the address from the local address pool. The ip gratuitous-arps non-local command option is the default form and is not saved in the running configuration.
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book/ipaddr-i3.html
HTH
04-12-2017 11:26 AM
Hi Reza,
Thanks for your answer.
So as far as I understand:
Regards,
Matthieu
04-12-2017 11:36 AM
If I may to add, I would say they are the same just syntax variations across different codes/platforms.
04-17-2017 07:10 AM
From my understanding (see previous post) they are quite different or maybe I'm missing something?
04-17-2017 10:10 AM
Unless there's a cisco documentation shows "ip arp gratuitous" and "ip gratuitous-arp" syntax's are different. The concept is one -gratuitous arp-, different syntax's. But I agree with you if you are referring to "no ip gratuitous-arp" as a syntax is specific to PPP config. Now how does disabling gratuitous arp play with HSRP/VRRP and PPP is a different story and you got it right. I hope this helps. Thanks!
04-17-2017 07:58 AM
Hi,
I have never done it but I think it will impact the functionally of the protocol since it will disable sending arp packets.
BTW, the command to disable it for HSRP is "no standby arp gratuitous"
I also noticed that this command is not available on all platforms.
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp_fhrp/configuration/15-sy/fhp-15-sy-book/HSRP-Gratutious-ARP.html
That is correct.
HTH
04-17-2017 08:05 AM
Thanks Reza for clarifying this.
Regards,
Matthieu
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