No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Function to Locally Generate and Store User Bills

Configuring the Function to Locally Generate and Store User Bills

This section describes how to configure the function to locally generate and store user bills, so that user accounting information is correct if an interworking RADIUS server fails to respond upon user login or logout.

Context

If a RADIUS server is configured to implement the accounting for access users or value-added services, the router allows the generation of local bills under the following scenarios:
  • An accounting stop request is triggered by a user or value-added service, but the RADIUS server does not respond. In this case, the router generates a local bill to record the accounting information and considers that the user is offline.
  • The accounting start-fail online command is run to allow a user to go online even if accounting fails to start for the user. When users go offline, local bills can be created to record accounting information.

Local bills can be transferred to a bill server for account reconciliation on the RADIUS server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run local-aaa-server

    The local AAA server view is displayed.

  3. Run local-bill-pool enable

    A local bill pool is created.

  4. Run bill-server ip-address filename filename [ user-name user-name password cipher cipher-password port ]

    A bill server is configured.

    A bill server can be used to transfer bills stored in the local bill pool or CF card, so that the space of local bill pool or CF card can be released.

  5. Configure the transfer mode and the transfer trigger conditions for bills on the router.

    • Configure the transfer mode for bills stored in the local bill pool or CF card.
      1. Run local-bill cache backup-mode { cfcard | none | tftp | sftp }

        The automatic bill transfer mode is specified.

        If none is specified, bills in the local bill pool are not transferred. If you need bill transfer before the automatic bill transfer condition is met, run the local-bill cache backup command to manually transfer local bills to the CF card or bill server.

      2. Run local-bill cfcard backup-mode { tftp | sftp }

        The mode in which the bills in the CF card are transferred to the bill server is configured.

        Besides automatic bill transfer, the router supports manual bill transfer from the CF card to the bill server using the local-bill cfcard backup command.

    • Configure the transfer trigger conditions for local bill transfer to the CF card or bill server.
      1. Run local-bill { cache | cfcard } backup-interval interval-time

        The interval at which bills in the local bill pool or CF card are transferred to the bill server is set.

      2. Run local-bill { cache | cfcard } alarm-threshold threshold-value

        The threshold at which a bill alarm is generated for the local bill pool or CF card is set.

  6. (Optional) Run local-bill cfcard reset

    Bills in the CF card are manually cleared.

    When the CF card storage space is insufficient but the bill server is faulty, run the preceding command to clear existing local bills. Otherwise, new bills will be dropped.

    Bills cannot be restored after they are deleted from the CF card. Exercise caution when running this command.

  7. Run commit

    The configuration is committed.

Result

After configuring the function to locally generate and store user bills, perform the following checks:
  • Run the display local-bill configuration command to check the configurations of the local bill transfer function.
  • Run the display local-bill information command to check the usage of the CF card or local bill pool.
  • Run the display local-bill cache start-num count command to check the information about specified bills in the local bill pool.
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17159

Downloads: 69

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next