Specifications

Command Groups
A-148
wpa-preshared-key
ThiscommanddefinesaWiFiProtectedAccess(WPA)presharedkey.
Syntax
wpa-preshared-key <type> <value>
typeistheinputformat.(Options:ASCII,HEX)
valueisthekeystring.ForASCIIinput,use5to63ASCIIcharacters.ForHEXinput,use64
hexadecimaldigits.
Default Setting
None
Command Mode
InterfaceConfiguration(Wireless)
InterfaceConfiguration(Wireless):VAP
Command Usage
UsethiscommandforthedefaultinterfaceoranyofthesevenVAPsconfigurableperradio
interface.
TosupportWiFiProtectedAccess(WPA)forclientauthentication,usethewpaclients
commandtospecifytheauthenticationtype,usethewpamodecommandtospecifypre
sharedkey mode,and
usethiscommandtoconfigureonestatickey.
IfWPAisusedwithpresharedkeymode,allwirelessclientsmustbeconfiguredwiththe
samepresharedkeytocommunicatewiththeaccesspoint.
Example
ThefollowingexampleshowssettingtheWPApresharedkeyforthedefaultinterfaceandaVAP.
Related Commands
wpaclientspageA145
wpamodepageA147
RoamAbout 3000#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 3000(config)#interface wireless g
Enter Wireless configuration commands, one per line.
RoamAbout 3000(if-wireless g)#wpa-preshared-key ASCII agoodsecret
RoamAbout 3000(if-wireless g)#vap 2
RoamAbout 3000(if-wireless g: VAP[2])#wpa-preshared-key ASCII 6buQ3!
RoamAbout 3000(if-wireless g: VAP[2])#end
RoamAbout 3000(if-wireless g)#