Table of Contents

Advertisement

key

This command sets the keys used for WEP encryption. Use the no form to
delete a configured key.
Syntax
key <index> <size> <type> <value>
no key <index>
index - Key index. (Range: 1-4)
size - Key size. (Options: 64, 128, or 152 bits)
type - Input format. (Options: ASCII, HEX)
value - The key string.
For 64-bit keys, use 5 alphanumeric characters or 10 hexadec-
imal digits.
For 128-bit keys, use 13 alphanumeric characters or 26 hexa-
decimal digits.
For 152-bit keys, use 16 alphanumeric characters or 32 hexa-
decimal digits.
Default Setting
None
Command Mode
Interface Configuration (Wireless)
Command Usage
To enable Wired Equivalent Privacy (WEP), use the authentication
command to select the "shared key" authentication type, use the
encryption command to specify the key length, and use the key
command to configure at least one key.
If WEP is enabled, all wireless clients must be configured with the
same shared keys to communicate with the access point.
Example
HP420(if-wireless g)#key 1 64 hex 1234512345
HP420(if-wireless g)#key 2 128 ascii asdeipadjsipd
HP420(if-wireless g)#key 3 64 hex 12345123451234512345123456
HP420(if-wireless g)#
Command Line Reference
Interface Commands
6-69

Advertisement

Table of Contents
loading

Table of Contents