opennhrpctl - opennhrp administrative control tool

NAME  SYNOPSIS  DESCRIPTION  FILES  SEE ALSO  AUTHORS 

NAME

opennhrpctl − opennhrp administrative control tool

SYNOPSIS

opennhrpctl [−a admin−socket] command [arguments]...

DESCRIPTION

opennhrpctl 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 specifiers.

[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 INITIIAL-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 discovered 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 protocol 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 ALSO

opennhrp(8)

AUTHORS

Timo Teras <[email protected]>


Updated 2024-01-29 - jenkler.se | uex.se