diff options
Diffstat (limited to 'templates/system/ip')
-rw-r--r-- | templates/system/ip/arp/table-size/node.def | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/system/ip/arp/table-size/node.def b/templates/system/ip/arp/table-size/node.def new file mode 100644 index 00000000..8c548f5b --- /dev/null +++ b/templates/system/ip/arp/table-size/node.def @@ -0,0 +1,17 @@ +help: Set maximum number of entries to keep in the ARP cache + +type: u32 + +default: 1024 + +allowed: echo "1024 2048 4096 8192 16384" + +syntax:expression: exec " \ + /opt/vyatta/sbin/vyatta-update-arp-params \ + 'syntax-check' 'table-size' '$VAR(@)' 'ipv4' " + +update: + /opt/vyatta/sbin/vyatta-update-arp-params 'update' 'table-size' '$VAR(@)' 'ipv4' + +delete: + /opt/vyatta/sbin/vyatta-update-arp-params 'delete' 'table-size' 'ipv4' |