summaryrefslogtreecommitdiff
path: root/templates/policy/route-map/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/policy/route-map/node.def')
-rw-r--r--templates/policy/route-map/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/policy/route-map/node.def b/templates/policy/route-map/node.def
new file mode 100644
index 00000000..9b5a830b
--- /dev/null
+++ b/templates/policy/route-map/node.def
@@ -0,0 +1,5 @@
+tag:
+type: txt
+help: "Create route-map or enter route-map command mode"
+syntax: pattern $(@) "^[-a-zA-Z0-9.]+$" ; "route-map $(@): name must be alpha-numeric"
+delete: "/opt/vyatta/sbin/vtysh -c\"configure terminal\" -c\"no route-map $(@)\" "