localization

Configures an FQDN address string to get localization parameters for the client. Use this option to add a URL to trigger a one-time redirect on demand. The defined URL is triggered from a mobile application to derive location information from the wireless network so an application can be localized to a particular store or region.

Supported on the following devices:

Syntax

localization [fqdn <WORD>|response <WORD>]

Parameters

localization [fqdn <WORD>|response <WORD>]
localization Enables localization and configures the related parameters.
fqdn <WORD> Configures the FQDN address (for example, local.guestaccess.com) used to obtain localization parameters for a client.
  • <WORD> – Specify the FQDN address string. For example, local.guestaccess.com
response <WORD> Configures the response message directed back to the client for localization HTTP requests.
  • <WORD> – Specify the response message (should not exceed 512 characters in length).

    The following built-in query tags can be included in the response message:

    'WING_TAG_CLIENT_IP' -Captive portal client IPv4 address

    'WING_TAG_CLIENT_MAC' - Captive portal client MAC address

    'WING_TAG_WLAN_SSID ' - Captive portal client WLAN ssid

    'WING_TAG_AP_MAC' - Captive portal client AP MAC address

    'WING_TAG_AP_NAME' - Captive portal client AP Name

    'WING_TAG_RF_DOMAIN' - Captive portal client RF Domain

    'WING_TAG_USERNAME' - Captive portal authentication username

    'WING_TAG_USERTYPE' - Captive portal usertype

    (new/return/refresh) Example:- <local><site>WING_TAG_RF_DOMAIN</site><ap>WING_TAG_AP_NAME</ap></local

Examples

nx9500-6C8809(config-captive-portal-test)#localization fqdn local.guestaccess.com
nx9500-6C8809(config-captive-portal-test)#localization response <local><site>SJExtreme</site><ap>ap8163-74B45C</ap><user>Bob</user><local>
nx9500-6C8809(config-captive-portal-TechPubsNew)#show context
captive-portal TechPubsNew
 webpage internal registration field city type text enable label "City" placeholder "Enter City"
 webpage internal registration field street type text enable label "Address" placeholder "123 Any Street"
 webpage internal registration field name type text enable label "Full Name" placeholder "Enter First Name, Last Name"
 webpage internal registration field zip type number enable label "Zip" placeholder "Zip"
 webpage internal registration field via-sms type checkbox enable title "SMS Preferred"
 webpage internal registration field mobile type number enable label "Mobile" placeholder "Mobile Number with Country code"
 webpage internal registration field age-range type dropdown-menu enable label "Age Range" title "Age Range"
 webpage internal registration field email type e-address enable mandatory label "Email" placeholder "you@domain.com"
 webpage internal registration field via-email type checkbox enable title "Email Preferred"
 localization fqdn local.guestaccess.com
 localization response <local><site>SJExtreme</site><ap>ap8163-74B45C</ap><user>Bob</user><local>
nx9500-6C8809(config-captive-portal-TechPubsNew)#

Related Commands

no Removes the FQDN address string and response message configured on a captive portal for localization