< Home

Configuring a Device to Retransmit Accounting-stop Packets

This section provides a sample of configuring a device to retransmit accounting-stop packets using the merge method. You can also configure a device to retransmit accounting-stop packets using the create method.

Table 1 Configuring a device to retransmit accounting-stop packets

Operation

XPATH

edit-config:merge

/huawei-aaa-haca:aca/haca-server/accounting-stop-packet-resend-times

Data Requirements

Table 2 Configuring a device to retransmit accounting-stop packets

Item

Data

Description

Number of retransmitted accounting-stop packets.

10

Set the number of retransmitted accounting-stop packets to 10.

Request Example

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<edit-config>
<target>
<running/>
</target>
<error-option>rollback-on-error</error-option>
<config>
<aca xmlns="urn:huawei:params:xml:ns:yang:huawei-aaa-haca">
 <haca-server xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
  <name>haca_server</name>
  <vsys>public</vsys>
  <accounting-stop-packet-resend-times>55</accounting-stop-packet-resend-times>
 </haca-server>
</aca>
</config>
</edit-config>
</rpc>

Response Example

Sample of a successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <ok/>
</rpc-reply>    
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic