The display accounting-scheme command displays the configuration of accounting schemes, including accounting scheme names and accounting modes.
Parameter |
Description |
Value |
---|---|---|
accounting-scheme-name |
Specifies the name of an accounting scheme. |
The accounting scheme must already exist. |
Usage Scenario
After the accounting scheme configuration is complete, run the display accounting-scheme command to view the configuration of accounting schemes.
Before applying an accounting scheme to a domain, run the display accounting-scheme command to check whether configuration of the accounting scheme is correct.
Precautions
The display accounting-scheme command displays the detailed configuration if the name of an accounting scheme is specified. Otherwise, this command displays only the summary of accounting schemes.
# Display the summary of all accounting schemes.
<HUAWEI> display accounting-scheme ------------------------------------------------------------------- Accounting-scheme-name Accounting-method ------------------------------------------------------------------- default None radius-1 RADIUS tacas-1 HWTACACS ------------------------------------------------------------------- Total of accounting-scheme: 3
# Display the detailed configuration of the default accounting scheme.
<HUAWEI> display accounting-scheme default
Accounting-scheme-name : default
Accounting-method : None
Realtime-accounting-switch : Disabled
Realtime-accounting-interval(min) : -
Start-accounting-fail-policy : Offline
Realtime-accounting-fail-policy : Online
Realtime-accounting-failure-retries : 3
Item |
Description |
---|---|
Accounting-scheme-name |
Name of an accounting scheme. To create an accounting scheme, run the accounting-scheme (AAA view) command. |
Accounting-method |
Accounting mode in the accounting scheme. The accounting modes are as follows:
To configure an accounting mode, run the accounting-mode command. |
Realtime-accounting-switch |
Whether the real-time accounting function is enabled:
To set the interval for real-time accounting, run the accounting realtime command. |
Realtime-accounting-interval(min) |
Interval for real-time accounting. To set the interval for real-time accounting, run the accounting realtime command. |
Start-accounting-fail-policy |
Policy used for accounting-start failures.
To configure a policy for accounting-start failures, run the accounting start-fail command. |
Realtime-accounting-fail-policy |
Policy used for real-time accounting failures.
To configure the policy used for real-time accounting failures, run the accounting interim-fail command. |
Realtime-accounting-failure-retries |
Number of retries before a real-time accounting failure is confirmed. To set the number of real-time retries before a real-time accounting failure is confirmed, run the accounting interim-fail command. |