diff options
-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 |