-
show dhcp relay binding
-
<detail>
-
<interface interface-name>
- <ip-address | mac-address>
-
<logical-system logical-system-name>
-
<routing-instance routing-instance-name>
Command introduced in JUNOS Release 8.3.
interface and mac-address options added in JUNOS Release 8.4.
Display the address bindings in the Dynamic Host Configuration Protocol (DHCP) client table.
detail — (Optional) Display detailed client binding information.
interface interface-name — (Optional) Perform this operation on the specified interface.
ip-address — (Optional) IP address of the DHCP client.
mac-address — (Optional) MAC address of the DHCP client.
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.
view
Table 125 lists the output fields for the show dhcp relay binding command. Output fields are listed in the approximate order in which they appear.
Table 125: show dhcp relay binding Output Fields
user@host> show dhcp relay binding
10 clients, (10 bound, 0 selecting, 0 renewing, 0 rebinding) IP address Hardware address Type Lease expires at 100.20.0.152 00:10:95:01:00:01 active 2007-02-15 05:25:47 PST 100.20.0.153 00:10:95:01:00:02 active 2007-02-15 05:25:48 PST 100.20.0.154 00:10:95:01:00:03 active 2007-02-15 05:25:49 PST 100.20.0.155 00:10:95:01:00:04 active 2007-02-15 05:25:50 PST 100.20.0.156 00:10:95:01:00:05 active 2007-02-15 05:25:51 PST 100.20.0.157 00:10:95:01:00:06 active 2007-02-15 05:25:52 PST 100.20.0.158 00:10:95:01:00:07 active 2007-02-15 05:25:53 PST 100.20.0.159 00:10:95:01:00:08 active 2007-02-15 05:25:54 PST 100.20.0.160 00:10:95:01:00:09 active 2007-02-15 05:25:55 PST 100.20.0.161 00:10:95:01:00:0a active 2007-02-15 05:25:56 PST
user@host> show dhcp relay binding detail
10 clients, (10 bound, 0 selecting, 0 renewing, 0 rebinding) IP address Hardware address Type Lease expires State 100.20.0.152 00:10:95:01:00:01 active 2007-02-15 05:25:47 PST bound 100.20.0.153 00:10:95:01:00:02 active 2007-02-15 05:25:48 PST bound 100.20.0.154 00:10:95:01:00:03 active 2007-02-15 05:25:49 PST bound 100.20.0.155 00:10:95:01:00:04 active 2007-02-15 05:25:50 PST bound 100.20.0.156 00:10:95:01:00:05 active 2007-02-15 05:25:51 PST bound 100.20.0.157 00:10:95:01:00:06 active 2007-02-15 05:25:52 PST bound 100.20.0.158 00:10:95:01:00:07 active 2007-02-15 05:25:53 PST bound 100.20.0.159 00:10:95:01:00:08 active 2007-02-15 05:25:54 PST bound 100.20.0.160 00:10:95:01:00:09 active 2007-02-15 05:25:55 PST bound 100.20.0.161 00:10:95:01:00:0a active 2007-02-15 05:25:56 PST bound
user@host> show dhcp relay binding interface
fe-0/0/2
1 clients, (1 bound, 0 selecting, 0 renewing, 0 rebinding) IP address Hardware address Type Lease expires at 100.20.32.1 90:00:00:01:00:01 active 2007-03-27 15:06:20 EDT
user@host> show dhcp relay binding 100.20.4.138
Active binding information:
IP address 100.20.4.138
Hardware address 00:10:95:01:00:01
Lease information:
Type DHCP
Obtained at 2007-02-14 06:37:33 PST
Expires at 2007-02-15 06:37:33 PST
user@host> show dhcp relay binding 100.20.32.1
detail
Active binding information:
IP address 100.20.32.1
Hardware address 90:00:00:01:00:01
Request received on fe-0/0/2.0, relayed by 100.20.32.2
Lease information:
Type DHCP
Obtained at 2007-01-29 15:43:27 EST
Expires at 2007-01-29 15:53:27 EST
State rebind
user@host> show dhcp relay binding 90:00:00:01:00:01
Active binding information:
IP address 100.20.32.1
Hardware address 90:00:00:01:00:01
Lease information:
Type DHCP
Obtained at 2007-01-17 11:28:47 PST
Expires at 2007-01-17 11:38:47 PST