summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/community-list.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2021-07-26 21:32:29 +0200
committerGitHub <noreply@github.com>2021-07-26 21:32:29 +0200
commitcb36772d25be42815a133d037a23899ca08f624a (patch)
tree6f3b3ebbee2269f49bb6dc61d4aafd2bc9b46bba /docs/configuration/policy/community-list.rst
parent9397b4fba4461a7a856a862d39f0dc7844888dd3 (diff)
parentfb2225147ee1cb822bafda1f4da7e2969c3a6379 (diff)
downloadvyos-documentation-cb36772d25be42815a133d037a23899ca08f624a.tar.gz
vyos-documentation-cb36772d25be42815a133d037a23899ca08f624a.zip
Merge pull request #578 from yocasquito/policy_docs_redo
Policy file updated/recreated. Added commands and descriptions. From …
Diffstat (limited to 'docs/configuration/policy/community-list.rst')
-rw-r--r--docs/configuration/policy/community-list.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/configuration/policy/community-list.rst b/docs/configuration/policy/community-list.rst
new file mode 100644
index 00000000..e53abeb3
--- /dev/null
+++ b/docs/configuration/policy/community-list.rst
@@ -0,0 +1,35 @@
+####################
+BGP - Community List
+####################
+
+VyOS provides policies commands exclusively for BGP traffic filtering and
+manipulation: **community-list** is one of them.
+
+*************
+Configuration
+*************
+
+policy community-list
+=====================
+
+.. cfgcmd:: set policy community-list <text>
+
+ Creat community-list policy identified by name <text>.
+
+.. cfgcmd:: set policy community-list <text> description <text>
+
+ Set description for community-list policy.
+
+.. cfgcmd:: set policy community-list <text> rule <1-65535> action
+ <permit|deny>
+
+ Set action to take on entries matching this rule.
+
+.. cfgcmd:: set policy community-list <text> rule <1-65535> description <text>
+
+ Set description for rule.
+
+.. cfgcmd:: set policy community-list <text> rule <1-65535> regex
+ <aa:nn|local-AS|no-advertise|no-export|internet|additive>
+
+ Regular expression to match against a community-list. \ No newline at end of file