xl2tpd-control -V (return code: 255)
xl2tpd-control: error: no such command --version
xl2tpd-control --help (return code: 0)
xl2tpd server version xl2tpd-1.3.8
Usage: xl2tpd-control [-c <PATH>] <command> <tunnel name> [<COMMAND OPTIONS>]
-c specifies xl2tpd control file
-d specify xl2tpd-control to run in debug mode
--help shows extended help
Available commands: add, connect, disconnect, remove, add-lac, connect-lac, disconnect-lac, remove-lac, add-lns, remove-lns, status, status-lns, available
Commands help:
add adds new or modify existing lac configuration.
Configuration must be specified as command options in
<key>=<value> pairs format.
See available options in xl2tpd.conf(5)
connect tries to activate the tunnel.
Username and secret for the tunnel can be passed as
command options.
disconnect disconnects the tunnel.
remove removes lac configuration from xl2tpd.
xl2tpd disconnects the tunnel before removing.
add-lns adds new or modify existing lns configuration.
See xl2tpd-control man page for more help