Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide, Cisco IOS XE 26.1.x

Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide, Cisco IOS XE 26.1.x

AP DHCP Option 82 support on FlexConnect local switching mode

Want to summarize with AI?

Log in

Describes AP DHCP Option 82 Support on FlexConnect Local Switching Mode.


AP DHCP Option 82 support on FlexConnect local switching mode is a DHCP relay feature that

  • provides additional information on the physical attachment of the client

  • enhances security while using DHCP for network address allocation, and

  • enables the AP to act as a DHCP relay agent to prevent DHCP client requests from unreliable sources.

DHCP Option 82 functionality

As a DHCP relay agent, the AP can add DHCP Option 82 information such as AP MAC, AP Name, and SSID to DHCP requests from clients before forwarding the requests to the DHCP server. Afterward, the DHCP servers can allocate IP addresses to wireless clients based on the data contained within DHCP Option 82.

Note

This feature is supported only in FlexConnect Local Switching mode.


Configure AP DHCP Option82 support

Enable DHCP Option82 support on access points to provide additional network information to DHCP servers.
DHCP Option82 allows access points to insert additional information such as AP MAC address, AP name, or SSID into DHCP requests from clients. This information helps DHCP servers make more informed decisions about IP address assignments and network policies.

Procedure

1.

Enter global configuration mode.

Example:

Device# configure terminal
2.

Enable configuration for the specified profile policy.

Example:

Device(config)# wireless profile policy policy-name

Example:

Device(config)# wireless profile policy policy-ap
3.

Shut down the profile policy.

Example:

Device(config-wireless-policy)# shutdown
4.

Configure the AP MAC address or the AP name format to be added to DHCP requests from clients before forwarding them to the DHCP server.

Example:

Device(config-wireless-policy)# ipv4 dhcp opt82 format apmac|apname

Example:

Device(config-wireless-policy)# ipv4 dhcp opt82 format apmac

You can use either apmac or apname, but not both.

5.

Configure the unique SSID format to be added to DHCP requests from clients before forwarding them to the DHCP server.

Example:

Device(config-wireless-policy)# ipv4 dhcp opt82 format ssid
6.

Enable the profile policy.

Example:

Device(config-wireless-policy)# no shutdown
DHCP Option82 support is now configured on the access point policy, allowing the AP to insert additional network information into DHCP requests from connected clients.

Verify AP DHCP Option82 support

Verify the configured parameters for DHCP Option82 using commands on the AP console and controller to confirm the configuration status and settings.

To verify the configured parameters for DHCP Option82, use this command on the AP console:

Note

You can fetch information about the WLAN and WLAN ID using the show flexconnect WLAN command.

Device# show flexconnect dhcp option-82 wlan 1

DHCP OPTION 82 CONFIG FOR WLAN:
VAP ID      :0
Format      :Binary
Delimiter   :":"
Circuit-ID  :
Remote-ID   :
    AP Name
    SSID-Name

To verify whether DHCP Option82 is enabled on the controller, use this command:

Device# show wireless profile policy detailed

Opt82
  SSID                     : ENABLED
  AP_ETHMAC                : DISABLED
  APNAME                   : ENABLED