summaryrefslogtreecommitdiff
path: root/templates/policy/community-list/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/policy/community-list/node.def')
-rw-r--r--templates/policy/community-list/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/policy/community-list/node.def b/templates/policy/community-list/node.def
new file mode 100644
index 00000000..812dd436
--- /dev/null
+++ b/templates/policy/community-list/node.def
@@ -0,0 +1,8 @@
+tag:
+type: u32
+help: "Add a community list entry"
+syntax: $(@) >= 1 && $(@) <= 500; " \
+community-list must be \
+ <1-99> Community list number (standard) \
+ <100-500> Community list number (expanded) "
+end: "/opt/vyatta/sbin/vyatta_policy.pl --update-community-list $(@)"