< Home

Configuring LLDP on an AP

Context

The Link Layer Discovery Protocol (LLDP) helps the NMS obtain detailed Layer 2 information, such as the network topology, device interface status, and management address.

After LLDP is configured on an AP, the AP can send LLDP packets carrying local system status information to directly connected neighbors and parse LLDP packets received from neighbors.

To enable an AP to discover neighbors, enable LLDP on the AP and access device to which the AP directly connects.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run ap lldp enable

    LLDP is enabled in the WLAN view.

    By default, LLDP is enabled in the WLAN view.

    An AP can send and receive LLDP packets only after LLDP is enabled in both the WLAN view and the AP wired port link profile view.

  4. (Optional) Configure LLDP in the AP wired port link profile view.
    1. Run the port-link-profile name profile-name command to create an AP wired port link profile and enter the AP wired port link profile view.

      By default, the system provides the AP wired port link profile default.

    2. Run the lldp enable command to enable LLDP on an AP wired port.

      By default, LLDP is enabled on an AP's wired interface.

      An AP can send and receive LLDP packets only after LLDP is enabled in both the WLAN view and the AP wired port link profile view.

    3. Run the lldp tlv-enable basic-tlv { all | management-address | port-description | system-capability | system-description | system-name } command to specify the types of TLVs that can be advertised from an AP's wired port.

      By default, an AP wired interface advertises all types of TLVs.

    4. Run the quit to return to the WLAN view.
    5. Run the wired-port-profile name profile-name command to create an AP wired port profile and enter the AP wired port profile view.

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

    6. Run the port-link-profile profile-name command to bind the AP wired port link profile to an AP wired port profile.

      By default, the AP wired port link profile default is bound to an AP wired port profile.

    7. Run the quit to return to the WLAN view.
  5. Configure LLDP in the WLAN view.
    1. Run the ap-system-profile name profile-name command to create an AP system profile and enter the AP system profile view.

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

    2. Run the lldp admin-status { rx | tx | txrx } command to configure the LLDP mode on the AP.

      By default, the LLDP operation mode of an AP is TxRx.

    3. (Optional) Run lldp restart-delay delay-time

      The delay in re-enabling LLDP on the AP is configured.

      By default, the delay in re-enabling LLDP on an AP is 2 seconds.

    4. (Optional) Run lldp message-transmission interval interval

      The interval at which the AP sends LLDP packets to neighbors is configured.

      The default LLDP packet transmission interval is 30 seconds.

    5. (Optional) Run lldp message-transmission delay delay

      The delay in sending LLDP packets to neighbors on the AP is configured.

      The default LLDP packet transmission delay is 2 seconds.

    6. (Optional) Run lldp message-transmission hold-multiplier hold

      The hold time multiplier of AP information on neighbors is configured.

      The default hold time multiplier is 4.

    7. Run the quit to return to the WLAN view.
  6. Bind the AP system profile and AP wired port profile to an AP group or AP.

    • Binding the AP system profile and AP wired port 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.

      3. Run the wired-port-profile profile-name interface-type interface-number command to bind the AP wired port profile to the AP group.

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

    • Binding the AP system profile and AP wired port 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.

      3. Run the wired-port-profile profile-name interface-type interface-number command to bind the AP wired port profile to the AP.

        By default, no AP wired port profile is bound to an AP.

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