Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show dhcpv6 relay binding

Syntax

show dhcpv6 relay binding <address><brief><detail><interface interface-name><interfaces-vlan><interfaces-wildcard><logical-system logical-system-name><routing-instance routing-instance-name><summary>

Release Information

Command introduced in Junos OS Release 11.4.

interfaces-vlan and interfaces-wildcard options introduced in Junos OS Release 12.1.

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:

  • CID—The specified Client ID (CID).
  • ipv6-prefix—The specified IPv6 prefix.
  • session-id—The specified session ID.
brief

(Optional) Display brief information about the active client bindings. This is the default, and produces the same output as show dhcpv6 relay binding.

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.

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

List of 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 (Multi-Relay Topology)
show dhcpv6 relay binding (Session ID)
show dhcpv6 relay binding (Interfaces VLAN)
show dhcpv6 relay binding (Interfaces Wildcard)
show dhcpv6 relay binding (Interfaces Wildcard)
show dhcpv6 relay binding summary

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.

Table 1: show dhcpv6 relay binding Output Fields

Field Name

Field Description

Level of Output

number clients,(number init, number bound, number selecting, number requesting, number renewing,number rebinding, number releasing)

Summary counts of the total number of DHCPv6 clients and the number of DHCPv6 clients in each state.

summary

Client IPv6 Prefix

Prefix of the DHCPv6 client.

brief detail

Client DUID

DHCP for IPv6 Unique Identifier (DUID) of the client.

brief detail

Session Id

Session ID of the subscriber session.

brief detail

Expires

Number of seconds in which the lease expires.

brief detail

State

State of the DHCPv6 relay address binding table on the DHCPv6 client:

  • BOUND—Client has an active IP address lease.
  • INIT—Initial state.
  • REBINDING—Client is broadcasting a request to renew the IP address lease.
  • RELEASE—Client is releasing the IP address lease.
  • RENEWING—Client is sending a request to renew the IP address lease.
  • REQUESTING—Client is requesting a DHCPv6 server.
  • SELECTING—Client is receiving offers from DHCPv6 servers.

brief detail

Interface

Incoming client interface.

brief

Lease Expires

Date and time at which the client’s IP address lease expires.

detail

Lease Expires in

Number of seconds in which the lease expires.

detail

Preferred Lease Expires

Date and UTC time at which the client’s IPv6 prefix expires.

detail

Preferred Lease Expires in

Number of seconds at which the client’s IPv6 prefix expires.

detail

Lease Start

Date and time at which the client’s IP address lease started.

detail

Incoming Client Interface

Client’s incoming interface.

detail

Server Address

IP address of the DHCPv6 server.

Displays unknown for a DHCPv6 relay agent in a multi-relay topology that is not directly adjacent to the DHCPv6 server and does not detect the IP address of the server. In that case, the output instead displays the Next Hop Server Facing Relay field.

detail

Next Hop Server Facing Relay

Next-hop address in the direction of the DHCPv6 server.

detail

Server Interface

Interface of the DHCPv6 server.

detail

Relay Address

IP address of the relay.

detail

Client Pool Name

Address pool that granted the client lease.

detail

Client ID Length

Length of client ID.

All levels

Client Id

Client ID.

All levels

Sample Output

show dhcpv6 relay binding

user@host> show dhcpv6 relay binding
Prefix                   Session Id  Expires  State    Interface    Client DUID
2001:bd8:3c4d:15::/64    1           83720    BOUND    ge-1/0/0.0   LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01
2001:bd8:3c4d:16::/64    2           83720    BOUND    ge-1/0/0.0   LL_TIME0x1-0x4bfa26af-00:10:94:00:00:02
2001:bd8:3c4d:17::/64    3           83720    BOUND    ge-1/0/0.0   LL_TIME0x1-0x4bfa26af-00:10:94:00:00:03
2001:bd8:3c4d:18::/64    4           83720    BOUND    ge-1/0/0.0   LL_TIME0x1-0x4bfa26af-00:10:94:00:00:04
2001:bd8:3c4d:19::/64    5           83720    BOUND    ge-1/0/0.0   LL_TIME0x1-0x4bfa26af-00:10:94:00:00:05
2001:bd8: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:bd8:1111:2222::/64 detail
Session Id:  1
     Client IPv6 Prefix:                    2001:bd8: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
     Server Address:                        2008:aaaa:bbbb::1
     Server Interface:                      none
     Relay Address:                         2001:bd8: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:bd8: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
     Server Address:                        2008:aaaa:bbbb::1
     Server Interface:                      none
     Relay Address:                         2001:bd8: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:bd8: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
     Server Address:                        2008:aaaa:bbbb::1
     Server Interface:                      none
     Relay Address:                         2001:bd8:1111:2222::
     Client Pool Name:                      pool-25
     Client Id Length:                      14
     Client Id:                             /0x00010001/0x4bfa26af/0x00109400/0x0001

show dhcpv6 relay binding detail (Multi-Relay Topology)

user@host > show dhcpv6 relay binding detail
Session Id:  13
     Client IPv6 Prefix:                    3000:0: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
     Server Address:                        unknown
     Next Hop Server Facing Relay:          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:bd8:3c4d:15::/64   41           78837     BOUND   ge-1/0/0.0   LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01

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:DB9::/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:DB9::/32     31          79681    BOUND    demux0.1073741825   LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
2001:CB9::/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:DB9::/32     33          79681    BOUND    ge-1/3/0.110   LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
2001:CB9::/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)

Published: 2013-03-14