R2511-HP MSR Router Series Voice Command Reference(V5)

336
Related commands
acct-method
accounting
acct-method
Use acct-method to configure an accounting method for the RADIUS client.
Use undo acct-method to restore the default.
Syntax
acct-method { start-ack | start-no-ack | stop-only }
undo acct-method
Default
The accounting method is start-no-ack.
Views
Voice AAA client view
Default command level
2: System level
Parameters
start-ack: When the call setup begins, the voice gateway sends an Accounting-Start request to the
RADIUS server. However, the voice gateway must receive an Accounting_Start acknowledgment from the
RADIUS server before connecting the call. After the call ends, the voice gateway sends an
Accounting_Stop request to the RADIUS server, and releases the call upon receiving an Accounting_Stop
acknowledgment.
start-no-ack: When the call setup begins, the voice gateway sends an Accounting_Start request to the
RADIUS server, and directly connects the call without waiting for an Accounting_Start acknowledgment.
If the voice gateway receives an Accounting_Start unacknowledgment from the RADIUS server after the
call is connected, it immediately releases the call. After the call ends, the voice gateway sends an
Accounting_Stop request to the RADIUS server and releases the call only after it receives an
Accounting_Stop acknowledgment.
stop-only: The voice gateway sends an Accounting_Stop request to the RADIUS server only when the call
ends, and it releases the call only after receiving an Accounting_Stop acknowledgment.
Examples
# Set the accounting method to start-ack.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] aaa-client
[Sysname-voice-aaa] acct-method start-ack
# Restore the default accounting method.
[Sysname-voice-aaa] undo acct-method
Related commands
accounting
accounting-did