This section provides a sample of configuring the re-transmission times and interval for Portal authentication user logout packets using the merge method. You can also use the create method to configure the re-transmission times and interval for Portal authentication user logout packets.
Operation |
XPATH |
|---|---|
edit-config:merge |
/huawei-aaa-portal:portal/logout-resend-function/interval /huawei-aaa-portal:portal/logout-resend-function/times |
Item |
Data |
Description |
|---|---|---|
interval |
15 |
Configure the re-transmission times to 10 and interval to 15 seconds for Portal authentication user logout packets. |
times |
10 |
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="43a8e485-35d2-499e-895c-e2d2d5f555a8">
<edit-config>
<target>
<running/>
</target>
<error-option>rollback-on-error</error-option>
<config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
<portal xmlns="urn:huawei:params:xml:ns:yang:huawei-aaa-portal">
<logout-resend-function>
<interval>15</interval>
<times>10</times>
</logout-resend-function>
</portal>
</config>
</edit-config>
</rpc>
Sample of successful response
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_012824316d704d43adb16b1a4245d273"> <ok/> </rpc-reply>