Skip to content

Commit 03cad8e

Browse files
authored
Merge pull request #90 from denog/nf/inbound-own-frrouting
route_filtering/inbound/own_prefix: add frrouting
2 parents 884f764 + 65aab4e commit 03cad8e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/guides/route_filtering/inbound/own_prefix.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,16 @@ Your own networks should be stored in lists and then used in policy for external
6464
set policy-options policy-statement MY_INPUT_FILTER term FILTER-OWN-PREFIXES-V6 then trace
6565
set policy-options policy-statement MY_INPUT_FILTER term FILTER-OWN-PREFIXES-V6 then reject
6666
```
67-
67+
68+
=== "FRRouting"
69+
```
70+
ip prefix-list own seq 10 permit <PLEASE INSERT YOUR PREFIX HERE> le 24
71+
ip prefix-list own seq 100 deny 0.0.0.0/0 le 32
72+
73+
ipv6 prefix-list own-6 seq 10 permit <PLEASE INSERT YOUR PREFIX HERE> le 48
74+
ipv6 prefix-list own-6 seq 100 deny ::/0 le 128
75+
76+
route-map import deny 10
77+
match ip address prefix-list own
78+
match ipv6 address prefix-list own-6
79+
exit

0 commit comments

Comments
 (0)