From a91a95031cb3956deed986a5ea0211edcd95c119 Mon Sep 17 00:00:00 2001 From: Dmytro Aleksandrov Date: Tue, 21 Aug 2018 08:46:48 +0300 Subject: T689: Moved force arp ops from vyatta-op --- op-mode-definitions/force-arp.xml | 79 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 op-mode-definitions/force-arp.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/force-arp.xml b/op-mode-definitions/force-arp.xml new file mode 100644 index 000000000..3eadabf0a --- /dev/null +++ b/op-mode-definitions/force-arp.xml @@ -0,0 +1,79 @@ + + + + + Force an operation + + + + + Send gratuitous ARP request or reply + + + + + Send gratuitous ARP reply + + + + + Send gratuitous ARP reply on specified interface + + + + + + + + Send gratuitous ARP reply for specified address + + sudo arping -I $5 -c 1 -A $7 + + + + Send specified number of ARP replies + + sudo arping -I $5 -c $9 -A $7 + + + + + + + + + + Send gratuitous ARP request + + + + + Send gratuitous ARP request on specified interface + + + + + + + + Send gratuitous ARP request for specified address + + sudo arping -I $5 -c 1 -U $7 + + + + Send specified number of ARP requests + + sudo arping -I $5 -c $9 -U $7 + + + + + + + + + + + + -- cgit v1.2.3