1-5
<Sysname> system-view
[Sysname] domain system
[Sysname-isp-system] accounting lan-access local
# Configure the default ISP domain
system
to use RADIUS accounting scheme
rd
for LAN access
users and use local accounting as the backup.
<Sysname> system-view
[Sysname] domain system
[Sysname-isp-system] accounting lan-access radius-scheme rd local
accounting login
Syntax
accounting login
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
undo accounting 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 accounting. It is not used for charging purposes, but for collecting statistics on
and limiting the number of local user connections.
none
: Does not perform any accounting.
radius-scheme radius-scheme-name
: Specifies a RADIUS scheme by its name, which is a string of 1
to 32 characters.
Description
Use the
accounting login
command to configure the accounting method for login users.
Use the
undo accounting login
command to restore the default.
By default, the default accounting method is used for login users.
Note that:
z
The RADIUS or HWTACACS scheme specified for the current ISP domain must have been
configured.
z
Accounting is not supported for login users’ FTP services.
Related commands:
accounting default
,
hwtacacs scheme
,
radius scheme
.
Examples
# Configure the default ISP domain
system
to use the local accounting method for login users.
<Sysname> system-view
[Sysname] domain system
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...