show system services dhcp client
Syntax
show system services dhcp client<interface-name><statistics>
Description
Display information about DHCP clients.
Options
none—Display DHCP information for all interfaces.
interface-name—(Optional) Display DHCP information for the specified interface.statistics—(Optional) Display DHCP client statistics.
Required Privilege Level
view and system
Output Fields
Table 1 lists the output
fields for the show system services dhcp client command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
|---|---|
|
Name of the logical interface. |
|
State of the client binding. |
|
Vendor ID. |
|
IP address of the DHCP server. |
|
IP address obtained from the DHCP server. |
|
Date and time the lease was obtained. |
|
(EX Series switches only) Time the current lease expires in (seconds). |
|
Date and time the lease expires. |
|
|
|
|
|
|
|
|
Sample Output
show system services dhcp client
user@host> show system services dhcp client
Logical Interface name ge-0/0/34.0
Hardware address 00:1f:12:38:5f:e5
Client status bound
Address obtained 10.0.0.2
Update server disabled
Lease obtained at 2013-12-23 08:11:40 UTC
Lease expires in 93
Lease expires at 2013-12-23 08:13:20 UTC
DHCP options:
Name: server-identifier, Value: 10.0.0.1
Code: 1, Type: ip-address, Value: 255.255.255.0
Sample Output
show system services dhcp client ge-0/0/34.0
user@host> show system services dhcp client ge-0/0/34.0
Logical Interface name ge-0/0/34.0
Hardware address 00:1f:12:38:5f:e5
Client status bound
Address obtained 10.0.0.2
Update server disabled
Lease obtained at 2013-12-23 08:11:40 UTC
Lease expires in 87
Lease expires at 2013-12-23 08:13:20 UTC
DHCP options:
Name: server-identifier, Value: 10.0.0.1
Code: 1, Type: ip-address, Value: 255.255.255.0
Sample Output
show system services dhcp client statistics
user@host> show system services dhcp client statistics
Packets dropped:
Total 0
Messages received:
DHCPOFFER 0
DHCPACK 8
DHCPNAK 0
Messages sent:
DHCPDECLINE 0
DHCPDISCOVER 0
DHCPREQUEST 1
DHCPINFORM 0
DHCPRELEASE 0
DHCPRENEW 7
DHCPREBIND 0
Release Information
Command introduced in Junos OS Release 8.5.
Command introduced in Junos OS Release 9.0 for EX Series switches.