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.
Operation |
XPATH |
---|---|
edit-config:merge |
/huawei-aaa-haca:aca/haca-server/accounting-stop-packet-resend-times |
Item |
Data |
Description |
---|---|---|
Number of retransmitted accounting-stop packets. |
10 |
Set the number of retransmitted accounting-stop packets to 10. |
<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>
Sample of a successful response
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> <ok/> </rpc-reply>