66
Description
Use the
authorization lan-access
command to configure the authorization method for LAN users.
Use the
undo authorization lan-access
command to restore the default.
By default, the default authorization method for the ISP domain is used for LAN users.
The specified RADIUS 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
, and
radius scheme
.
Examples
# Configure ISP domain
test
to use local authorization for LAN users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] authorization lan-access local
# Configure ISP domain
test
to use RADIUS authorization scheme
rd
for LAN users and use local
authorization as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] authorization lan-access radius-scheme rd local
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
case-insensitive 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 case-insensitive
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, AUX, or Asyn port or accessing through Telnet or FTP).
Use the
undo authorization login
command to restore the default.