8
Examples
# In ISP domain
test
, perform local accounting for login users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting login local
# In ISP domain
test
, perform RADIUS accounting for login users based on scheme
rd
and use local
accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting login radius-scheme rd local
Related commands
accounting default
hwtacacs scheme
local-user
radius scheme
accounting portal
Use
accounting portal
to specify accounting methods for portal users.
Use
undo accounting portal
to restore the default.
Syntax
In non-FIPS mode:
accounting portal
{
broadcast radius-scheme radius-scheme-name1 radius-scheme
radius-scheme-name2
[
local
] [
none
] |
local
[
none
] |
none
|
radius-scheme
radius-scheme-name
[
local
] [
none
]
}
undo accounting portal
In FIPS mode:
accounting portal
{
broadcast radius-scheme radius-scheme-name1 radius-scheme
radius-scheme-name2
[
local
] |
local
|
radius-scheme
radius-scheme-name
[
local
] }
undo accounting portal
Default
The default accounting methods of the ISP domain are used for portal users.
Views
ISP domain view
Predefined user roles
network-admin
mdc-admin
Parameters
broadcast
: Broadcasts accounting requests to servers in RADIUS schemes.
radius-scheme
radius-scheme-name1
: Specifies the primary broadcast RADIUS scheme by its
name, a case-insensitive string of 1 to 32 characters.
radius-scheme
radius-scheme-name2
: Specifies the backup broadcast RADIUS scheme by its
name, a case-insensitive string of 1 to 32 characters.