show dhcpv6 relay binding
Syntax
show dhcpv6 relay binding
<address>
<brief>
<detail>
<interface interface-name>
<interface-tag interface-tag-name>
<interfaces-vlan>
<interfaces-wildcard>
<logical-system logical-system-name>
<routing-instance routing-instance-name>
<summary>
Description
Display the DHCPv6 address bindings in the Dynamic Host Configuration Protocol (DHCP) client table.
Options
address |
(Optional) One of the following identifiers for the DHCPv6 client whose binding state you want to show:
|
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 S-VLAN ID. |
interface-tag interface-tag-name |
(Optional) Displays the binding information for the specified interface-tag. |
interfaces-vlan |
(Optional) Interface VLAN ID or S-VLAN ID interface on which to show binding state information. |
interfaces-wildcard |
(Optional) 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 DHCPv6 client information. |
Required Privilege Level
view
Output Fields
Table 1 lists the
output fields for the show dhcpv6 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 DHCPv6 clients and the number of DHCPv6 clients in each state. |
|
|
Prefix of the DHCPv6 client. |
|
|
IPv6 Prefix of the DHCP client excluded. |
|
|
DHCP for IPv6 Unique Identifier (DUID) of the client. |
|
|
IPv6 address assigned to the subscriber. |
|
|
Session ID of the subscriber session. |
|
|
Number of seconds in which the lease expires. |
|
|
State of the DHCPv6 relay address binding table on the DHCPv6 client:
|
|
|
Incoming client interface. |
|
|
Name of the Interface tag. |
detail |
|
Date and time at which the client’s IP address lease expires. |
|
|
Number of seconds in which the lease expires. |
|
|
Date and UTC time at which the client’s IPv6 prefix expires. |
|
|
Number of seconds at which the client’s IPv6 prefix expires. |
|
|
Date and time at which the client’s IP address lease started. |
|
|
Lease time violation has occurred. |
|
|
Client’s incoming interface. |
|
|
IP address of the DHCPv6 server. Displays |
|
|
Next-hop address in the direction of the DHCPv6 server. |
|
|
Interface of the DHCPv6 server. |
|
|
IP address of the relay. |
|
|
Address pool that granted the client lease. |
|
|
Length of client ID. |
All levels |
|
Client ID. |
All levels |
|
Circuit ID generated by the DHCPv6 Interface-ID option (option 18) |
|
|
The Juniper Networks IANA private enterprise number |
|
|
Remote ID generated by the DHCPv6 Remote-ID option (option 37) |
|
|
Name of the dual-stack group for the DHCPv6 binding. |
|
|
Address of the dual-stack DHCPv4 peer. |
|
Sample Output
- show dhcpv6 relay binding
- show dhcpv6 relay binding (Address)
- show dhcpv6 relay binding detail (Client ID)
- show dhcpv6 relay binding detail
- show dhcpv6 relay binding detail (Dual-Stack)
- show dhcpv6 relay binding detail (Multi-Relay Topology)
- show dhcpv6 relay binding (Session ID)
- show dhcpv6 relay binding (Subscriber with Multiple Addresses)
- show dhcpv6 relay binding detail (Subscriber with Multiple Addresses)
- show dhcpv6 relay binding (Interfaces VLAN)
- show dhcpv6 relay binding (Interfaces Wildcard)
- show dhcpv6 relay binding (Interfaces Wildcard)
- show dhcpv6 relay binding summary
- show dhcpv6 relay binding interface-tag <interface-tag-name>
show dhcpv6 relay binding
user@host> show dhcpv6 relay binding Prefix Session Id Expires State Interface Client DUID 2001:db8:3c4d:15::/64 1 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 2001:db8:3c4d:16::/64 2 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:02 2001:db8:3c4d:17::/64 3 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:03 2001:db8:3c4d:18::/64 4 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:04 2001:db8:3c4d:19::/64 5 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:05 2001:db8:3c4d:20::/64 6 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:06
show dhcpv6 relay binding (Address)
user@host> show dhcp6 relay binding 2001:db8:1111:2222::/64 detail Session Id: 1 Client IPv6 Prefix: 2001:db8:3c4d:15::/64 Client DUID: LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 State: BOUND(RELAY_STATE_BOUND) Lease Expires: 2011-05-25 07:12:09 PDT Lease Expires in: 77115 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-05-24 07:12:09 PDT Incoming Client Interface: ge-1/0/0.0 Interface tag: None Server Address: 2001:db8:aaaa:bbbb::1 Server Interface: none Relay Address: 2001:db8:1111:2222:: Client Pool Name: pool-25 Client Id Length: 14 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001
show dhcpv6 relay binding detail (Client ID)
user@host> show dhcpv6 relay binding 14/0x00010001/0x4bfa26af/0x00109400/0x0001 detail Session Id: 1 Client IPv6 Prefix: 2001:db8:3c4d:15::/64 Client DUID: LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 State: BOUND(RELAY_STATE_BOUND) Lease Expires: 2011-05-25 07:12:09 PDT Lease Expires in: 77115 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-05-24 07:12:09 PDT Lease time violated: yes Incoming Client Interface: ge-1/0/0.0 Interface tag: None Server Address: 2001:db8:aaaa:bbbb::1 Server Interface: none Relay Address: 2001:db8:1111:2222:: Client Pool Name: pool-25 Client Id Length: 14 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001
show dhcpv6 relay binding detail
user@host> show dhcpv6 relay binding detail Session Id: 1 Client IPv6 Prefix: 2001:db8:3c4d:15::/64 Client DUID: LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 State: BOUND(RELAY_STATE_BOUND) Lease Expires: 2011-05-25 07:12:09 PDT Lease Expires in: 77115 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-05-24 07:12:09 PDT Lease time violated: yes Incoming Client Interface: ge-1/0/0.0 Interface tag: None Server Address: 2001:db8:aaaa:bbbb::1 Server Interface: none Relay Address: 2001:db8:1111:2222:: Client Pool Name: pool-25 Client Id Length: 14 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001 Generated Remote ID Enterprise Number: 1411 Generated Remote ID: host:ge-1/0/0:100
show dhcpv6 relay binding detail (Dual-Stack)
user@host> show dhcpv6 relay binding detail Session Id: 2 Client IPv6 Prefix: 2001:db8:ffff:0:4::/64 Client IPv6 Address: 2001:db8:3000:8003::1/128 Client DUID: LL0x1-00:00:64:01:01:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Expires: 2016-10-17 07:39:25 PDT Lease Expires in: 3450 seconds Lease Start: 2016-10-17 06:39:25 PDT Last Packet Received: 2016-10-17 06:39:25 PDT Incoming Client Interface: ae0.3221225472 Interface tag: None Client Interface Svlan Id: 2000 Client Interface Vlan Id: 1 Server Ip Address: 2001:db8:3000::2 Server Interface: none Client Profile Name: my-dual-stack Client Id Length: 10 Client Id: /0x00030001/0x00006401/0x0102 Dual Stack Group: group1 Dual Stack Peer Address: 192.0.2.4
show dhcpv6 relay binding detail (Multi-Relay Topology)
user@host > show dhcpv6 relay binding detail Session Id: 13 Client IPv6 Prefix: 2001:db8:3000:0:8001::5/128 Client DUID: LL0x1-00:00:65:03:01:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Expires: 2011-11-21 06:14:50 PST Lease Expires in: 293 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-11-21 06:09:50 PST Incoming Client Interface: ge-1/0/0.0 Interface tag: None Server Address: unknown Next Hop Server Facing Relay: 2001:db8:4000::2 Server Interface: none Client Id Length: 10 Client Id: /0x00030001/0x00006503/0x0102
show dhcpv6 relay binding (Session ID)
user@host> show dhcpv6 relay binding 41 Prefix Session Id Expires State Interface Client DUID 2001:db8:3c4d:15::/64 41 78837 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01
show dhcpv6 relay binding (Subscriber with Multiple Addresses)
user@host> show dhcpv6 relay binding Prefix Session Id Expires State Interface Client DUID 2001:db8:1001::1:24/128 23 593 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:1001::1:1c/128 23 393 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:1001::1:14/128 23 193 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:3001::300/120 23 293 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:3001::200/120 23 193 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:3001::100/120 23 93 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02
When DHCPv6 relay binding is configured with prefix exclude option, we get the following output:
user@host> show dhcpv6 relay binding detail Session Id: 6 Hardware Address: 00:10:94:00:00:01 Client IPv6 Address: 7001:2:3::d/128 Lease Expires: 2017-12-11 07:45:27 IST Lease Expires in: 9999952 seconds Preferred Lease Expires: 2017-12-11 07:45:27 IST Preferred Lease Expires in: 9999952 seconds Client IPv6 Prefix: 7001::1000:0:0:0/68 Client IPv6 Excluded Prefix: 7001::1fff:ffff:ffff:ff00/120 Lease Expires: 2017-12-11 07:45:27 IST Lease Expires in: 9999952 seconds Preferred Lease Expires: 2017-12-11 07:45:27 IST Preferred Lease Expires in: 9999952 seconds Client DUID: LL_TIME0x1-0x599553b0-00:10:94:00:00:01 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Start: 2017-08-17 13:58:33 IST Last Packet Received: 2017-08-17 13:58:48 IST Incoming Client Interface: ge-0/0/0.100 Interface tag: None Client Interface Vlan Id: 100 Server Ip Address: 7002::1 Server Interface: none Client Id Length: 14 Client Id: /0x00010001/0x599553b0/0x00109400/0x0001 Generated Circuit ID: ge-0/0/0:100
show dhcpv6 relay binding detail (Subscriber with Multiple Addresses)
user@host> show dhcpv6 relay binding detail Session Id: 3 Client IPv6 Address: 2001:db8:1001::1:2/128 Lease Expires: 2015-05-15 02:34:51 PDT Lease Expires in: 24 seconds Preferred Lease Expires: 2015-05-15 02:34:51 PDT Preferred Lease Expires in: 24 seconds Client IPv6 Address: 2001:db8:1001::1:12/128 Lease Expires: 2015-05-15 02:41:31 PDT Lease Expires in: 424 seconds Preferred Lease Expires: 2015-05-15 02:41:31 PDT Preferred Lease Expires in: 424 seconds Client IPv6 Address: 2001:db8:1001::1:a/128 Lease Expires: 2015-05-15 02:38:11 PDT Lease Expires in: 224 seconds Preferred Lease Expires: 2015-05-15 02:38:11 PDT Preferred Lease Expires in: 224 seconds Client IPv6 Prefix: 2001:db8:3001::/120 Lease Expires: 2015-05-15 02:34:51 PDT Lease Expires in: 24 seconds Preferred Lease Expires: 2015-05-15 02:34:51 PDT Preferred Lease Expires in: 24 seconds Client IPv6 Prefix: 2001:db8:3001::200/120 Lease Expires: 2015-05-15 02:38:11 PDT Lease Expires in: 224 seconds Preferred Lease Expires: 2015-05-15 02:38:11 PDT Preferred Lease Expires in: 224 seconds Client IPv6 Prefix: 2001:db8:3001::100/120 Lease Expires: 2015-05-15 02:36:31 PDT Lease Expires in: 124 seconds Preferred Lease Expires: 2015-05-15 02:36:31 PDT Preferred Lease Expires in: 124 seconds Client DUID: LL_TIME0x1-0x55554c6e-00:10:94:00:00:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Start: 2015-05-15 02:34:21 PDT Last Packet Received: 2015-05-15 02:34:22 PDT Incoming Client Interface: ge-9/0/9.0 Interface tag: None Client Interface Vlan Id: 111 Demux Interface: demux0.3221225475 Server Ip Address: 2001:db8:5001::1 Server Interface: none Client Profile Name: DHCP-IPDEMUX-PROF Client Id Length: 14 Client Id: /0x00010001/0x55554c6e/0x00109400/0x0002 Generated Circuit ID: ge-9/0/9:111 Generated Remote ID Enterprise Number: 1411 Generated Remote ID: ge-9/0/9:111
show dhcpv6 relay binding (Interfaces VLAN)
user@host> show dhcpv6 relay binding ge-1/0/0:100-200 Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 11 87583 BOUND ge-1/0/0.1073741827 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 12 87583 BOUND ge-1/0/0.1073741827 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
show dhcpv6 relay binding (Interfaces Wildcard)
user@host> show dhcpv6 relay binding demux0 Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 30 79681 BOUND demux0.1073741824 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 31 79681 BOUND demux0.1073741825 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:C9::/32 32 79681 BOUND demux0.1073741826 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
show dhcpv6 relay binding (Interfaces Wildcard)
user@host> show dhcpv6 relay binding ge-1/3/* Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 22 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 33 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:C9::/32 24 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
show dhcpv6 relay binding summary
user@host> show dhcpv6 relay binding summary 5 clients, (0 init, 5 bound, 0 selecting, 0 requesting, 0 renewing, 0 releasing)
show dhcpv6 relay binding interface-tag <interface-tag-name>
user@host> show dhcpv6 relay binding interface-tag sample_tag IP address Session Id Hardware address Expires State Interface 2001:db8:1001::1:a/128 77 00:10:94:00:00:01 740 BOUND ge-0/0/1.3221225472
Release Information
Command introduced in Junos OS Release 11.4.
interfaces-vlan and interfaces-wildcard options introduced in Junos OS Release 12.1.