aaa-tacacs-create
Use this command to add a TACACS+ server for authorization and authentication on the network.
Syntax aaa-tacacs-create
name name-string |
Specify the name, up to 60 characters, of the TACACS service. |
scope fabric|local |
Specify the scope to apply to the TACACS server. |
server server-string |
Specify the name, up to 60 characters, of the TACACS server. |
port port-number |
Specify the port that connects to the server. The default port is 49. |
secret secret-string |
Specify the secret (password) to access the server. |
timeout timeout-number |
Specify the number of seconds for the server to time out a request. The default value is 10 seconds. |
priority priority-number |
Specify the priority for the server. The priority can be 1 (highest) to X (lowest priority). |
authen|no-authen |
Specify if the server authenticates clients on the network. |
authen-method pap|chap|ms-chap |
Specify the authentication method for clients. PAP, CHAP, and MS-CHAP are supported methods with CHAP as the default method. |
sess-acct|no-sess-acct |
Specify if you want to use session accounting. The TACACS+ server is notified when a user logs in or out of the network. |
cmd-acct|no-cmd-acct |
Specify if you want to use command accounting. The TACACS+ server is notified when ever a user, including the network administrator, runs a non-show command. |
sess-author|no-sess-author |
Specify if you want to use session authorization. The TACACS+ server configured for session authorization determines if a user can initiate a session on the network after logging in. |
cmd-author|no-cmd-author |
Specify if you want to use command authorization. The TACACS+ server determines if a user can run certain commands on the network. |
acct-local|no-acct-local |
Specify accounting for local users |
author-local|no-author-local |
Specify authorization for local users. |
service service-string |
Specify the service name used for TACACS+ requests sent from Netvisor to the TACACS+ server for commands run at the Netvisor CLI, and the Java, C, and REST APIs. The default value is shell. |
service-shell service-shell-string |
Specify the service name used for TACACS+ requests sent from Netvisor to the TACACS+ server for commands run from a UNIX shell. |
service-vtysh service-vtysh-string |
Specify the service name used for TACACS+ requests sent from Netvisor to the TACACS+ server for commands run from vtysh. |
Defaults None.
Access CLI
History
Version 1.2.1 |
Command introduced. |
Version 2.6.0 |
The parameters, acct-local, author-local, service, service-shell, and service-vtyesh, added. |
Usage Use this command to allow a TACACS+ server authenticate and authorize clients on the network. The TACACS+ can also provide accounting for sessions and commands.
Examples To add the TACACS+ server, TACserver1, with scope local on port 33 and secret, p@ssw0rd, use the following commands:
CLI network-admin@switch > aaa-tacacs-create name TACserver1 scope local port 33 p@ssw0rd
To add the authentication method, MS-CHAP, use the following command:
CLI network-admin@switch > aaa-tacacs-create name TACserver1 authen-method ms-chap