nsctl8
Manage running l2tpns instance
Usage
nsctl [-d]
[-h
host
[:port]]
[-t
timeout]
command
[arg ...]
Overview
nsctl sends commands to a running l2tpns process. It provides both for the loading or unloading of plugins and also the management of sessions via functions provided by those plugins.
Options
-d Enable debugging output
-h host[:port] The host running l2tpns that should receive the message. By default the message is sent to UDP port 1702 on localhost
-t timeout Timeout in seconds to wait for a response from the server
Commands
The first argument specifies the command to send to l2tpns. The following commands are as defined:
- load_plugin plugin
-
Load the named plugin
- unload_plugin plugin
-
Unload the named plugin
help-
Each loaded plugin is queried for what commands it supports and the synopsis for each is output
Any other value of command (and args if any) are sent to l2tpns as-is, to be passed to each plugin which registers a plugin_control function in turn (in which it may be acted upon).
Releases
10 releases since Debian 3.1 (Sarge); the text changed 2 times.
-d until Debian 9 (Stretch);
-h until Debian 9 (Stretch);
-t until Debian 9 (Stretch).