summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Pratley <nick@npratley.net>2018-02-15 18:30:03 -0600
committerNick Pratley <nick@npratley.net>2018-02-15 18:30:03 -0600
commitdf9ec27eafefce2f280ea35a9b91d7783a7d419d (patch)
tree8c0d48a6d757d5563572f47e5513d81461f752b3
parent2568047c53f2bb06e8d52943338a57656eca8ddd (diff)
downloadvyatta-cfg-quagga-df9ec27eafefce2f280ea35a9b91d7783a7d419d.tar.gz
vyatta-cfg-quagga-df9ec27eafefce2f280ea35a9b91d7783a7d419d.zip
Fixing IPv6 next-hop for route-map
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/match/ipv6/nexthop/node.def12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/match/ipv6/nexthop/node.def b/templates/policy/route-map/node.tag/rule/node.tag/match/ipv6/nexthop/node.def
index 31b6bd93..b5757965 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/match/ipv6/nexthop/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/match/ipv6/nexthop/node.def
@@ -1 +1,11 @@
-help: IP next-hop of route to match
+help: IPv6 next-hop of route to match
+type: ipv6
+val_help: next-hop ipv6 address IPv6
+
+update: vtysh -c "configure terminal" \
+ -c "route-map $VAR(../../../../@) $VAR(../../../action/@) $VAR(../../../@)" \
+ -c "match ipv6 next-hop $VAR(@)"
+
+delete: vtysh -c "configure terminal" \
+ -c "route-map $VAR(../../../../@) $VAR(../../../action/@) $VAR(../../../@)" \
+ -c "no match ipv6 next-hop $VAR(@)"