summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/extcommunity-list.rst
blob: c413b8b5f95bac0600727380c30df84876ac30da (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
37
38
39
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.