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.
authentication { update-info-accounting | update-ip-accounting } * enable
undo authentication { update-info-accounting | update-ip-accounting } * enable
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.