Skip to content

FRR Commands using RTRlib

Andreas Reuter edited this page Jul 16, 2017 · 2 revisions

Add group

rpki
   rpki add group <GROUP_PREFERENCE>

GROUP_PREFERENCE must be in [0,4294967295]

This command creates a new group, unless a group with the same GROUP_PREFERENCE already exists. In this case, a new group should NOT be created. The FRR user should be told!


Remove group

rpki
    rpki remove group <GROUP_PREFERENCE>

GROUP_PREFERENCE must be in [0,4294967295]

This command removes the group with preference equal to GROUP_PREFERENCE. If a remove group contains active sockets, the FRR user should be warned and pressed for confirmation before removal.


Add cache server to group

rpki
    rpki add cache-server <GROUP_PREFERENCE> <A.B.C.D|WORD> <TCPPORT|SSHPORT SSH_UNAME SSH_PRIVKEY SSH_PUBKEY [SERVER_PUBKEY]>

This command adds a cache server to the group with preference equal to <GROUP_PREFERENCE>. If this group happens to be the currently active group, a connection to the newly added cache server will be started immediately. If no group with preference <GROUP_PREFERENCE> does not exists, nothing will happen. The FRR should be told. RTRLib can use TCP or SSH to connect to a cache server.


Remove cache server from group

rpki
    rpki remove cache-server <GROUP_PREFERENCE> <A.B.C.D|WORD> <TCPPORT|SSHPORT SSH_UNAME SSH_PRIVKEY SSH_PUBKEY [SERVER_PUBKEY]>

This command removes the specified cache server from the group with preference equal to <GROUP_PREFERENCE>. If this group does not exist, nothing happens.


Clone this wiki locally