14
authorization login
Syntax
authorization login
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
undo authorization login
View
ISP domain view
Default level
2: System level
Parameters
hwtacacs-scheme
hwtacacs-scheme-name
: Specifies an HWTACACS scheme by its name, which is a
string of 1 to 32 characters.
local
: Performs local authorization.
none
: Does not perform any authorization exchange. After passing authentication, FTP users can access
the root directory of the device, and other login users can access only the commands of Level 0.
radius-scheme
radius-scheme-name
: Specifies a RADIUS scheme by its name, which is a string of 1 to 32
characters.
Description
Use the
authorization login
command to configure the authorization method for login users (users
logging in through the console port, Telnet, or FTP).
Use the
undo authorization login
command to restore the default.
By default, the default authorization method for the ISP domain is used for login users.
The specified RADIUS or HWTACACS scheme must have been configured.
The RADIUS authorization configuration takes effect only when the authentication method and
authorization method of the ISP domain use the same RADIUS scheme.
Related commands:
local-user
,
authorization default
,
hwtacacs scheme
, and
radius scheme
.
Examples
# Configure ISP domain
test
to use local authorization for login users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] authorization login local
# Configure ISP domain
test
to use RADIUS authorization scheme
rd
for login users and use local
authorization as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] authorization login radius-scheme rd local