SmartNA-X 1G/10G Modular | Command Line Reference |
105
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Authentication and accounting services commands
This section provides reference information for server authentication and accounting services commands.
set authentication
Use the
set authentication
command to configure the authentication scheme for users logging in to the system. The
scheme may contain one or more authentication methods specified in priority order. For example,
set authentication
radius local
means attempt to authenticate user by RADIUS first then fallback to local.
Syntax
set authentication
{
local
|
radius
|
tacacs
}
Parameters
•
local
Authenticate users locally.
•
radius
Authenticate users by RADIUS server, or servers if multiple servers have been configured. The system will
immediately stop verification if an incorrect password has been entered.
•
tacacs
Authenticate users by server, or servers if multiple servers have been configured.
Example
Authenticate users by RADIUS server(s); fallback to server(s) if RADIUS fails; fallback to local if all
authentication servers fail:
CONTROLLER>
set authentication radius tacacs local
Change accepted
show radius
Use the
show radius
command to show a list of all configured RADIUS servers.
Syntax
show radius
Parameters
This command has no arguments or keywords.
Example
List RADIUS servers:
CONTROLLER>
show radius
Authentication Server 192.168.10.22 port 1812
Accounting Server 192.168.10.23 port 1813
create radius authserver
Use the
create radius authserver
command to add RADIUS Authentication servers (one server per command).
Login credentials are checked across all servers until a match is found, or will fail immediately if a wrong password is
entered. Make sure the authentication scheme (
set authentication
) includes
radius
when authenticating by RADIUS
server.
This device uses PAP (Password Authentication Protocol) when authenticating users with the RADIUS server. On the
RADIUS server, you must configure the Reply-Message attribute in the
radiusd.conf
file to one of “audit”, “user”, or
“admin”, which respectively corresponds to an Audit user, a Standard user, and an Administrator user. For example: