From 04a18e32670f2eee06bc2bb68851c6e2cefbd831 Mon Sep 17 00:00:00 2001 From: Christoffer Date: Tue, 17 Jul 2018 18:43:49 +0200 Subject: [PATCH] doc: Update rpki.rst for how-to enable rpki module It has not been properly documented yet how to enable the RPKI module with BGP when having installed FRR with RPKI support. This PR seeks to add a section to the user documentation about this. So users will not have to resolve to searching the internet and looking through the FROG mailing list threads for answers. --- doc/user/rpki.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/user/rpki.rst b/doc/user/rpki.rst index c35928db07..38b2b68e98 100644 --- a/doc/user/rpki.rst +++ b/doc/user/rpki.rst @@ -68,6 +68,32 @@ Enabling RPKI .. _configuring-rpki-rtr-cache-servers: +.. index:: daemons.conf + + When first installing FRR with RPKI support from the pre-packaged binaries. Remember + to append '-M rpki' in the /etc/frr/daemons.conf file to the bgpd_options. + + bgpd_options=" --daemon -A 127.0.0.1 -M rpki" + instead of the default setting + bgpd_options=" --daemon -A 127.0.0.1" + + + Else you will encounter an error when trying to enter RPKI configuration mode. Because + the rpki module is not loaded when the BGP daemon is initialized. + + Examples of the error: + + router(config)# debug rpki + % [BGP] Unknown command: debug rpki + + router(config)# rpki + % [BGP] Unknown command: rpki + + Note that the rpki commands will be available in vtysh when running 'find rpki'. + Even if the RPKI module is NOT loaded. + The RPKI commands will be unavailable if you try running the same command in the + cli specific to the BGP daemon. + Configuring RPKI/RTR Cache Servers ---------------------------------- -- 2.39.5