Create Wlan using telnet

Created: Nov 15, 2019 03:39:03Latest reply: Nov 15, 2019 06:09:06 186 2 0 0
  Hi-coins as reward: 1 (problem unresolved)

does anyone know here how to create a WLAN on HG8245H router using telnet only

im trying to use the set wlan basic, but im not sure if this is the right command for that, or my parameter we're just missing something this is the command i try to use

> set wlan basic laninst 1 wlaninst 3 ssid SomeWifiName enable 1 associatenum 32 ssidhide 1 wmmenable 1


thanks if someone who could help


  • x
  • convention:

Featured Answers
GongXiaochuan
Created Nov 15, 2019 06:09:06 Helpful(0) Helpful(0)

 hi, refer to below guide


set wlan basic


Function

This command is used to set the basic parameters of WLAN, the commonly used include the interface energy, interface name, interface authentication type, the interface is empty hide, etc...

Format

set wlan basic laninst laninstid wlaninst wlaninstid [ enable enable | regdomain regdomain | power power | channel channel | autochannel autochannel | ht20 ht20 | ssid ssid | ssidhide ssidhide | rate rate | wmmenable wmmenable | beaconType beaconType | basicencryptionmodes basicencryptionmodes | basicauthenticationmode basicauthenticationmode | wpaencryptionmodes wpaencryptionmodes | wpaauthenticationmode wpaauthenticationmode | ieee11iencryptionmodes ieee11iencryptionmodes | ieee11iauthenticationmode ieee11iauthenticationmode | wepkeyindex wepkeyindex | wepencryptionlevel wepencryptionlevel | radiuserver radiuserver | radiusport radiusport | radiuskey radiuskey  | grouprekey grouprekey  | associatenum associatenum  | powerlevel powerlevel  | wpskeyword wpskeyword  | serviceenable serviceenable  | retrytimeout retrytimeout  | wpaandieee11iencryptionmodes wpaandieee11iencryptionmodes | wpaandieee11iauthenticationmode wpaandieee11iauthenticationmode | hwstandard hwstandard | bindingmode bindingmode | bindingvlan bindingvlan | lowerlayers lowerlayers ]*

Parameters

[tr]Parameter
Description
Value
[/tr]
laninstid
Indicates the instance ID of the LAN device node.
Numeral type. Value: 1.
wlaninstid
Indicates the instance ID of the WLAN configuration node, mapping the SSID.
Integer type. Range: 1-4.
enable
Enables or disables the SSID.
Integer type. Value: 0–1.
regdomain
Indicates the region code.
Character string type, a string of 1–3 characters.
power
Indicates the level of the current transmit power.
Numeral type. Range: 20, 40, 60, 80, 100.
channel
Indicates the channel to which the WLAN module belongs.
Integer type. Value: 0–255.
autochannel
Enables or disables automatic channel selection.
Integer type. Value: 0–1.
ht20
Indicates the channel bandwidth.
Integer type. Value: 0–3.
ssid
Indicates the service set identifier (SSID).
Character string type, a string of 1–32 characters.
ssidhide
Hides or unhides the SSID.
Integer type. Value: 0–1.
rate
Indicates the maximum bandwidth (unit: Mbit/s).
Character string type, a string of 1–4 characters.
wmmenable
Enables or disables Wi-Fi multimedia (WMM).
Integer type. Value: 0–1.
beaconType
Indicates the encryption mode.
Character string type, a string of 1–32 characters.
basicencryptionmodes
Indicates the basic encryption mode.
Character string type, a string of 1–32 characters.
basicauthenticationmode
Indicates the basic authentication mode.
Character string type, a string of 1–32 characters.
wpaencryptionmodes
Indicates the WPA encryption mode.
Character string type, a string of 1–32 characters.
wpaauthenticationmode
Indicates the WPA authentication mode.
Character string type, a string of 1–32 characters.
ieee11iencryptionmodes
Indicates the IEEE11i encryption mode.
Character string type, a string of 1–32 characters.
ieee11iauthenticationmode
Indicates the IEEE11i authentication mode.
Character string type, a string of 1–32 characters.
wepkeyindex
Indicates the default WEP key index.
Integer type. Value: 1–4.
wepencryptionlevel
Indicates the length of the WEP key.
Numeral type. Range: 40–bit, 104–bit.
radiuserver
Indicates the RADIUS server address.
Character string type, a string of 1–32 characters.
radiusport
Indicates the RADIUS server port.
Integer type. Value: 0–65535.
radiuskey
Indicates the RADIUS server key.
Character string type, a string of 0–64 characters.
grouprekey
Indicates the key renew period.
Integer type. Value: 600–86400.
associatenum
Indicates the number of access users.
Integer type. Value: 1–32.
powerlevel
Indicates the power level of the RF module.
Integer type. Value: 1–5.
wpskeyword
Indicates the key WPS word.
Integer type. Value: 0–128.
serviceenable
Enables the SSID service.
Integer type. Value: 0–1.
retrytimeout
Indicates the longest interval of timeout retransmission.
Integer type. Value: 0–32.
wpaandieee11iencryptionmodes
Indicates the encryption mode with hybrid authentication.
Character string type, a string of 1–32 characters.
wpaandieee11iauthenticationmode
Indicates the authentication mode.
Character string type, a string of 1–32 characters.
hwstandard
Indicates the IEEE 802.11 mode.
Character string type, a string of 1–16 characters.
bindingmode
Indicates thee bind mode of service.
Integer type. Value: 0–1.
bindingvlan
Indicates the bind VLAN of service.
Character string type, a string of 0–128 characters.
lowerlayers
Indicates the LowerLayers.
Character string type, a string of 0–1024 characters.

