summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/large-community-list.rst
diff options
context:
space:
mode:
authorNicolas Fort <yocasquito@gmail.com>2021-07-26 16:13:24 -0300
committerNicolas Fort <yocasquito@gmail.com>2021-07-26 16:13:24 -0300
commitfb2225147ee1cb822bafda1f4da7e2969c3a6379 (patch)
tree59fa0bd2b56408a013c439d7545617820ea56ce2 /docs/configuration/policy/large-community-list.rst
parentdbddfe85adaa70552607b38706b39238b465ac4e (diff)
downloadvyos-documentation-fb2225147ee1cb822bafda1f4da7e2969c3a6379.tar.gz
vyos-documentation-fb2225147ee1cb822bafda1f4da7e2969c3a6379.zip
bgp-policies.rst deletted, and its content was divided in as-path-list.rst, community-list.rst, extcommunity-list.rst and larg-community-list.rst; Examples sections on every files removed; examples-rst changed, ir order to have the list of example on left menu
Diffstat (limited to 'docs/configuration/policy/large-community-list.rst')
-rw-r--r--docs/configuration/policy/large-community-list.rst36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/configuration/policy/large-community-list.rst b/docs/configuration/policy/large-community-list.rst
new file mode 100644
index 00000000..39da0815
--- /dev/null
+++ b/docs/configuration/policy/large-community-list.rst
@@ -0,0 +1,36 @@
+##########################
+BGP - Large Community List
+##########################
+
+VyOS provides policies commands exclusively for BGP traffic filtering and
+manipulation: **large-community-list** is one of them.
+
+*************
+Configuration
+*************
+
+policy large-community-list
+===========================
+
+.. cfgcmd:: set policy large-community-list <text>
+
+ Creat large-community-list policy identified by name <text>.
+
+.. cfgcmd:: set policy large-community-list <text> description <text>
+
+ Set description for large-community-list policy.
+
+.. cfgcmd:: set policy large-community-list <text> rule <1-65535> action
+ <permit|deny>
+
+ Set action to take on entries matching this rule.
+
+.. cfgcmd:: set policy large-community-list <text> rule <1-65535> description
+ <text>
+
+ Set description for rule.
+
+.. cfgcmd:: set policy large-community-list <text> rule <1-65535> regex
+ <aa:nn:nn>
+
+ Regular expression to match against a large community list.