< Home

Configuring the Maximum Number of Concurrent Portal Authentication Users Allowed to Access the Device

This section provides a sample of configuring the maximum number of concurrent Portal authentication users allowed to access the device using the merge method.

Table 1 Configuring the maximum number of concurrent Portal authentication users allowed to access the device

Operation

XPATH

edit-config:merge

/huawei-nac-portal:portal-access/portal-max-user-num

Data Requirements

Table 2 Configuring the maximum number of concurrent Portal authentication users allowed to access the device

Item

Data

Description

portal-max-user-num

90

Set the maximum number of concurrent Portal authentication users allowed to access the device to 90.

Request Example

<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>

Response Example

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>    
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >