summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2013-01-08 14:54:19 -0800
committerJames Davidson <james.davidson@vyatta.com>2013-01-08 15:47:25 -0800
commite6ba220d9ddcddf637c43c96df0d08f55b913b91 (patch)
tree82486341dad820ef162f9c5180e6cd2387aab1ea /templates
parent277a8050a113482866b93c4215cf315c29dd1acb (diff)
downloadvyatta-cfg-system-e6ba220d9ddcddf637c43c96df0d08f55b913b91.tar.gz
vyatta-cfg-system-e6ba220d9ddcddf637c43c96df0d08f55b913b91.zip
Bug 7856: Set default neighbour table size to 8192
Also increase the max allowed value to 32768. (cherry picked from commit 2dd6be60ba0b888d138292f5ccec3bacfc5d4949)
Diffstat (limited to 'templates')
-rw-r--r--templates/system/ip/arp/table-size/node.def7
-rw-r--r--templates/system/ipv6/neighbor/table-size/node.def7
2 files changed, 4 insertions, 10 deletions
diff --git a/templates/system/ip/arp/table-size/node.def b/templates/system/ip/arp/table-size/node.def
index bdeea371..b4d0a9e3 100644
--- a/templates/system/ip/arp/table-size/node.def
+++ b/templates/system/ip/arp/table-size/node.def
@@ -2,9 +2,9 @@ help: Maximum number of entries to keep in the ARP cache
type: u32
-default: 1024
+default: 8192
-allowed: echo "1024 2048 4096 8192 16384"
+allowed: echo "1024 2048 4096 8192 16384 32768"
syntax:expression: exec " \
/opt/vyatta/sbin/vyatta-update-arp-params \
@@ -12,6 +12,3 @@ syntax:expression: exec " \
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'
diff --git a/templates/system/ipv6/neighbor/table-size/node.def b/templates/system/ipv6/neighbor/table-size/node.def
index cf4d066d..0ea4816e 100644
--- a/templates/system/ipv6/neighbor/table-size/node.def
+++ b/templates/system/ipv6/neighbor/table-size/node.def
@@ -2,9 +2,9 @@ help: Maximum number of entries to keep in the Neighbor cache
type: u32
-default: 1024
+default: 8192
-allowed: echo "1024 2048 4096 8192 16384"
+allowed: echo "1024 2048 4096 8192 16384 32768"
syntax:expression: exec " \
/opt/vyatta/sbin/vyatta-update-arp-params \
@@ -12,6 +12,3 @@ syntax:expression: exec " \
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'