url-hash-key

Syntax

url-hash-key {plaintext | ciphertext} <HASH-KEY> 

no url-hash-key  

Description

Within the captive portal context, defines the captive portal hash key.

The no form of this command deletes the captive portal URL hash key.

Command context

config-captive-portal

Parameters

{plaintext | ciphertext}

Selects the URL hash key type as either plaintext or ciphertext.

<HASH-KEY>

Specifies the captive portal URL hash key. Up to 128 characters.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Creating a captive portal profile named employee and then setting its URL and URL hash key:

switch(config)# aaa authentication port-access captive-portal-profile employee
switch(config-captive-portal)# url http://1.1.1.1/employee/captiveportal.php
switch(config-captive-portal)#
switch(config-captive-portal)# url-hash-key plaintext cjQrJ9#$erty
switch(config-captive-portal)#
switch(config-captive-portal)# exit
switch(config)#  

Entering the captive portal profile employee and then deleting its URL hash key:

switch(config)# aaa authentication port-access captive-portal-profile employee
switch(config-captive-portal)# no url-hash-key
switch(config-captive-portal)#
switch(config-captive-portal)# exit
switch(config)#