< Home

wep default-key

Function

The wep default-key command sets the default key ID for WEP authentication or encryption.

The undo wep default-key command restores the default key ID for WEP authentication or encryption.

By default, key 0 is used for WEP authentication or encryption.

Format

wep default-key key-id

undo wep default-key

Parameters

Parameter

Description

Value

key-id

Specifies the default key ID.

The key ID must exist.

Views

Security profile view

Default Level

2: Configuration level

Usage Guidelines

  • A maximum of four WEP keys can be configured, and only one WEP key is used for authentication and encryption. This command specifies which key to use.
  • After a key ID is specified, the specified key is used for authentication or encryption.
  • Each AP can have at most four key indexes configured. The key indexes used by different VAPs cannot be the same.

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

Example

# Set the default key ID to 1.

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