blob: 5247c13c1f82b353c5d082c8b1c699bf9c74c22d (
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
|
# 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.
```
|