summaryrefslogtreecommitdiff
path: root/templates/system/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/ipv6')
-rw-r--r--templates/system/ipv6/neighbor/table-size/node.def17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/system/ipv6/neighbor/table-size/node.def b/templates/system/ipv6/neighbor/table-size/node.def
new file mode 100644
index 00000000..e8a55ac8
--- /dev/null
+++ b/templates/system/ipv6/neighbor/table-size/node.def
@@ -0,0 +1,17 @@
+help: Set maximum number of entries to keep in the Neighbor 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(@)' 'ipv6' "
+
+update:
+ /opt/vyatta/sbin/vyatta-update-arp-params 'update' 'table-size' '$VAR(@)' 'ipv6'
+
+delete:
+ /opt/vyatta/sbin/vyatta-update-arp-params 'delete' 'table-size' 'ipv6'