Modes

SU mode

Level

Administrator level

Usage Guidelines

None

Example

To set the SSID1 enable switch to 1, do as follows:
SU_WAP>set wlan basic laninst 1 wlaninst 1 enable 1success!
SU_WAP>
System Response

  • The system displays "success!" when the command is executed successfully.
  • For more information about the error message that the system displays against a command entered with incorrect syntax, refer to Error Command.
  • x
  • convention:

All Answers
liqiang185
liqiang185 Admin Created Nov 15, 2019 03:56:30 Helpful(0) Helpful(0)

For details, see the following link. The prerequisite is that you need to enable the remote Telnet function.
https://support.huawei.com/enterprise/en/doc/EDOC1100009119/c8b697c6/configuring-the-service-by-using-u2560
  • x
  • convention:

GongXiaochuan
GongXiaochuan Created Nov 15, 2019 06:09:06 Helpful(0) Helpful(0)

 hi, refer to below guide


set wlan basic


Function

This command is used to set the basic parameters of WLAN, the commonly used include the interface energy, interface name, interface authentication type, the interface is empty hide, etc...

Format

set wlan basic laninst laninstid wlaninst wlaninstid [ enable enable | regdomain regdomain | power power | channel channel | autochannel autochannel | ht20 ht20 | ssid ssid | ssidhide ssidhide | rate rate | wmmenable wmmenable | beaconType beaconType | basicencryptionmodes basicencryptionmodes | basicauthenticationmode basicauthenticationmode | wpaencryptionmodes wpaencryptionmodes | wpaauthenticationmode wpaauthenticationmode | ieee11iencryptionmodes ieee11iencryptionmodes | ieee11iauthenticationmode ieee11iauthenticationmode | wepkeyindex wepkeyindex | wepencryptionlevel wepencryptionlevel | radiuserver radiuserver | radiusport radiusport | radiuskey radiuskey  | grouprekey grouprekey  | associatenum associatenum  | powerlevel powerlevel  | wpskeyword wpskeyword  | serviceenable serviceenable  | retrytimeout retrytimeout  | wpaandieee11iencryptionmodes wpaandieee11iencryptionmodes | wpaandieee11iauthenticationmode wpaandieee11iauthenticationmode | hwstandard hwstandard | bindingmode bindingmode | bindingvlan bindingvlan | lowerlayers lowerlayers ]*

