< Home

(Optional) Adjusting VAP Parameters

Context

You can flexibly adjust VAP parameters to adapt to different network requirements.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run vap-profile name profile-name

    The VAP profile view is displayed.

  4. Adjust VAP parameters.

    Procedure

    Command

    Description

    Enable the service mode of a VAP

    undo service-mode disable

    By default, the service mode of a VAP is enabled.

    Enabling the service mode of a VAP is the prerequisite for normal VAP working.

    Configure an AP to insert the Option 82 field in DHCP packets sent from a STA

    Enable an AP to insert the Option 82 field in DHCP packets sent from a STA

    dhcp option82 insert enable

    By default, the function of adding the Option 82 field to DHCP packets sent by STAs is disabled.

    A STA obtains an IP address through DHCP after going online. When the DHCP Request packet sent by the STA reaches an AP, the AP inserts the Option 82 field in the packet to send the AP's MAC address, SSID or name to the DHCP server. According to the Option 82 field, the DHCP server can determine the AP through which the STA goes online.

    Configure the format of the Option 82 field inserted in DHCP packets sent from a STA

    dhcp option82 { circuit-id | remote-id } format { ap-mac [ mac-format { normal | compact | hex } ] | ap-mac-ssid [ mac-format { normal | compact } ] | user-defined text | ap-name | ap-name-ssid }

    By default, the format of the Option 82 field inserted in DHCP packets sent by STAs is ap-mac.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >