Configuring HWTACACS stop-accounting packet buffering

About HWTACACS stop-accounting packet buffering

The device sends HWTACACS stop-accounting requests when it receives connection teardown requests from hosts or connection teardown commands from an administrator. However, the device might fail to receive a response for a stop-accounting request in a single transmission. Enable the device to buffer HWTACACS stop-accounting requests that have not received responses from the accounting server. The device will resend the requests until responses are received.

To limit the transmission times, set a maximum number of attempts that can be made for transmitting individual HWTACACS stop-accounting requests. When the maximum attempts are made for a request, the device discards the buffered request.

Procedure

  1. Enter system view.

    system-view

  2. Enter HWTACACS scheme view.

    hwtacacs scheme hwtacacs-scheme-name

  3. Enable buffering of HWTACACS stop-accounting requests to which no responses have been received.

    stop-accounting-buffer enable

    By default, the buffering feature is enabled.

  4. (Optional.) Set the maximum number of transmission attempts for individual HWTACACS stop-accounting requests.

    retry stop-accounting retries

    The default setting is 100.