Specifications
Command Groups
A-148
wpa-preshared-key
ThiscommanddefinesaWi‐FiProtectedAccess(WPA)preshared‐key.
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.
•TosupportWi‐FiProtectedAccess(WPA)forclientauthentication,usethewpa‐clients
commandtospecifytheauthenticationtype,usethewpa‐modecommandtospecifypre‐
shared‐key mode,and
usethiscommandtoconfigureonestatickey.
•IfWPAisusedwithpre‐shared‐keymode,allwirelessclientsmustbeconfiguredwiththe
samepre‐sharedkeytocommunicatewiththeaccesspoint.
Example
ThefollowingexampleshowssettingtheWPApre‐sharedkeyforthedefaultinterfaceandaVAP.
Related Commands
wpa‐clientspageA‐145
wpa‐modepageA‐147
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)#