Wiki source code of BGP

Version 1.1 by Jean Franco on 2022/06/20 23:32

Show last authors
1 == The Prefix Lists ==
2
3 The prefix lists are used to control what routes you get from your ISP, as well as the ones you send (announce).
4
5 {{code language="none"}}
6 policy {
7 prefix-list BGP-ISP-From {
8 rule 10 {
9 action permit
10 le 24
11 prefix 0.0.0.0/0
12 }
13 }
14 prefix-list BGP-ISP-To {
15 rule 10 {
16 action permit
17 prefix 192.0.2.0/24
18 }
19 }
20 prefix-list6 BGP-ISPv6-From {
21 rule 10 {
22 action permit
23 le 64
24 prefix 0::/0
25 }
26 }
27 prefix-list6 BGP-ISPv6-To {
28 rule 10 {
29 action permit
30 le 48
31 prefix 2001:DB8::/32
32 }
33 }
34 }
35 {{/code}}
Maila Networks