wechat

Creates or updates a WeChat portal configuration.
Syntax
wechatname
no wechat[name]

After the wechat command is entered to enter wechat configuration mode, the following configuration syntax is available:

{authentication-urlauth-url|blacklistblacklist|dnat-destinationdest|dnat-port-mappingsourcedest|grace-periodmins|whitelistwhitelist
Command Default

No WeChat portal is configured.

Parameters
name
Specifies the Wechat portal name.
authentication-urlauth-url
Specifies a link to an authentication interface URL on a third party authentication server. When a managed AP receives a WeChat logon request from a client device, it will send the request to this authentication URL and get the authorization result.
blacklistblacklist
Specifies the network destinations that the controller automatically blocks associated wireless clients from accessing. Use a comma to separate multiple entries.
dnat-destinationdest
Specifies the DNAT destination server address to which the controller forwards HTTP requests from unauthenticated client devices. The DNAT destination server and the authentication server do not have to be the same server.
dnat-port-mappingsourcedest
Specifies the DNAT port mappings.
grace-periodmins
Specifies the grace period before which the user does not have to reauthenticate, in minutes. The default is 60 with a range from 1 to 14399.
whitelistwhitelist
Specifies the network destinations that the controller automatically allows associated wireless clients to access. You can add a single entry or multiple entries. Allowed entries are comma-separated IP addresses, IP address ranges, CIDR and regular expression domain name lists.
Modes

AP group configuration mode

Domain configuration mode

Zone configuration mode

Usage Guidelines

This command is supported only on SmartZone 300 and vSZ-H platforms.

The no form of the command deletes the WeChat portal.

The wechat command is only visible after specific commands are entered. These commands include ap-group, domain, and zone. Ruckus controllers only support the WeChat mobile app.

A WeChat portal defines the third party authentication server, also known as the equipment service provider (ESP) server, to which the controller forwards all WeChat authentication requests from wireless devices that are associated with controller-managed APs. In turn, the third party authentication server forwards these authentication requests to the WeChat server.

Examples

The following example creates a WeChat portal with an authentication server and sets the grace period to 30 minutes.

device# config
device(config)# zone zone-discovery
device(config-zone)# wechat chat2
device(config-wechat)# authentication http://authserver.examplecompany.com
device(config-wechat)# grace-period 45