< Home

Configuring the Device to Respond to the Portal Server with the IP Address of the New AP After a Wireless User Roams to the New AP

This section provides a sample of configuring the device to respond to the Portal server with the IP address of the new AP after a wireless user roams to the new AP using the merge method.

Table 1 Configuring the device to respond to the Portal server with the IP address of the new AP after a wireless user roams to the new AP

Operation

XPATH

edit-config:merge

/huawei-nac-portal:portal-access/user-roam-reply-enable

Data Requirements

Table 2 Configuring the device to respond to the Portal server with the IP address of the new AP after a wireless user roams to the new AP

Item

Data

Description

user-roam-reply-enable

true

Enable the device to respond to the Portal server with the IP address of the new AP after a wireless user roams to the new AP.

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:user-roam-reply-enable xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="create">true</hw-nac-portal:user-roam-reply-enable>
      </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-type>application</error-type>
  <error-tag>operation-failed</error-tag>
  <error-severity>error</error-severity>
  <error-message>parse configuration error.</error-message>
 </rpc-error>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >