< Home

wep key

Function

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.

Format

wep key key-id { wep-40 | wep-104 | wep-128 } { { pass-phrase | hex } key-value | dot1x }

undo wep key key-id

Parameters

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 plain text password is a string of case-sensitive characters.
    • If WEP-40 is used, the WEP key is 10 hexadecimal characters or 5 ASCII characters.
    • If WEP-104 is used, the WEP key is 26 hexadecimal characters or 13 ASCII characters.
    • If WEP-128 is used, the WEP key is 32 hexadecimal characters or 16 ASCII characters.
  • A cipher text password is a string of 48 or 68 characters.

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.

-

Views

Security profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure a WEP key and its ID.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] security-profile name p1
[HUAWEI-wlan-sec-prof-p1] wep key 1 wep-128 hex 12345678123456781234567812345678
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >