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

Reminder

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

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

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).
shop-id (Central AP)

shop-id (Central AP)

Function

The shop-id command configures shop information.

The undo shop-id command deletes shop information.

By default, no shop information is configured in the system.

Format

shop-id shop-id secretkey secretkey ssid ssid

undo shop-id shop-id

Parameters

Parameter

Description

Value

shop-id

Specifies the ID of the shop where an AP is located. The ID specified here must be the same as the ID configured when the shop information is added for the WeChat public account on the WeChat server.

The value is a string of 1 to 32 characters without spaces. If the string is enclosed in double quotation marks, the string can contain spaces.

secretkey secretkey

Specifies the shared key that the shop and WeChat server use to authenticate each other. The shared key specified here must be the same as the key configured when the shop information is added for the WeChat public account on the WeChat server.

The value is a string of 1 to 32 characters without spaces marks. If the character string is quoted by double quotation marks, the character string can contain spaces.

ssid ssid

Specifies the service set identifier (SSID) of the wireless network in the shop. All APs in a shop must have the same SSID.

The SSID specified here must be the same as the SSID configured when the shop information is added for the WeChat public account on the WeChat server.

The value must be an existing SSID.

Views

Built-in Portal server WeChat authentication profile view

Default Level

2: Configuration level

Usage Guidelines

In a WeChat authentication scenario, the device sends shop information to clients, and the clients then send shop information to the WeChat server for verification. After the verification succeeds, the clients visit the authentication URL to initiate authentication on the device. The device obtains shop information in either of the following ways:

  • Manual mode: Run the shop-id command to configure shop information.

  • Automatic mode: Run the wechat-server-ip (Central AP) command to enable the device to automatically obtain shop information from the WeChat server.

    When WeChat authentication is required in a large number of shops, the automatic mode is recommended for convenient management and maintenance.

If both two commands are configured, the configuration of the shop-id command does not take effect.

Example

# Set the shop ID to 6747662, SSID to wx-open1, and shared key to 1af08ec5cdb70a4d7365bcd64d3120f6.

<Huawei> system-view
[Huawei] portal local-server wechat-authen
[Huawei-wechat-authen] shop-id 6747662 secretkey 1af08ec5cdb70a4d7365bcd64d3120f6 ssid wx-open1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202957

Downloads: 122

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