email

Configures guest user e-mail notification settings. When configured, guest users can register themselves with their e-mail credentials as a primary key for authentication. The captive portal system provides the pass code for their registration. Guest users need to use their registered e-mail, mobile, or member ID and the received pass code for subsequent logins to the captive portal.

Supported in the following platforms:

Syntax

email [host|message|subject]
email host [<IP/HOSTNAME>|<HOST-ALIAS-NAME>] sender <EMAIL-ADDRESS> 
security [none|ssl|starttls] username <USER-NAME> password <PASSWORD>
email message <LINE>
email subject <LINE>

Parameters

email host [<IP/HOSTNAME>|<HOST-ALIAS-NAME>] sender <EMAIL-ADDRESS> security 
[none|ssl|starttls] username <USER-NAME> password <PASSWORD>
email Configures guest user e-mail notification settings
host [<IP/HOSTNAME>| <HOST-ALIAS-NAME>] Configures the SMTP server‘s IP address or hostname used for guest management e-mail traffic, guest user credential validation, and pass code reception. Optionally you can use an existing host alias to identify the SMTP server host.
  • <IP/HOSTNAME> – Specify the SMTP server‘s IPv4 address or hostname.
  • <HOST-ALIAS-NAME> – Specify the host alias name (should be existing and configured). Consider providing the host as an alias. A host alias is a configuration item that maps the alias to a hostname. Once created, it can be used across different configuration modes. Where ever used the alias is replaced by the associated hostname.
sender <EMAIL-ADDRESS> Configures the sender‘s name for the guest user receiving the passcode required for registering their guest E-mail credentials using SMTP.
  • <EMAIL-SENDER> – Specify the sender‘s name (should not exceed 100 characters).
security [none|ssl|starttls] Configures the encryption protocol used by the SMTP server when communicating the pass code
  • none – No encryption used. Use if no additional user authentication is needed beyond the required username and password combination.
  • SSL – Uses SSL encryption. This is the default setting.
  • STARTTLS – Uses STARTTLS encryption
username <USER-NAME> Configures a username unique to this SMS guest management configuration. After configuring the username, specify the associated password. Ensure that the password is correctly provided to receive the pass code required for registering guest user credentials with SMS.
  • <USER-NAME> – Specify the username (should not exceed 100 characters).
password <PASSWORD> Configures the password associated with the specified SMTP user name
  • <PASSWORD> – Specify the password (should not exceed 63 characters).
email message <LINE>
email Configures guest user e-mail notification content
message <LINE> Configures the content of the e-mail sent to the guest user notifying the pass code (should not exceed 1024 characters)
  • <LINE> – Specify the message content. When entering the message, use the following tags:

    GM-NAME – for the guest user‘s name

    GM_PASSCODE – for the pass code

    CR-NL – to enter a new line

    For example: Dear GM_NAME, CR-NL your internet access pass code is GM_PASSCODE. CR-NL Use this for internet access.

email subject <LINE>
email Configures guest user e-mail notification subject line
subject <LINE> Configures the subject line of the e-mail sent to the guest user notifying the pass code (should not exceed 100 characters)
  • <LINE> – Specify the subject line content. When entering the subject line, use the following tag:

    GM-NAME – for the guest user‘s name

    For example: GM_NAME, your internet access code

Examples

nx9500-6C8809(config-guest-management-test)#email host 192.168.13.10 sender 
bob@extremenetworks.com security ssl username guest1 password guest1@123
nx9500-6C8809(config-guest-management-test)#show context
guest-management test
 email host 192.168.13.10 sender bob@extremenetworks.com security ssl username guest1 password guest1@123
nx9500-6C8809(config-guest-management-test)#
nx9500-6C8809(config-guest-management-test2)#email message Dear GM_Guest2, CR-NL
Your internet access passcode is GM_Guest2. CR-NL Use this for internet access.
nx9500-6C8809(config-guest-management-test2)#email subject GM_Guest2 Your internet access code
nx9500-6C8809(config-guest-management-test2)#show context
guest-management test2
 email subject GM_Guest2 Your internet access code
 email message Dear GM_Guest2,  CR-NL  Your internet access passcode is GM_Guest2.  CR-NL  Use this for internet access.
nx9500-6C8809(config-guest-management-test2)#

Related Commands

no (guest-management-policy-config-commands) Removes the e-mail settings used to send notification mails to the guest user