To do...
Enable the accounting optional
feature
Specify the default accounting
method for all types of users
Specify the command accounting
method
Specify the accounting method for
LAN users
Specify the accounting method for
login users
Specify the accounting method for
portal users
NOTE:
•
If you configure the accounting optional command, the limit on the number of local user connections is
not effective.
The accounting method specified with the accounting default command is for all types of users and has
•
a priority lower than that for a specific access type.
If you specify the radius-scheme
•
hwtacacs-scheme-name
backup method and is used only when the remote server is not available.
If you specify only the local or none keyword in an accounting method configuration command, the
•
switch has no backup accounting method and performs only local accounting or does not perform any
accounting.
Accounting is not supported for FTP services.
•
Tearing down user connections
Follow these steps to tear down user connections:
To do...
Enter system view
Use the command...
accounting optional
accounting default { hwtacacs-scheme
hwtacacs-scheme-name [ local ] | local
| none | radius-scheme
radius-scheme-name [ local ] }
accounting command
hwtacacs-scheme
hwtacacs-scheme-name
accounting lan-access { local | none |
radius-scheme radius-scheme-name
[ local | none ] }
accounting login { hwtacacs-scheme
hwtacacs-scheme-name [ local ] | local
| none | radius-scheme
radius-scheme-name [ local ] }
accounting portal { local | none |
radius-scheme radius-scheme-name
[ local ] }
radius-scheme-name
local option when you configure an accounting method, local accounting is the
Use the command...
system-view
45
Remarks
Optional
Disabled by default
With the accounting optional
feature, a switch allows users to
use network resources when no
accounting server is available
or communication with all
accounting servers fails.
Optional
local by default
Optional
The default accounting method
is used by default.
Optional
The default accounting method
is used by default.
Optional
The default accounting method
is used by default.
Optional
The default accounting method
is used by default.
local or hwtacacs-scheme
Remarks
—