No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
dhcp client option12

dhcp client option12

Function

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.

Format

dhcp client option12 { ap-name | ap-type ap-mac | disable }

undo dhcp client option12

Parameters

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. -

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the AP name contained in the Option 12 field carried in DHCP packets sent by APs.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap-system-profile name ap-system1
[HUAWEI-wlan-ap-system-prof-ap-system1] dhcp client option12 ap-name
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 114552

Downloads: 83

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next