Command Groups
A-138
key
ThiscommandsetsthekeysusedforWEPencryption.Usethenoformtodeleteaconfiguredkey.
Syntax
key <index> <size> <type> <value>
no key index
indexisthekeyindex.Range:14
sizeisthekeysize.(Options:64,128,or152bits)
typeistheinputformat.(Options:ASCII,HEX)
value‐Thekeystring.ForASCIIinput,use5/13alphanumericcharactersfor64/128bit
strings.ForHEXinput,use10/26hexadecimaldigitsfor64/128bitstrings.
Default Setting
None
Command Mode
InterfaceConfiguration(Wireless)
Command Usage
ToenableWiredEquivalentPrivacy(WEP),usetheauthenticationcommandtospecifythe
“sharedkey”authenticationtype,usetheencryptioncommandtospecifythekeylength,
andusethekeycommandtoconfigureatleastonekey.
IfWEPisenabled,allwirelessclientsmustbeconfiguredwiththesamesharedkeysto
communicatewiththeaccesspoint.
Theencryptionlengthspecifiedintheencryptioncommandandthekeycommandmust
match.
Theencryptionindex,lengthandtypeconfiguredintheaccesspointmustmatchthose
configuredintheclients.
Example
Related Commands
authenticationpageA136
encryptionpageA137
RoamAbout 3000#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 3000(config)#interface wireless g
RoamAbout 3000(if-wireless g)#key 3 128 hex 12345123451234512345123456
RoamAbout 3000(if-wireless g)#