Feature #11405
closed
add RPKI route map in GUI
Added by Viktor Gurov about 4 years ago.
Updated about 4 years ago.
Description
Allow to select `match rpki` in the WebGUI:
pf41.lab.int(config-route-map)# match rpki
invalid Invalid prefix
notfound Prefix not found
valid Valid prefix
- Status changed from New to Pull Request Review
- Status changed from Pull Request Review to Feedback
- Assignee set to Viktor Gurov
- Status changed from Feedback to New
"-M rpki" must be added to bgpd daemon command line,
see https://docs.frrouting.org/en/latest/bgp.html#enabling-rpki:
When first installing FRR with RPKI support from the pre-packaged binaries. Remember to add -M rpki to the variable bgpd_options in /etc/frr/daemons , like so:
bgpd_options=" -A 127.0.0.1 -M rpki"
instead of the default setting:
bgpd_options=" -A 127.0.0.1"
Otherwise you will encounter an error when trying to enter RPKI configuration mode due to the rpki module not being loaded when the BGP daemon is initialized.
already there ('Enable BGP RPKI' option)
works as expected:
route-map RMBGPTEST deny 10
match rpki invalid
set as-path prepend 65001
# show route-map RMBGPTEST
ZEBRA:
route-map: RMBGPTEST Invoked: 0 Optimization: enabled Processed Change: false
deny, sequence 10 Invoked 0
Match clauses:
Set clauses:
Call clause:
Action:
Exit routemap
OSPF:
route-map: RMBGPTEST Invoked: 0 Optimization: enabled Processed Change: false
deny, sequence 10 Invoked 0
Match clauses:
Set clauses:
Call clause:
Action:
Exit routemap
BGP:
route-map: RMBGPTEST Invoked: 0 Optimization: enabled Processed Change: false
deny, sequence 10 Invoked 0
Match clauses:
rpki invalid
Set clauses:
as-path prepend 65001
Call clause:
Action:
Exit routemap
- Status changed from New to Resolved
Also available in: Atom
PDF