diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-17 18:56:39 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-08-17 18:56:39 -0500 |
commit | 2e54f9d80f908032a6e3c1ed1413941aa5685cd9 (patch) | |
tree | f9bd60b31d430d4131edb6acc78518f38454c38c | |
parent | 05d281856431755d2b915306447722d3adba9849 (diff) | |
download | vyatta-op-2e54f9d80f908032a6e3c1ed1413941aa5685cd9.tar.gz vyatta-op-2e54f9d80f908032a6e3c1ed1413941aa5685cd9.zip |
Move 'clear arp' to 'reset ip arp'
-rw-r--r-- | templates/reset/ip/arp/address/node.def | 1 | ||||
-rw-r--r-- | templates/reset/ip/arp/address/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/reset/ip/arp/interface/node.def | 1 | ||||
-rw-r--r-- | templates/reset/ip/arp/interface/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/reset/ip/arp/node.def | 1 | ||||
-rw-r--r-- | templates/reset/ip/node.def | 1 |
6 files changed, 10 insertions, 0 deletions
diff --git a/templates/reset/ip/arp/address/node.def b/templates/reset/ip/arp/address/node.def new file mode 100644 index 0000000..cf31916 --- /dev/null +++ b/templates/reset/ip/arp/address/node.def @@ -0,0 +1 @@ +help: Reset ARP cache for an IPv4 address diff --git a/templates/reset/ip/arp/address/node.tag/node.def b/templates/reset/ip/arp/address/node.tag/node.def new file mode 100644 index 0000000..8ac537c --- /dev/null +++ b/templates/reset/ip/arp/address/node.tag/node.def @@ -0,0 +1,3 @@ +help: Reset ARP cache for an IPv4 address +allowed: echo -n '<x.x.x.x>' +run: sudo /sbin/ip neigh flush to "$5" diff --git a/templates/reset/ip/arp/interface/node.def b/templates/reset/ip/arp/interface/node.def new file mode 100644 index 0000000..e6d79a2 --- /dev/null +++ b/templates/reset/ip/arp/interface/node.def @@ -0,0 +1 @@ +help: Reset ARP cache for interface diff --git a/templates/reset/ip/arp/interface/node.tag/node.def b/templates/reset/ip/arp/interface/node.tag/node.def new file mode 100644 index 0000000..bee6173 --- /dev/null +++ b/templates/reset/ip/arp/interface/node.tag/node.def @@ -0,0 +1,3 @@ +help: Reset ARP cache for interface +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all +run: sudo /sbin/ip neigh flush dev "$5" diff --git a/templates/reset/ip/arp/node.def b/templates/reset/ip/arp/node.def new file mode 100644 index 0000000..ebc0a37 --- /dev/null +++ b/templates/reset/ip/arp/node.def @@ -0,0 +1 @@ +help: Reset Address Resolution Protocol (ARP) cache diff --git a/templates/reset/ip/node.def b/templates/reset/ip/node.def new file mode 100644 index 0000000..0f5e0e1 --- /dev/null +++ b/templates/reset/ip/node.def @@ -0,0 +1 @@ +help: Reset Internet Protocol (IP) parameters |