The capwap source interface command configures the interface used by the AC to set up a CAPWAP tunnel as the AC's source interface.
The undo capwap source interface command disables the AC from using the interface to set up a CAPWAP tunnel as the source interface.
By default, the AC's source interface is not configured.
capwap source interface { loopback loopback-number | vlanif vlan-id }
undo capwap source interface { loopback loopback-number | vlanif vlan-id }
Parameter |
Description |
Value |
---|---|---|
loopback loopback-number |
Configures a loopback interface as the source interface. |
The value is an integer that ranges from 0 to 1023. |
vlanif vlan-id |
Configures a VLANIF interface as the source interface. |
The value is an integer that ranges from 1 to 4094. |
Usage Scenario
An AC uses the IP address of the specified interface as the source IP address. All access devices connected to the AC can learn this IP address and use the IP address to communicate with the AC.
Prerequisites
An IP address has been assigned to the specified loopback or VLANIF interface.
Precautions
You can configure multiple source interfaces. The total number of source interfaces cannot exceed 8.
Only one source interface can be configured if the SVF function is enabled.
Configure multiple source interfaces. When the source interfaces are added to different VPN instances, the IP addresses of these interfaces cannot be the same.
When multiple source interfaces are configured, ensure that the management VLAN for APs is within the VLAN range mapping the source interfaces. Otherwise, APs cannot go online.
Changing configuration of the source interface will clear statistics of the CAPWAP packets in CPU attack defense.