---
name: "rtrctl"
section: "8"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/rtrctl"
---

# rtrctl(8)

control the RTR cache daemon

## NAME

**rtrctl** – control the RTR cache daemon

## SYNOPSIS

**rtrctl** \[**-s** *socket*\] *command* \[*argument*\]

## DESCRIPTION

The **rtrctl** program controls the [rtrd(8)](/rtrd/8.md) daemon.

The options are as follows:

- **-s** *socket*

  Use *socket* instead of the default */var/run/rtrd.sock* to communicate with [rtrd(8)](/rtrd/8.md).

The following commands are available:

- **reload** \[*file*\]

  Import RPKI payloads from *file* into [rtrd(8)](/rtrd/8.md). The format of *file* is compatible with the [bgpd(8)](/bgpd/8.md) configuration format.

- **stats**

  Export statistics in OpenMetrics format to standard output.

## FILES

- */var/run/rtrd.sock*

  Unix-domain socket used for communication with [rtrd(8)](/rtrd/8.md).

- */var/db/rpki-client/openbgpd*

  Default RPKI payloads file.

## EXIT STATUS

The **rtrctl** utility exits 0 on success, and \>0 if an error occurs.

## SEE ALSO

[bgpd.conf(5)](/bgpd.conf/5.md), [bgpd(8)](/bgpd/8.md), [rpki-client(8)](/rpki-client/8.md), [rtrd(8)](/rtrd/8.md)

## STANDARDS

*The RPKI to Router Protocol*, RFC 6810.

*The RPKI to Router Protocol, Version 1*, RFC 8210.

*The RPKI to Router Protocol, Version 2*, Aug, 2026, https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-8210bis-27.

## HISTORY

The **rtrctl** program first appeared in OpenBSD 8.0.

## AUTHORS

Ralph Covelli ⟨*rcovelli@he.net*⟩ and Job Snijders ⟨*job@bsd.nl*⟩.
