8
When the primary method is invalid, the device attempts to use the backup methods in sequence.
For example, the
accounting lan-access radius-scheme
radius-scheme-name
local
none
command specifies a primary RADIUS accounting method and two backup methods (local
accounting and no accounting). The device performs RADIUS accounting by default and performs
local accounting when the RADIUS server is invalid. The device does not perform accounting when
both of the previous methods are invalid.
The following guidelines apply to broadcast accounting:
•
The device sends accounting requests to the primary accounting servers in the specified
broadcast RADIUS schemes at the same time. If a primary server is unavailable, the device
sends accounting requests to the secondary servers of the scheme in the order the servers are
configured.
•
The accounting result is determined by the primary broadcast RADIUS scheme. The
accounting result from the backup scheme is used as reference only. If the primary scheme
does not return any result, the device considers the accounting as a failure.
Examples
# In ISP domain
test
, perform local accounting for LAN users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting lan-access local
# In ISP domain
test
, perform RADIUS accounting for LAN users based on scheme
rd
and use local
accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting lan-access radius-scheme rd local
# In ISP domain
test
, broadcast accounting requests of LAN users to RADIUS servers in schemes
rd1
and
rd2
, and use local accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting lan-access broadcast radius-scheme rd1 radius-scheme rd2
local
Related commands
accounting default
local-user
radius scheme
accounting login
Use
accounting login
to specify the accounting method for login users.
Use
undo accounting login
to restore the default.
Syntax
In non-FIPS mode:
accounting login
{
hwtacacs-scheme
hwtacacs-scheme-name
[
radius-scheme
radius-scheme-name
] [
local
] [
none
]
|
local
[
none
] |
none
|
radius-scheme
radius-scheme-name
[
hwtacacs-scheme
hwtacacs-scheme-name
] [
local
] [
none
]
}
undo accounting login
In FIPS mode:
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...