The dhcp client option12 command enables or disables DHCP packets sent by APs to carry the Option 12 field and specifies AP information contained in the Option 12 field.
The undo dhcp client option12 command restores the default AP information in the Option 12 field carried in DHCP packets sent by APs.
By default, the Option 12 field carried in DHCP packets sent by an AP contains the AP type and MAC address.
Parameter | Description | Value |
---|---|---|
ap-name | Enables DHCP packets sent by APs to carry the Option 12 field that contains the AP name. | - |
disable | Disables DHCP packets sent by APs from carrying the Option 12 field. | - |
Usage Scenario
After an AP (DHCP client) obtains an IP address through DHCP, this function enables the DHCP Discover and DHCP Request packets sent by the AP to carry the Option 12 field. The Option 12 field can contain the AP type, MAC address or the AP name. After the AP obtains an IP address through DHCP, you can check information about the AP with this IP address on the DHCP server that supports display of DHCP client host information.
Precautions
This function is valid only for the APs that obtain IP addresses through DHCP.