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.
Specify a VLANIF interface.
The system view is displayed.
Run vlan vlan-id
A VLAN is created, and the VLAN view is displayed.
The created VLAN is a management VLAN.
Return to the system view.
Run interface vlanif vlan-id
A VLANIF interface is created, and the VLANIF interface view is displayed.
Run ip address ip-address { mask | mask-length }
An IP address and a subnet mask are configured for the VLANIF interface.
Run quit
Return to the system view.
Run the capwap source interface vlanif vlan-id command to specify a VLANIF interface as the source interface.
Specify a loopback interface.
Run system-view
The system view is displayed.
Run interface loopback loopback-number
A loopback interface is created, and the loopback interface view is displayed.
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.
Run quit
Return to the system view.
Run the capwap source interface loopback loopback-number command to specify a loopback interface as the source interface.