< Home

Configuring a Source Interface

You need to specify at least one VLANIF interface, or loopback interface. In this manner, APs managed by an AC can learn the IP address of the specified interface to set up a CAPWAP tunnel with the AC. This interface is called the source interface.

  • VLANIF interface: applies to the scenario where the APs that associate with the AC belong to the same management VLAN.
  • Loopback interface: applies to the scenario where the APs that associate with the AC belong to different management VLANs. When the APs belong to multiple management VLANs, the AC must have multiple VLANIF interfaces configured. If one of the VLANIF interfaces is specified as the source interface, all the APs cannot go online when the source interface fails. A loopback interface remains Up after being created. When a loopback interface is used as the source interface and a VLANIF interface becomes faulty, only the AP that connects to the VLANIF interface cannot go online.
  • Configure an IPv4 source interface.

    • Specify a VLANIF interface.

      1. Run system-view

        The system view is displayed.

      2. Run vlan vlan-id

        A VLAN is created, and the VLAN view is displayed.

        The created VLAN is a management VLAN.

      3. Run quit

        Return to the system view.

      4. Run interface vlanif vlan-id

        A VLANIF interface is created, and the VLANIF interface view is displayed.

      5. Run ip address ip-address { mask | mask-length }

        An IP address and a subnet mask are configured for the VLANIF interface.

      6. Run quit

        Return to the system view.

      7. Run the capwap source interface vlanif vlan-id command to specify a VLANIF interface as the source interface.

    • Specify a loopback interface.

      1. Run system-view

        The system view is displayed.

      2. Run interface loopback loopback-number

        A loopback interface is created, and the loopback interface view is displayed.

      3. Run ip address ip-address { mask | mask-length }

        An IP address and a subnet mask are configured for the loopback interface.

        The IP address of a loopback interface must use a 32-bit mask.

      4. Run quit

        Return to the system view.

      5. Run the capwap source interface loopback loopback-number command to specify a loopback interface as the source interface.

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