]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Update rpki.rst for how-to enable rpki module 2669/head
authorChristoffer <netravnen@gmail.com>
Tue, 17 Jul 2018 16:43:49 +0000 (18:43 +0200)
committerChristoffer <netravnen@gmail.com>
Tue, 17 Jul 2018 16:45:33 +0000 (18:45 +0200)
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

index c35928db0793be846d2fc0bef96ab4f331d9252d..38b2b68e98e022520f1b01f0cf3bf83ed7099ed4 100644 (file)
@@ -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
 ----------------------------------