< Home

Configuring the Option 12 Field Carried in DHCP Packets Sent by APs

Context

After an AP (DHCP client) obtains an IP address through DHCP, this function enables the DHCP Discover and DHCP Request packets sent by the AP to carry the Option 12 field. The Option 12 field can contain the AP type, MAC address or the AP name. After the AP obtains an IP address through DHCP, you can check information about the AP with this IP address on the DHCP server that supports display of DHCP client host information.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run ap-system-profile name profile-name

    An AP system profile is created, and the AP system profile view is displayed.

    By default, the system provides the AP system profile default.

  4. Run dhcp client option12 { ap-name | ap-type ap-mac }

    AP information in the Option 12 field carried in the DHCP packets sent by APs is configured.

    By default, the Option 12 field carried in DHCP packets sent by an AP contains the AP type and MAC address.

  5. Run quit

    Return to the WLAN view.

  6. Bind an AP system profile to an AP group or AP.

    • Binding an AP system profile to an AP group.
      1. Run the ap-group name group-name command to enter the AP group view.
      2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP group.

        By default, the AP system profile default is bound to an AP group.

    • Binding an AP system profile to an AP.
      1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
      2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP.

        By default, no AP system profile is bound to an AP.

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