1-4
z
Local accounting is only for managing the local user connection number; it does not provide the
statistics function. The local user connection number management is only for local accounting; it
does not affect local authentication and authorization.
Related commands:
authentication default
,
authorization default
,
hwtacacs scheme
,
radius
scheme
.
Examples
# Configure the default ISP domain
system
to use the local accounting method for all types of users.
<Sysname> system-view
[Sysname] domain system
[Sysname-isp-system] accounting default local
# Configure the default ISP domain
system
to use RADIUS accounting scheme
rd
for all types of
users and use local accounting as the backup.
<Sysname> system-view
[Sysname] domain system
[Sysname-isp-system] accounting default radius-scheme rd local
accounting lan-access
Syntax
accounting
lan-access
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
undo accounting lan-access
View
ISP domain view
Default Level
2: System level
Parameters
local
: Performs local accounting.
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 lan-access
command to configure the accounting method for LAN access users.
Use the
undo accounting lan-access
command to restore the default.
By default, the default accounting method that the
accounting default
command prescribes is used
for LAN access users.
Note that the RADIUS scheme specified for the current ISP domain must have been configured.
Related commands:
accounting default
,
radius scheme
.
Examples
# Configure the default ISP domain
system
to use the local accounting method for LAN access users.
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 ...