summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/extcommunity-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/extcommunity-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/extcommunity-list.rst')
-rw-r--r--docs/configuration/policy/extcommunity-list.rst40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/configuration/policy/extcommunity-list.rst b/docs/configuration/policy/extcommunity-list.rst
new file mode 100644
index 00000000..c413b8b5
--- /dev/null
+++ b/docs/configuration/policy/extcommunity-list.rst
@@ -0,0 +1,40 @@
+#############################
+BGP - Extended Community List
+#############################
+
+VyOS provides policies commands exclusively for BGP traffic filtering and
+manipulation: **extcommunity-list** is one of them.
+
+*************
+Configuration
+*************
+
+policy extcommunity-list
+========================
+
+.. cfgcmd:: set policy extcommunity-list <text>
+
+ Creat extcommunity-list policy identified by name <text>.
+
+.. cfgcmd:: set policy extcommunity-list <text> description <text>
+
+ Set description for extcommunity-list policy.
+
+.. cfgcmd:: set policy extcommunity-list <text> rule <1-65535> action
+ <permit|deny>
+
+ Set action to take on entries matching this rule.
+
+.. cfgcmd:: set policy extcommunity-list <text> rule <1-65535> description
+ <text>
+
+ Set description for rule.
+
+.. cfgcmd:: set policy extcommunity-list <text> rule <1-65535> regex <text>
+
+ Regular expression to match against an extended community list, where text
+ could be:
+
+ * <aa:nn:nn>: Extended community list regular expression.
+ * <rt aa:nn:nn>: Route Target regular expression.
+ * <soo aa:nn:nn>: Site of Origin regular expression.