< Home

authentication { update-info-accounting | update-ip-accounting } * enable

Function

The authentication { update-info-accounting | update-ip-accounting } * enable command enables a device to send accounting packets for terminal information and address updating.

The undo authentication { update-info-accounting | update-ip-accounting } * enable command disables a device from sending accounting packets for terminal information and address updating.

By default, the device is enabled to send accounting packets for terminal information and address updating.

Format

authentication { update-info-accounting | update-ip-accounting } * enable

undo authentication { update-info-accounting | update-ip-accounting } * enable

Parameters

None

Views

Authentication profile view

Default Level

2: Configuration level

Usage Guidelines

By default, the device sends accounting packets for terminal information and address updating to the accounting server. Some accounting servers may not require the accounting packets. In this case, resources on the device are occupied. You can run the undo authentication { update-info-accounting | update-ip-accounting } * enable command to disable the device from sending accounting packets for terminal information and address updating, saving resources on the device. After terminal information and address updating are complete, the device sends accounting packets again and the accounting function is not affected.

  • update-info-accounting indicates that accounting packets are immediately sent during terminal information updating.

    To configure this function, the terminal type identification function must be configured simultaneously.

    After the authentication update-info-accounting enable command is configured, the device checks whether the terminal information (including the DHCP Option, UA, or LLDP information) in the accounting packet is consistent with the saved information after obtaining the accounting packet. If they are inconsistent, the accounting packet is sent immediately when the device receives the packet for the first time, and the accounting packet is not sent immediately after the device receives the packet again. In other cases, the device does not send accounting packets immediately and waits until the real-time accounting timer expires.

    After the undo authentication update-info-accounting enable command is configured, the device does not send the accounting packet immediately after obtaining the packet, and waits until the real-time accounting timer expires.

  • update-info-accounting indicates that accounting packets are immediately sent during address updating.
  • If the terminal information (DHCP Options and HTTP UA information supported only in wireless scenarios; LLDP information supported only by switches in wired scenarios) is updated for the first time, the device immediately triggers real-time accounting. If the terminal information is not updated for the first time, the device only updates the user entry and reports the new terminal information through subsequent accounting messages.

Example

# Disable a device from sending accounting packets for address updating.

<HUAWEI> system-view
[HUAWEI] authentication-profile name test 
[HUAWEI-authen-profile-test] undo authentication update-ip-accounting enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >