Provides instructions for configuring an internal DHCP server to automatically assign IP addresses to wireless clients. It includes steps for adjusting DHCP settings within a wireless policy profile using both the web interface and CLI commands. The configuration covers setting up centralized DHCP services, defining network pools, exclusions, and static IP reservations. Additionally, it outlines commands for verifying the DHCP configuration, including client binding checks and analyzing DHCP relay and packet punt statistics.
Configure the internal DHCP server under client VLAN SVI (GUI)
This task configures the internal DHCP server settings for a client VLAN Switched Virtual Interface (SVI) to enable DHCP relay functionality.
Use this procedure when you need to set up DHCP relay on an SVI to forward DHCP requests to a designated helper address. This configuration is typically performed on network switches to enable DHCP services across VLANs.
Procedure
-
Choose .
-
Click an SVI.
-
Click the Advanced tab.
-
Under DHCP Relay settings, enter the IPV4 Helper Address.
-
Click Update & Apply to Device.
The internal DHCP server is configured under the client VLAN SVI with the specified helper address, enabling DHCP relay functionality for the selected SVI.
Configure the internal DHCP server under client VLAN SVI (CLI)
Before you begin
-
For wireless clients, only two DHCP servers are supported.
-
To use the internal DHCP server for both wireless and wired client VLAN, an IP address must be configured under the client VLAN SVI.
-
For wireless clients, the IP address of the internal DHCP server must be different from the address of the wireless client VLAN SVI (in the DHCP helper address configuration).
-
For wireless clients, the internal DHCP server can be configured under the client VLAN SVI or under the wireless policy profile.
Procedure
Configure the internal DHCP server under a wireless policy profile (GUI)
Configure DHCP settings to enable automatic IP address assignment for wireless clients connected to the network under a specific policy profile.
Use this procedure when you need to set up internal DHCP server functionality within a wireless policy profile to provide IP address allocation for connected wireless devices.
Procedure
-
Choose .
-
Click a policy name.
-
Click the Advanced tab.
-
Under DHCP settings, check or uncheck the IPv4 DHCP Required check box and enter the DHCP Server IP Address.
-
Click Update & Apply to Device.
The internal DHCP server is configured under the wireless policy profile and the settings are applied to the device.
Configure the internal DHCP server under a wireless policy profile (CLI)
Procedure
Configure the internal DHCP server globally (GUI)
Configure a DHCP pool to enable automatic IP address assignment for network devices through the internal DHCP server.
Use this procedure when you need to set up centralized IP address management for your network infrastructure using the GUI interface.
Procedure
The DHCP pool is created and applied to the device, enabling automatic IP address assignment within the specified range.
Configure the internal DHCP server globally (CLI)
Procedure
Configure IP reservations in the internal DHCP server (CLI)
Procedure
Verify internal DHCP configuration
Verify internal DHCP configuration using specific show commands to check client binding, DHCP relay statistics for wireless clients, and DHCP packet punt statistics.
Client binding verification
To verify client binding, use this command:
Device# show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type State Interface
Hardware address/
User name
192.168.32.3 0130.b49e.491a.53 Mar 23 2018 06:42 PM Automatic Active Loopback0
DHCP relay statistics verification
To verify the DHCP relay statistics for a wireless client, use this command:
Device# show wireless dhcp relay statistics
DHCP Relay Statistics
---------------------
DHCP Server IP : 10.10.10.1
Message Count
--------------------------
DHCPDISCOVER : 1
BOOTP FORWARD : 137
BOOTP REPLY : 0
DHCPOFFER : 0
DHCPREQUEST : 54
DHCPACK : 0
DHCPNAK : 0
DHCPDECLINE : 0
DHCPRELEASE : 0
DHCPINFORM : 82
Tx/Rx Time :
------------
LastTxTime : 18:42:18
LastRxTime : 00:00:00
Drop Counter :
-------------
TxDropCount : 0
DHCP packet punt statistics verification
To verify the DHCP packet punt statistics in CPP, use this command:
Device# show platform hardware chassis active qfp feature wireless punt statistics
CPP Wireless Punt stats:
App Tag Packet Count
------- ------------
CAPWAP_PKT_TYPE_DOT11_PROBE_REQ 14442
CAPWAP_PKT_TYPE_DOT11_MGMT 50
CAPWAP_PKT_TYPE_DOT11_IAPP 9447
CAPWAP_PKT_TYPE_DOT11_RFID 0
CAPWAP_PKT_TYPE_DOT11_RRM 0
CAPWAP_PKT_TYPE_DOT11_DOT1X 0
CAPWAP_PKT_TYPE_CAPWAP_KEEPALIVE 2191
CAPWAP_PKT_TYPE_MOBILITY_KEEPALIVE 0
CAPWAP_PKT_TYPE_CAPWAP_CNTRL 7034
CAPWAP_PKT_TYPE_CAPWAP_DATA 0
CAPWAP_PKT_TYPE_MOBILITY_CNTRL 0
WLS_SMD_WEBAUTH 0
SISF_PKT_TYPE_ARP 5292
SISF_PKT_TYPE_DHCP 140
SISF_PKT_TYPE_DHCP6 1213
SISF_PKT_TYPE_IPV6_ND 350
SISF_PKT_TYPE_DATA_GLEAN 44
SISF_PKT_TYPE_DATA_GLEAN_V6 51
SISF_PKT_TYPE_DHCP_RELAY 122
CAPWAP_PKT_TYPE_CAPWAP_RESERVED 0