The display dhcp lease-proxy-table command displays lease proxy entries of DHCP users on an interface board.
This command is supported only on the NetEngine 8000 F1A.
display dhcp lease-proxy-table slot slot { mac-address mac-address [ interface { interface-name | interface-type interface-num } pevlan pe-vlan cevlan ce-vlan ] }
display dhcp lease-proxy-table slot slot { all | first-step }
display dhcp lease-proxy-table slot slot interface { interface-name | interface-type interface-num }
Parameter | Description | Value |
---|---|---|
slot slot |
Specifies a slot ID. |
The value is a string of 1 to 16 case-sensitive characters, spaces not supported. |
mac-address mac-address |
Specifies a MAC address. |
- |
interface interface-type |
Specifies the type of an interface. |
- |
interface-num |
Specifies the number of an interface. |
- |
pevlan pe-vlan |
Specifies the outer VLAN ID. |
The value is an integer ranging from 0 to 4094. |
cevlan ce-vlan |
Specifies the inner VLAN ID. |
The value is an integer ranging from 0 to 4094. |
all |
Display all DHCP access user information. |
- |
first-step |
Display brief information about lease proxy entries in the first step. |
- |
Usage Scenario
In DHCP user access scenarios, to query brief information about all lease proxy entries, detailed information about a specified entry, and relevant lease proxy entries, run the display dhcpa lease-proxy-table command, run the display ** dhcp lease-proxy-table ** command.
Precautions
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display dhcp lease-proxy-table slot 1 all LEASE-PROXY-TABLE-BRIEF(Total:"2"): --------------------------------------------------- MAC IP LEASE STATE --------------------------------------------------- 00e0-fc12-f229 10.1.1.7 600 WORKING 00eo-fc12-f673 10.1.1.6 600 WORKING ---------------------------------------------------
<HUAWEI> display dhcp lease-proxy-table slot 1 mac-address 00e0-fc12-f229 ------------------------------------------------------------ IP :1.1.1.7 Mask :255.255.255.0 GateWay :1.1.1.1 Giaddr :255.255.255.255 PeVlan :0 CeVlan :0 UserMac :00e0-fc12-f229 Vpn instance :hjh Lease-Proxy:600 LeaseTime :259200 ServerIp :1.1.1.1 Layer3ServerIp:0.0.0.0 State :WORKING LeaseProxyRenewCount:4 T1ReplyFlag:0 T2ReplyFlag :0 InvalidFlag:0 Interface :GigabitEthernet0/1/20 UserAccessTime :2019-05-21 08:04:57 OrigLeaseStart :2019-05-21 08:25:01 ProxyLeaseStart:2019-05-21 08:25:01 ------------------------------------------------------------
Item | Description |
---|---|
MAC | MAC address of a user. |
IP | IP address of a user. |
LEASE | Proxy lease, in seconds. |
STATE | User status.
|
Mask | IP address mask of a user. |
GateWay | Gateway address of a user. |
Giaddr | Giaddr·in·the·response·packet·sent·from·the·device·to·the·client. |
PeVlan | Outer VLAN ID. |
CeVlan | Inner VLAN ID. |
UserMac | MAC address of a user. |
Vpn instance | VPN Name. |
LeaseTime | Original lease, in seconds. |
ServerIp | IP addresses of a DHCP server. |
State | User state. |
T2ReplyFlag | This field is set to 1 when the client fails to renew the lease before the original T2 lease arrives and is set to 0 after a successful lease renewal from the server. |
Interface | Interface from which a user goes online. |
UserAccessTime | Time when the lease proxy table was created. |
OrigLeaseStart | Start time of the original lease. |
Total | Total number of lease proxy entries. |
Layer3ServerIp | Server IP address of the Layer 3 DHCP user. |
Lease-Proxy | Proxy lease, in seconds. |
ProxyLeaseStart | Start time of the proxy lease. |
LeaseProxyRenewCount | Number of lease renewal packets received by the device from the client. |
T1ReplyFlag | This field is set to 1 when the client fails to renew the lease before the original T1 lease arrives and is set to 0 after a successful lease renewal from the server. |
InvalidFlag | This field is set to 1 when the original remaining lease period is less than the sum of the proxy lease period and proxy lease period T1 and is set to 0 after a successful lease renewal from the server. The priority of this field is higher than that of T1ReplyFlag and T2ReplyFlag. |