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


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


Configuration Guide - IP Service

CloudEngine 12800 and 12800E V200R005C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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).
Recording Exchange Messages with a DHCP Relay Client

Recording Exchange Messages with a DHCP Relay Client

A DHCP relay agent can record information exchanged between DHCP servers and clients based on a specific option or sub-option in DHCP packets to facilitate fault location.

Usage Scenario

If a DHCP client cannot obtain an IP address properly, a DHCP relay agent can be configured to record the information exchanged between DHCP servers and DHCP clients to help locate the fault. Then, the DHCP relay agent records the information exchanged between the DHCP client and server based on the specified option code and sub-option code in DHCP packets.


  1. Run system-view

    The system view is displayed.

    • The cleared history records of information exchange cannot be restored. Exercise caution while running the reset dhcp relay client-info command.

  2. (Optional) Run reset dhcp relay client-info [ interface interface-type interface-number [ pevlan pevlan-id [ end-pevlan-id ] [ cevlan cevlan-id [ end-cevlan-id ] ] ] | mac-address mac-address | option option-value ]

    The history records of exchanges between the DHCP client and server over the DHCP relay agent have been cleared.

  3. Run dhcp relay client-info option option-code [ sub-option sub-option-code ]

    The DHCP relay agent has been configured to specify the DHCP packets to recorded.

    By default, a DHCP relay agent does not record any DHCP packet.

  4. Run commit

    The configuration is committed.

Updated: 2019-04-18

Document ID: EDOC1100039535

Views: 38747

Downloads: 24

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