From c3709a21b6f6f33ff7730385ce2170b046efa178 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 27 Feb 2009 19:00:10 -0800 Subject: Fix Bug 2463 Allow the neighbor table threshold values to be modified via the CLI - (modify ARP table size) * added cli to configure [arp (ipv4)] and [neighbor (ipv6)] table-size * set default value for arp_announce so as to avoid local addresses that are not in the target's subnet for the interface --- templates/system/ipv6/neighbor/table-size/node.def | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/system/ipv6/neighbor/table-size/node.def (limited to 'templates/system/ipv6/neighbor/table-size/node.def') 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' -- cgit v1.2.3