server (TACACS+ Accounting)
Syntax
server { server-address { port port-number; routing-instance routing-instance; secret password; single-connection; source-address address timeout seconds; } }
Hierarchy Level
[edit system accounting destination tacplus]
Description
Configure TACACS+ logging.
Options
server-address | Address of the IPv4 or IPv6 TACACS+ authentication server. Note:
Wildcard characters cannot be used in the TACACS+ server address or source address. This is because the TACACS+ server and source can accept both IPv4 and IPv6 addresses and, if you use wildcard characters for these addresses, Junos OS cannot validate mismatching server and source address families. |
port port-number | Configure the port number on which to contact the TACACS+ authentication server.
|
routing-instance routing-instance | Configure the routing instance name for the management
routing instance, that is Note:
You must also define the mgmt_junos routing instance under
the If you no not configure the mgmt_junos instance under the |
secret password | Configure the password to use with the RADIUS or TACACS+ server. The secret password used by the local router or switch must match that used by the server. The password can include spaces included in quotation marks. Note:
To ensure better security, we recommend you configure the TACACS+ secret password with a minimum of 14 characters. |
single-connection | Optimize attempts to connect to a TACACS+ server. The software maintains one open TCP connection to the server for multiple requests rather than opening a connection for each connection attempt. |
source-address source-address | Specify a source address for each configured TACACS+
server to record in system log messages that are directed to a remote
machine. Configure a valid IP address on one of the device interfaces.
For system logging, the address is recorded as the message source
in messages sent to the remote machines specified in all
|
timeout seconds | The amount of time that the local device waits to receive a response from a TACACS+ server.
|
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
routing-instance
option introduced in Junos OS Release
17.4R1.