This section provides a sample of configuring the maximum number of concurrent Portal authentication users allowed to access the device using the merge method.
Operation |
XPATH |
---|---|
edit-config:merge |
/huawei-nac-portal:portal-access/portal-max-user-num |
Item |
Data |
Description |
---|---|---|
portal-max-user-num |
90 |
Set the maximum number of concurrent Portal authentication users allowed to access the device to 90. |
<rpc message-id="0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <edit-config> <target> <running/> </target> <config> <hw-nac-portal:portal-access xmlns:hw-nac-portal="urn:huawei:params:xml:ns:yang:huawei-nac-portal"> <hw-nac-portal:portal-max-user-num xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="merge">90</hw-nac-portal:portal-max-user-num> </hw-nac-portal:portal-access> </config> </edit-config> </rpc>
Sample of successful response
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="0"> <ok/> </rpc-reply>
Sample of failed response
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="0"> <rpc-error> <error-app-tag>255</error-app-tag> <error-message>Error: Wrong parameter found at '^' position.</error-message> <error-info>Error on node /huawei-nac-portal/portal-access/portal-max-user-num</error-info> </rpc-error> </rpc-reply>