User Guide

Wireless Security Commands
7-121
7
Example
wpa-pre-shared-key
This command defines a Wi-Fi Protected Access (WPA/WPA2) preshared-key.
Syntax
wpa-pre-shared-key <hex | passphrase-key> <value>
hex - Specifies hexadecimal digits as the key input format.
passphrase-key - Specifies an ASCII pass-phrase string as the key input
format.
value - The key string. For ASCII input, specify a string between 8 and 63
characters. For HEX input, specify exactly 64 digits.
Command Mode
Interface Configuration (Wireless-VAP)
Command Usage
To support WPA or WPA2 for client authentication, use the auth command
to specify the authentication type, and use the wpa-preshared-key
command to specify one static key.
If WPA or WPA2 is used with pre-shared-key mode, all wireless clients
must be configured with the same pre-shared key to communicate with the
access point’s VAP interface.
Example
Related Commands
auth (7-115)
pmksa-lifetime
This command sets the time for aging out cached WPA2 Pairwise Master Key
Security Association (PMKSA) information for fast roaming.
Syntax
pmksa-lifetime <minutes>
minutes - The time for aging out PMKSA information.
(Range: 0 - 14400 minutes)
Default Setting
720 minutes
Enterprise AP(if-wireless g)#mic_mode hardware
Enterprise AP(if-wireless g)#
Enterprise AP(if-wireless g: VAP[0])#wpa-pre-shared-key ASCII agoodsecret
Enterprise AP(if-wireless g)#