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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
display dhcp option82 configuration

display dhcp option82 configuration

Function

The display dhcp option82 configuration command displays the DHCP Option 82 configuration.

Format

display dhcp option82 configuration [ vlan vlan-id | interface interface-type interface-number ]

Parameters

Parameter

Description

Value

vlan vlan-id

Displays the DHCP Option 82 configuration in a specified VLAN.

The value is an integer that ranges from 1 to 4094.

interface interface-type interface-number

Displays the DHCP Option 82 configuration on a specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The Option 82 field records the location of a DHCP client. A device inserts the Option 82 field to a DHCP Request message to notify the DHCP server of the DHCP client location. The DHCP server can properly assign an IP address and other configurations to the DHCP client, ensuring DHCP client security.

After the Option 82 field is inserted to a DHCP message, run the display dhcp option82 configuration command to display the DHCP Option 82 configuration.

Example

# Display all the DHCP Option82 configurations.

<Huawei> display dhcp option82 configuration
#                                                                               
dhcp option82 vendor-specific format vendor-sub-option 1 ascii 22               
#                                                                               
interface GigabitEthernet0/0/1                                                 
 dhcp option82 subscriber-id format ascii 222                                   
 dhcp option82 insert enable                                                    
 dhcp option82 encapsulation circuit-id                                 
 dhcp option82 circuit-id format common                                         
# 
Table 26-86  Description of the display dhcp option82 configuration command output

Item

Description

interface ifn

Option 82 configuration on interface ifn.

dhcp option82 vendor-specific format vendor-sub-option i ascii text1

The Sub9 is inserted into the Option 82 field of DHCP messages.

To specify the parameter, run the dhcp option82 vendor-specific format command.

dhcp option82 subscriber-id format ascii text2

The Sub6 suboption is inserted into the Option 82 field of DHCP messages.

To specify the parameter, run the dhcp option82 subscriber-id format command.

dhcp option82 insert enable

The function of inserting Option 82 to DHCP messages is enabled and the insertion method is configured:

  • dhcp option82 rebuild enable: Rebuild mode
  • dhcp option82 insert enable: Insert mode

To specify the parameter, run the dhcp option82 enable command.

dhcp option82 encapsulation circuit-id The suboption inserted into the Option 82 field of DHCP messages is configured.

To specify the parameter, run the dhcp option82 encapsulation command.

dhcp option82 circuit-id format common Format of the circuit-id suboption.

To specify the parameter, run the dhcp option82 format command.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 201706

Downloads: 122

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