No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
wep key

wep key


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






Specifies the key ID.

The value is an integer that ranges from 0 to 3.


Configures WEP-40 authentication.



Configures WEP-104 authentication.



Configures WEP-128 authentication.



Specifies the key phrase.



Specifies a hexadecimal number.



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".


Specifies dynamic WEP encryption.



Security profile view

Default Level

2: Configuration level

Usage Guidelines

Application 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.


The system displays the message only when the security profile has been bound to the other profiles.


# 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
Related Topics
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 113100

Downloads: 83

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next