display accounting-scheme

Function

The display accounting-scheme command displays the configuration information about an accounting scheme.

Format

display accounting-scheme [ accounting-scheme-name ]

Parameters

Parameter Description Value
accounting-scheme-name

Specifies the name of an accounting scheme.

It is a case-insensitive string of 1 to 32 characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
aaa-access read

Usage Guidelines

Usage Scenario

Using this command in the accounting scheme view or specifying an accounting scheme, you can view its verbose configuration information. Otherwise, you can only view the brief information.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed information about accounting scheme acct1.
<HUAWEI> display accounting-scheme acct1
---------------------------------------------------------------------------
  Accounting-scheme-name                : acct1
  Accounting-method                     : RADIUS accounting
  Realtime-accounting-switch            : Close
  Realtime-accounting-interval(sec)     : -
  Start-accounting-fail-policy          : Cut user
  Realtime-accounting-fail-policy       : Cut user
  Realtime-accounting-send-update       : No
  Realtime-accounting-traffic-update    : No  
  Realtime-accounting-failure-retries   : 3
  Realtime-accounting-hash              : Yes
  ---------------------------------------------------------------------------
# Display all the accounting schemes configured in the system.
<HUAWEI> display accounting-scheme
-------------------------------------------------------------------
  Accounting-scheme-name              Accounting-method
  -------------------------------------------------------------------
  default0                            No accounting
  default1                            RADIUS accounting
  default                             No accounting
  acct1                               RADIUS accounting
  -------------------------------------------------------------------
  Total 3,4 printed
Table 1 Description of the display accounting-scheme command output
Item Description
Accounting-scheme-name

Indicates the name of an accounting scheme.

Accounting-method

Indicates the accounting method. The values are as follows:

  • RADIUS: RADIUS accounting.
  • None: no accounting.
  • HWTACACS: HWTACACS accounting.
Realtime-accounting-switch

Indicates the status of interim accounting. The values are as follows:

  • Close: The interim accounting is disabled.
  • Open: The interim accounting is enabled.
Realtime-accounting-interval(sec)

Indicates the interim accounting interval. The unit of the displayed interval is second, regardless of the configured unit.

Start-accounting-fail-policy

Indicates the policy adopted for online users when starting accounting fails. The values are as follows:

  • Online: If accounting start-fail online is configured, Online is displayed.
  • Online(accounting): If accounting start-fail online keep-accounting is configured, Online(accounting) is displayed.
  • Cut user: If accounting start-fail offline is configured, Cut user is displayed.
Realtime-accounting-fail-policy

Indicates the policy adopted for online users when interim accounting fails. The values are as follows:

  • Cut user: logs the users out.
  • Online: keeps users online.
Realtime-accounting-send-update

Indicates whether the sends the device interim accounting packet immediately or not after receiving the accounting start response.

Realtime-accounting-traffic-update

Indicates whether the device to send the interim accounting packet immediately or not after receiving the traffic update.

Realtime-accounting-failure-retries

Indicates the number of interim accounting attempts that the system makes before it determines an interim accounting failure.

Realtime-accounting-hash

Indicates whether real-time accounting packets are hashed.

  • Yes: Real-time accounting packets are hashed.
  • No: Real-time accounting packets are not hashed.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >