configuration / system / ext-auth / general-radius-tacacs / tacacs / server-list

CLI REST-API

add-server

add-server [address] [port] [secret]
The "add-server" command adds a TACACS+ server.

[address] is an IPv4 or an IPv6 address
  i.e. 192.168.0.20 or fd00:49:bad:cafe:: etc.
[port] is a number between 0 and 65535
[secret] is the secret password required to connect to the server.

Example:
add-server 192.168.0.1 500 mySecretPassword
RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "address": "192.168.0.1",
        "port": 500,
        "secret": "mySecretPassword"
    }
}
NameValueDescriptionExample
address192.168.0.1
port500
secretmySecretPassword
See also:
/configuration/system/ext-auth/general-radius-tacacs/tacacs/server-list: list of TACACS+ servers
/configuration/system/ext-auth/general-radius-tacacs/tacacs/server-list/delete-server: deletes a server

REST-API Support:


This command is supported by the REST API:

Method: POST
URL: /api/configuration/system/ext-auth/general-radius-tacacs/tacacs/server-list/add-server@¤P¡&V

Example using curl:
curl -X POST /api/configuration/system/ext-auth/general-radius-tacacs/tacacs/server-list/add-server@¤P¡&V