summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/large-community-list.rst
blob: 0c57fd4a2cbd067e24f788b403f0606fc2234fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>

   Create 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.