show dhcp relay binding
Syntax
show dhcp relay binding
<address>
<brief>
<detail>
<interface interface-name>
<interfaces-vlan>
<interfaces-wildcard>
<ip-address | mac-address>
<logical-system logical-system-name>
<routing-instance routing-instance-name>
<summary>
Description
Display the address bindings in the Dynamic Host Configuration Protocol (DHCP) client table.
Options
address | (Optional) Display DHCP binding information for a specific client identified by one of the following entries:
|
brief | (Optional) Display
brief information about the active client bindings. This is the default,
and produces the same output as |
detail | (Optional) Display detailed client binding information. |
interface interface-name | (Optional) Perform this operation on the specified interface. You can optionally filter on VLAN ID and SVLAN ID. |
interfaces-vlan | (Optional) Show the binding state information on the interface VLAN ID and S-VLAN ID. |
interfaces-wildcard | (Optional) The set of interfaces on which to show binding state information. This option supports the use of the wildcard character (*). |
logical-system logical-system-name | (Optional) Perform this operation on the specified logical system. |
routing-instance routing-instance-name | (Optional) Perform this operation on the specified routing instance. |
summary | (Optional) Display a summary of DHCP client information. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show dhcp relay
binding
command. Output fields are listed in the approximate order
in which they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Summary counts of the total number of DHCP clients and the number of DHCP clients in each state. |
|
|
IP address of the DHCP client. |
|
|
Session ID of the subscriber session. |
|
|
Remote ID generated by the Option 82 Agent Remote ID (suboption 1) |
|
|
Hardware address of the DHCP client. |
|
|
Number of seconds in which the lease expires. |
|
|
State of the DHCP relay address binding table on the DHCP client:
|
|
|
Incoming client interface. |
brief |
|
Date and time at which the client’s IP address lease expires. |
detail |
|
Number of seconds in which the lease expires. |
detail |
|
Date and time at which the client’s IP address lease started. |
detail |
|
Lease time violation has occurred. |
detail |
|
Client’s incoming interface. |
detail |
|
IP address of the DHCP server. |
detail |
|
Interface of the DHCP server. |
detail |
|
IP address of BOOTP relay. |
detail |
|
Type of DHCP packet processing performed on the router:
|
All levels |
|
Date and time at which the client’s IP address lease expires. |
All levels |
|
Name of dual stack that is configured with the DHCP binding. |
detail |
|
Prefix of dual stack DHCPv6 peer. |
detail |
|
Address of the dual stack DHCPv6 peer. |
detail |
Sample Output
- show dhcp relay binding
- show dhcp relay binding detail
- show dhcp relay binding interface
- show dhcp relay binding interface vlan-id
- show dhcp relay binding interface svlan-id
- show dhcp relay binding ip-address
- show dhcp relay binding mac-address
- show dhcp relay binding session-id
- show dhcp relay binding <interfaces-vlan>
- show dhcp relay binding <interfaces-wildcard>
- show dhcp relay binding summary
show dhcp relay binding
user@host> show dhcp relay binding IP address Session Id Hardware address Expires State Interface 198.51.100.11 41 00:00:5e:00:53:01 86371 BOUND ge-1/0/0.0 198.51.100.12 42 00:00:5e:00:53:02 86371 BOUND ge-1/0/0.0 198.51.100.13 43 00:00:5e:00:53:03 86371 BOUND ge-1/0/0.0 198.51.100.14 44 00:00:5e:00:53:04 86371 BOUND ge-1/0/0.0 198.51.100.15 45 00:00:5e:00:53:05 86371 BOUND ge-1/0/0.0
show dhcp relay binding detail
user@host> show dhcp relay binding detail Client IP Address: 198.51.100.11 Hardware Address: 00:00:5e:00:53:01 State: BOUND(DHCP_RELAY_STATE_BOUND_ON_INTF_DELETE) Lease Expires: 2009-07-21 11:00:06 PDT Lease Expires in: 86361 seconds Lease Start: 2009-07-20 11:00:06 PDT Lease time violated: yes Last Packet Received: 2009–07–20 11:00:06 PDT Incoming Client Interface: ge-1/0/0.0 Server Ip Address: 198.51.100.22 Server Interface: none Bootp Relay Address: 198.51.100.32 Session Id: 41 Dual Stack Group: dual-stack-retail6 Dual Stack Peer Prefix: 2001:db8:0:4::/64 Dual Stack Peer Address: 2001:db8:1:0:8003::1/128 Client IP Address: 198.51.100.12 Hardware Address: 00:00:5e:00:53:02 State: BOUND(DHCP_RELAY_STATE_BOUND_ON_INTF_DELETE) Lease Expires: 2009-07-21 11:00:06 PDT Lease Expires in: 86361 seconds Lease Start: 2009-07-20 11:00:06 PDT Last Packet Received: 2009–07–20 11:00:06 PDT Incoming Client Interface: ge-1/0/0.0 Server Ip Address: 198.51.100.22 Server Interface: none Bootp Relay Address: 198.51.100.32 Session Id: 42 Generated Remote ID host:ge-1/0/0:100
show dhcp relay binding interface
user@host> show dhcp relay binding interface fe-0/0/2 IP address Hardware address Type Lease expires at 198.51.100.1 00:00:5e:00:53:01 active 2007-03-27 15:06:20 EDT
show dhcp relay binding interface vlan-id
user@host> show dhcp relay binding interface ge-1/1/0:100 IP address Session Id Hardware address Expires State Interface 198.51.100.15 6 00:00:5e:00:53:94 86124 BOUND ge-1/1/0:100
show dhcp relay binding interface svlan-id
user@host> show dhcp relay binding interface ge-1/1/0:10-100 IP address Session Id Hardware address Expires State Interface 198.51.100.16 7 00:00:5e:00:53:92 86124 BOUND ge-1/1/0:10-100
show dhcp relay binding ip-address
user@host> show dhcp relay binding 198.51.100.13 IP address Session Id Hardware address Expires State Interface 198.51.100.13 43 00:00:5e:00:53:03 86293 BOUND ge-1/0/0.0
show dhcp relay binding mac-address
user@host> show dhcp relay binding 00:00:5e:00:53:05 IP address Session Id Hardware address Expires State Interface 198.51.100.15 45 00:00:5e:00:53:05 86279 BOUND ge-1/0/0.0
show dhcp relay binding session-id
user@host> show dhcp relay binding 41 IP address Session Id Hardware address Expires State Interface 198.51.100.11 41 00:00:5e:00:53:53 86305 BOUND ge-1/0/0.0
show dhcp relay binding <interfaces-vlan>
user@host> show dhcp relay binding ge-1/0/0:100-200 IP address Session Id Hardware address Expires State Interface 192.168.0.17 42 00:00:5e:00:53:02 86346 BOUND ge-1/0/0.1073741827 192.168.0.16 41 00:00:5e:00:53:01 86346 BOUND ge-1/0/0.1073741827
show dhcp relay binding <interfaces-wildcard>
user@host> show dhcp relay binding ge-1/3/* IP address Session Id Hardware address Expires State Interface 192.168.0.9 24 00:00:5e:00:53:04 86361 BOUND ge-1/3/0.110 192.168.0.8 23 00:00:5e:00:53:03 86361 BOUND ge-1/3/0.110 192.168.0.7 22 00:00:5e:00:53:02 86361 BOUND ge-1/3/0.110
show dhcp relay binding summary
user@host> show dhcp relay binding summary 3 clients, (2 init, 1 bound, 0 selecting, 0 requesting, 0 renewing, 0 rebinding, 0 releasing)