The display dhcp relay client-info command displays the history records of information exchange between a DHCP client and a DHCP server over a DHCP relay agent.
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. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display dhcp relay client-info ---------------------------------------------------------- Table index: 1 Table create time: 2018-03-10 09:08:18 Table status: success Interface: GigabitEthernet0/1/1.1 PE VLAN: 100 CE VLAN: - MAC address: 0100-0000-0000 Option: 01 00 00 00 ---------------------------------------------------------- Table index: 2 Table create time: 2018-03-10 09:08:18 Table status: success Interface: GigabitEthernet0/1/1.1 PE VLAN: 100 CE VLAN: - MAC address: 0200-0000-0000 Option: 02 00 00 00 ---------------------------------------------------------- total number: 2
Item | Description |
---|---|
Table index | Entry index. |
Table create time | Time when an entry is created. |
Table status | Entry status.
|
PE VLAN | Outer VLAN ID carried in DHCP packets. |
CE VLAN | Inner VLAN ID carried in DHCP packets. |
MAC address | MAC address of the DHCP client. |
total number | Total number of history records. |
Interface | Interface through which the DHCP client goes online. |
Option | Option code or sub-option code carried in DHCP packets. If no option code or sub-option code exists in DHCP packets, this item is displayed as "-". |