OPENNHRP(8) OpenNHRP Documentation OPENNHRP(8)NAMEopennhrpctl - opennhrp administrative control tool
SYNOPSISopennhrpctl [-a admin-socket] command [arguments]...
DESCRIPTIONopennhrpctl is an utility to control opennhrp(8) daemon operation. A
UNIX socket is used for communication between opennhrpctl and
opennhrp(8). Administration priviledges for a non-root user can be
granted by modifying the permissions and ownership of the socket.
The following commands are available:
[cache] show [selector]...
Show contents of next hop cache (configured and resolved
entries).
[cache] flush [selector]...
Clear all non-permanent entries which match the selector speci‐
fiers.
[cache] purge [selector]...
Purge entries from NHRP cache: cached entries are removed and
permanent entries are forced down, up and finally reregistered.
[cache] lowerdown [selector]...
Purge entries from NHRP cache with indication that lower layer
failed: e.g. IPsec daemon detected dead-peer or received INITI‐
IAL-CONTACT notification.
route show [selector]...
Show the contents of locally cached kernel routing information
(outbound routing base to do route lookups excluding active
shortcut routes).
interface show
Show the contents of interface configuration table, and the
cached information from kernel (like protocol and NBMA IP
addresses in use currently).
redirect purge [protocol-address/prefix-length]
Clear redirection cache from all entries matching the specified
address.
update nbma nbma-address protocol-address
This command can be used from opennhrp-script(8) to inform
opennhrp daemon of the real protocol-address of dynamically dis‐
covered NHS.
The following selectors can be used to limit which cache entries will
be effected:
nbma nbma-address
Matches entries where the remote has NBMA address nbma-address.
protocol protocol-address[/prefix-length]
Matches entries where the remote has protocol address protocol-
address with at least prefix length prefix-length.
local-nbma nbma-address
Matches entries from local interface which owns the NBMA address
nbma-address.
local-protocol protocol-address
Matches entries only from local interface which owns the proto‐
col address protocol-address.
interface interface-name
iface interface-name
dev interface-name
Search entries only from local interface with name interface-
name.
FILES
/var/run/opennhrp.socket
opennhrp(8) control socket
SEE ALSOopennhrp(8)AUTHORS
Timo Teras <timo.teras@iki.fi>
20 May 2009 OPENNHRP(8)