No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
wapi source interface

wapi source interface


The wapi source interface command configures a source interface for an AC to communicate with an ASU server.

The undo wapi source interface command cancels the source interface for an AC to communicate with an ASU server.

By default, no source interface is configured for an AC to communicate with an ASU server.


wapi source interface { vlanif vlan-id | loopback loopback-number }

undo wapi source interface





vlanif vlan-id

Configures a VLANIF interface as the source interface.

The value is an integer that ranges from 1 to 4094.

loopback loopback-number

Configures a loopback interface as the source interface.

The value is an integer that ranges from 0 to 1023.


Security profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In WLAN applications, to use WAPI authentication and enable socket communication between an AC and an ASU server, the AC needs a WAPI source IP address using which all packets are sent to the ASU server.


An IP address has been assigned to the specified loopback or VLANIF interface.


The IP address of the WAPI source interface on the AC must be on the same network segment as the IP address of the ASU server. If no WAPI source interface is configured, the IP address of the AC source interface is used as the source IP address for sending WAPI packets to the WAPI server by default.


# Configure a VLANIF interface as the source interface for the AC to communicate with the ASU server.

<HUAWEI> system-view
[HUAWEI] vlan 100
[HUAWEI-vlan100] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ip address 24
[HUAWEI-Vlanif100] quit
[HUAWEI] wlan
[HUAWEI-wlan-view] security-profile name p1
[HUAWEI-wlan-sec-prof-p1] wapi source interface Vlanif 100
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 116992

Downloads: 83

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next