The reset dhcp relay client-info command clears the history records of message exchange between the DHCP client and DHCP server over a DHCP relay.
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number |
Specifies an interface on a DHCP relay agent.
|
- |
pevlan pevlan-id |
Specifies the outer VLAN ID of the interface or the start value of the outer VLAN ID range. |
The value is an integer ranging from 1 to 4094. |
end-pevlan-id |
Specifies the end value of the outer VLAN ID range. |
The value is an integer ranging from 1 to 4094. The value of end-pevlan-id must be greater than the value of pevlan-id. |
cevlan cevlan-id |
Specifies the inner VLAN ID of the interface or the start value of the inner VLAN ID range. |
The value is an integer ranging from 1 to 4094. |
end-cevlan-id |
Specifies the end value of the inner VLAN ID range. |
The value is an integer ranging from 1 to 4094. The value of end-cevlan-id must be greater than the value of cevlan-id. |
mac-address mac-address |
Specifies the MAC address of the DHCP client. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. |
option option-value |
Specifies the option value of a DHCP packet. |
The value is a string of 1 to 64 characters in hexadecimal notation. |
Usage Scenario
To collect statistics about the exchanges between a DHCP client and a DHCP server over a DHCP relay agent within a specified period of time, run the reset dhcp relay client-info command to clear history records on the DHCP relay agent and then run the display dhcp relay client-info command to view the desired statistics.
Precautions
The cleared history records of information exchange cannot be restored. Exercise caution while running the reset dhcp relay client-info command.