summaryrefslogtreecommitdiff
path: root/templates/system/ipv6/multipath/layer4-hashing/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-18 19:28:32 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-18 19:29:33 +0100
commita5c4c649d51fc7400d2aa0fcba235e84ee43a9d6 (patch)
treece0f5770ed659f237547129971498ced36eb3607 /templates/system/ipv6/multipath/layer4-hashing/node.def
parent355d403b3b492b07bfc405b7d7dfa0051a2ab7c2 (diff)
downloadvyatta-cfg-system-a5c4c649d51fc7400d2aa0fcba235e84ee43a9d6.tar.gz
vyatta-cfg-system-a5c4c649d51fc7400d2aa0fcba235e84ee43a9d6.zip
T992: add commands for ECMP options.
Diffstat (limited to 'templates/system/ipv6/multipath/layer4-hashing/node.def')
-rw-r--r--templates/system/ipv6/multipath/layer4-hashing/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/system/ipv6/multipath/layer4-hashing/node.def b/templates/system/ipv6/multipath/layer4-hashing/node.def
new file mode 100644
index 00000000..97ffdc61
--- /dev/null
+++ b/templates/system/ipv6/multipath/layer4-hashing/node.def
@@ -0,0 +1,5 @@
+help: Use layer 4 information for ECMP hashing
+
+create: sudo sysctl -w net.ipv4.fib_multipath_hash_policy=1 >/dev/null
+delete: sudo sysctl -w net.ipv4.fib_multipath_hash_policy=0 >/dev/null
+