beautypg.com

Set the key type set the wep keys – Allied Telesis AT-WA7400/EU User Manual

Page 306

background image

Appendix D: Command Line Interface (CLI) for Access Point Configuration

306

Note

The Key Length values used by the CLI do not include the
initialization vector in the length. On the web UI, longer Key Length
values may be shown which include the 24-bit initialization vector. A
Key Length of 40 bits (not including initialization vector) is equivalent
to a Key Length of 64 bits (with initialization vector). A Key Length of
104 bits (not including initialization vector) is equivalent to a Key
Length of 128 bits (which includes the initialization vector).

To set the WEP Key Length, type one of the commands in Table 11.

The following example sets the WEP Key Length to 40.

AT-WA7400# set interface wlan0 wep-key-length 40

Set the Key Type

Valid values for Key Type are ASCII or Hex. The following commands set
the Key Type.

In the following example, the key type is set to ASCII:

AT-WA7400# set interface wlan0 wep-key-ascii yes

Set the WEP Keys

Note

The number of characters required for each WEP key depends on
how you set Key Length and Key Type:

If Key Length is 40 bits and the Key Type is “ASCII,” then each WEP
key be 5 characters long.

Table 11. WEP Key Length Commands

Function

Command

Set the WEP Key Length to 40 bits

set interface wlan0 wep-key-length 40

Set the WEP Key Length to 104
bits

set interface wlan0 wep-key-length 128

Table 12. Key Type Commands

Function

Command

Set the Key Type to ASCII

set interface wlan0 wep-key-ascii yes

Set the Key Type to Hex

set interface wlan0 wep-key-ascii no