Parameters

[tr]Parameter
Description
Value
[/tr]
laninstid
Indicates the instance ID of the LAN device node.
Numeral type. Value: 1.
wlaninstid
Indicates the instance ID of the WLAN configuration node, mapping the SSID.
Integer type. Range: 1-4.
enable
Enables or disables the SSID.
Integer type. Value: 0–1.
regdomain
Indicates the region code.
Character string type, a string of 1–3 characters.
power
Indicates the level of the current transmit power.
Numeral type. Range: 20, 40, 60, 80, 100.
channel
Indicates the channel to which the WLAN module belongs.
Integer type. Value: 0–255.
autochannel
Enables or disables automatic channel selection.
Integer type. Value: 0–1.
ht20
Indicates the channel bandwidth.
Integer type. Value: 0–3.
ssid
Indicates the service set identifier (SSID).
Character string type, a string of 1–32 characters.
ssidhide
Hides or unhides the SSID.
Integer type. Value: 0–1.
rate
Indicates the maximum bandwidth (unit: Mbit/s).
Character string type, a string of 1–4 characters.
wmmenable
Enables or disables Wi-Fi multimedia (WMM).
Integer type. Value: 0–1.
beaconType
Indicates the encryption mode.
Character string type, a string of 1–32 characters.
basicencryptionmodes
Indicates the basic encryption mode.
Character string type, a string of 1–32 characters.
basicauthenticationmode
Indicates the basic authentication mode.
Character string type, a string of 1–32 characters.
wpaencryptionmodes
Indicates the WPA encryption mode.
Character string type, a string of 1–32 characters.
wpaauthenticationmode
Indicates the WPA authentication mode.
Character string type, a string of 1–32 characters.
ieee11iencryptionmodes
Indicates the IEEE11i encryption mode.
Character string type, a string of 1–32 characters.
ieee11iauthenticationmode
Indicates the IEEE11i authentication mode.
Character string type, a string of 1–32 characters.
wepkeyindex
Indicates the default WEP key index.
Integer type. Value: 1–4.
wepencryptionlevel
Indicates the length of the WEP key.
Numeral type. Range: 40–bit, 104–bit.
radiuserver
Indicates the RADIUS server address.
Character string type, a string of 1–32 characters.
radiusport
Indicates the RADIUS server port.
Integer type. Value: 0–65535.
radiuskey
Indicates the RADIUS server key.
Character string type, a string of 0–64 characters.
grouprekey
Indicates the key renew period.
Integer type. Value: 600–86400.
associatenum
Indicates the number of access users.
Integer type. Value: 1–32.
powerlevel
Indicates the power level of the RF module.
Integer type. Value: 1–5.
wpskeyword
Indicates the key WPS word.
Integer type. Value: 0–128.
serviceenable
Enables the SSID service.
Integer type. Value: 0–1.
retrytimeout
Indicates the longest interval of timeout retransmission.
Integer type. Value: 0–32.
wpaandieee11iencryptionmodes
Indicates the encryption mode with hybrid authentication.
Character string type, a string of 1–32 characters.
wpaandieee11iauthenticationmode
Indicates the authentication mode.
Character string type, a string of 1–32 characters.
hwstandard
Indicates the IEEE 802.11 mode.
Character string type, a string of 1–16 characters.
bindingmode
Indicates thee bind mode of service.
Integer type. Value: 0–1.
bindingvlan
Indicates the bind VLAN of service.
Character string type, a string of 0–128 characters.
lowerlayers
Indicates the LowerLayers.
Character string type, a string of 0–1024 characters.

Modes

SU mode

Level

Administrator level

Usage Guidelines

None

Example

To set the SSID1 enable switch to 1, do as follows:
SU_WAP>set wlan basic laninst 1 wlaninst 1 enable 1success!
SU_WAP>
System Response

  • The system displays "success!" when the command is executed successfully.
  • For more information about the error message that the system displays against a command entered with incorrect syntax, refer to Error Command.
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login