show system services dhcp binding
Syntax
show system services dhcp binding <detail> <address>
Description
(EX Series switches only) Display Dynamic Host Configuration Protocol (DHCP) server client binding information.
Options
none | Display brief information about all active client bindings. |
detail | (Optional) Display detailed information about all active client bindings. |
address | (Optional) Display detailed client binding information for the specified IP address only. |
Required Privilege Level
view and system
Output Fields
Table 1 describes
the output fields for the show system services dhcp binding
command. Output fields are listed in the approximate order in
which they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
List of IP addresses the DHCP server has assigned to clients. |
All levels |
|
Corresponding media access control (MAC) hardware address of the client. |
All levels |
|
( |
All levels |
|
Type of binding assigned to the client. DHCP servers can assign a dynamic binding from a pool of IP addresses or a static binding to one or more specific IP addresses. |
All levels |
|
Time the lease expires or |
All levels |
|
( |
|
|
Status of the binding. Bindings can be active or expired. |
|
|
Address pool that contains the IP address assigned to the client. |
|
|
Interface on which the DHCP message exchange occurs. The IP address pool is configured based on the interface's IP address. If a relay agent is used, its IP address is also displayed. |
|
|
User-defined options created for the DHCP server. If no options have been defined, this field is blank. |
|
Sample Output
- show system services dhcp binding
- show system services dhcp binding address
- show system services dhcp binding address detail
show system services dhcp binding
user@host> show system services dhcp binding Allocated address MAC address Binding Type Lease expires at 192.168.1.2 00:a0:12:00:12:ab static never 192.168.1.3 00:a0:12:00:13:02 dynamic 2004-05-03 13:01:42 PDT
show system services dhcp binding address
user@host> show system services dhcp binding 192.168.1.3 DHCP binding information: Allocated address: 192.168.1.3 Mac address: 00:a0:12:00:12:ab Client identifier 61 63 65 64 2d 30 30 3a 61 30 3a 31 32 3a 30 30aced-00:a0:12:00 3a 31 33 3a 30 32:13:02 Lease information: Binding Type dynamic Obtained at 2004-05-02 13:01:42 PDT Expires at 2004-05-03 13:01:42 PDT
show system services dhcp binding address detail
user@host> show system services dhcp binding 192.168.1.3 detail DHCP binding information: Allocated address 192.168.1.3 MAC address 00:a0:12:00:12:ab Pool 192.168.1.0/24 Request received on fe-0/0/0, relayed by 192.168.4.254 Lease information: Type DHCP Obtained at 2004-05-02 13:01:42 PDT Expires at 2004-05-03 13:01:42 PDT State active DHCP options: Name: name-server, Value: { 6.6.6.6, 6.6.6.7 } Name: domain-name, Value: mydomain.tld Code: 19, Type: flag, Value: off Code: 40, Type: string, Value: domain.tld Code: 32, Type: ip-address, Value: 3.3.3.33
Release Information
Command introduced before Junos OS Release 7.4.