The wep key command sets a WEP key.
The undo wep key command deletes the specified key.
By default, WEP-40 is used, and the key is Admin.
wep key key-id { wep-40 | wep-104 | wep-128 } { { pass-phrase | hex } key-value | dot1x }
undo wep key key-id
Parameter |
Description |
Value |
---|---|---|
key-id |
Specifies the key ID. |
The value is an integer that ranges from 0 to 3. |
wep-40 |
Configures WEP-40 authentication. |
- |
wep-104 |
Configures WEP-104 authentication. |
- |
wep-128 |
Configures WEP-128 authentication. |
- |
pass-phrase |
Specifies the key phrase. |
- |
hex |
Specifies a hexadecimal number. |
- |
key-value |
Specifies a password in cipher text. |
The password can be in plain text or cipher text.
A password cannot contain the space and double quotation mark (") at the same time. When the password contains a space, add the double quotation mark (") to the beginning and end of the string when entering the password. For example, if the password is abc123 ABC, enter "abc123 ABC". |
dot1x |
Specifies dynamic WEP encryption. |
- |
Usage Scenario
To connect to a WLAN device in WEP shared-key authentication mode or dynamic WEP mode, run the wep key command to set a WEP key.
If the key is in hexadecimal notation, you can enter hexadecimal characters without entering 0x.
Precautions
The system displays the message only when the security profile has been bound to the other profiles.