The ip-address command configures a static IPv4 address and gateway for an AP.
The undo ip-address command disables the AC from delivering this parameter setting to APs after the configuration is delivered using the commit command.
By default, no static IPv4 address and gateway are configured for an AP.
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the static IPv4 address for an AP. |
The value is in dotted decimal notation. |
mask |
Specifies the IPv4 address mask for an AP. |
The value is in dotted decimal notation. |
mask-length |
Specifies the IPv4 address mask length for an AP. |
The value is an integer that ranges from 0 to 32. |
gateway gateway |
Specifies the egress gateway for AP routes. |
The value is in dotted decimal notation. |
Usage Scenario
To configure an AP to go online using a specified IPv4 address, run the ip-address command to configure a static IPv4 address for the AP.
Prerequisites
The AP has been configured to obtain an IP address in static mode using the address-mode (AP provisioning view) command.
Follow-up Procedure
Run the commit command to deliver configuration to APs and restart the APs to make the configuration take effect.
Precautions
Ensure that there are reachable routes between the configured IPv4 address and the AC source address for an AP to go online. Otherwise, the AP may fail to go online.
CAPWAP packets between the central AP and RUs are forwarded at Layer 2 and are independent of IP addresses on an agile distributed WLAN. Therefore, the configuration of an IP address does not affect the RU going online. Ensure that a route is reachable between the IP address of the RU and the central AP source address. Otherwise, services involving IP addresses, for example, Telnet, may be affected.
If the AP and AC are connected through a Layer 3 network, the egress gateway for AP routes must be configured.