Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show dhcpv6 server binding

Syntax

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

Release Information

Command introduced in Junos OS Release 9.6.

Options interfaces-vlan and interfaces-wildcard added in Junos OS Release 12.1.

Description

Display the address bindings in the client table on the extended Dynamic Host Configuration Protocol for IPv6 (DHCPv6) local server.

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 | detail | summary

(Optional) Display the specified level of output about active client bindings. The default is brief, which produces the same output as show dhcpv6 server binding.

interface interface-name

(Optional) Display information about active client bindings on the specified interface. You can optionally filter on VLAN ID and SVLAN 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) Display information about active client bindings for DHCPv6 clients on the specified logical system.

routing-instance routing-instance-name

(Optional) Display information about active client bindings for DHCPv6 clients on the specified routing instance.

Required Privilege Level

view

List of Sample Output

show dhcpv6 server binding
show dhcpv6 server binding detail
show dhcpv6 server binding interface
show dhcpv6 server binding interface detail
show dhcpv6 server binding (IPv6 Prefix)
show dhcpv6 server binding (Session ID)
show dhcpv6 server binding (Interfaces VLAN)
show dhcpv6 server binding (Interfaces Wildcard)
show dhcpv6 server binding (Interfaces Wildcard)
show dhcpv6 server binding summary

Output Fields

Table 1 lists the output fields for the show dhcpv6 server binding command. Output fields are listed in the approximate order in which they appear.

Table 1: show dhcpv6 server binding Output Fields

Field Name

Field Description

Level of Output

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

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

summary

Prefix

Client’s DHCPv6 prefix, or prefix used to support multiple address assignment.

brief detail

Session Id

Session ID of the subscriber session.

brief detail

Expires

Number of seconds in which lease expires.

brief detail

State

State of the address binding table on the extended DHCPv6 local server:

  • BOUND—Client has active IP address lease.
  • INIT—Initial state.
  • RECONFIGURE—Server has sent reconfigure message to client.
  • RELEASE—Client is releasing IP address lease.
  • RENEWING—Client sending request to renew IP address lease.
  • REQUESTING—Client requesting a DHCPv6 server.
  • SELECTING—Client receiving offers from DHCPv6 servers.

brief detail

Interface

Interface on which the DHCPv6 request was received.

brief

Client IPv6 Address

Client’s IPv6 address.

detail

Client IPv6 Prefix

Client’s IPv6 prefix.

detail

Client DUID

Client’s DHCP Unique Identifier (DUID).

brief detail

Lease expires

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

detail

Lease expires in

Number of seconds in which 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 client’s IPv6 prefix expires.

detail

Lease Start

Date and time at which the client’s address lease was obtained.

detail

Incoming Client Interface

Client’s incoming interface.

detail

Server IP Address

IP address of DHCPv6 server.

detail

Server Interface

Interface of DHCPv6 server.

detail

Client Pool Name

Address pool used to assign IPv6 address.

detail

Client Prefix Pool Name

Address pool used to assign IPv6 prefix.

detail

Client Id length

Length of the DHCPv6 client ID, in bytes.

detail

Client Id

ID of the DHCPv6 client.

detail

Sample Output

show dhcpv6 server binding

user@host> show dhcpv6 server binding
Prefix                  Session Id  Expires  State    Interface    Client DUID
2001:bd8:1111:2222::/64 6           86321    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c0-00:10:94:00:00:01
2001:bd8:1111:2222::/64 7           86321    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c0-00:10:94:00:00:02
2001:bd8:1111:2222::/64 8           86321    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c0-00:10:94:00:00:03
2001:bd8:1111:2222::/64 9           86321    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c1-00:10:94:00:00:04
2001:bd8:1111:2222::/64 10          86321    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c1-00:10:94:00:00:05
2002::1/74              11          86321    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c1-00:10:94:00:00:06

show dhcpv6 server binding detail

user@host> show dhcpv6 server binding detail
Session Id:  6
     Client IPv6 Prefix:                    2001:bd8:1111:2222::/64
     Client DUID:                           LL_TIME0x1-0x2e159c0-00:10:94:00:00:01
     State:                                 BOUND(LOCAL_SERVER_STATE_BOUND_ON_INTF_DELETE)
     Lease Expires:                         2009-07-21 10:41:15 PDT
     Lease Expires in:                      86308 seconds
     Preferred Lease Expires:               2012-07-24 00:18:14 UTC
     Preferred Lease Expires in:            600 seconds
     Lease Start:                           2009-07-20 10:41:15 PDT
     Incoming Client Interface:             ge-1/0/0.0
     Server Ip Address:                     0.0.0.0
     Server Interface:                      none
     Client Id Length:                      14
     Client Id:                             /0x00010001/0x02e159c0/0x00109400/0x0001

Session Id:  7
     Client IPv6 Address:                   2002::1/128
     Client IPv6 Prefix:                    2001:bd8:1111:2222::/64
     Client DUID:                           LL_TIME0x1-0x2e159c0-00:10:94:00:00:02
     State:                                 BOUND(LOCAL_SERVER_STATE_BOUND_ON_INTF_DELETE)
     Lease Expires:                         2009-07-21 10:41:15 PDT
     Lease Expires in:                      86308 seconds
     Preferred Lease Expires:               2012-07-24 00:18:14 UTC
     Preferred Lease Expires in:            600 seconds
     Lease Start:                           2009-07-20 10:41:15 PDT
     Incoming Client Interface:             ge-1/0/0.0
     Server Ip Address:                     0.0.0.0
     Client Pool Name:                      bos-v6-pool
     Client Prefix Pool Name:               bos-v6-prefix-pool
     Client Id Length:                      14
     Client Id:                             /0x00010001/0x02e159c0/0x00109400/0x0002

show dhcpv6 server binding interface

user@host> show dhcpv6 server binding interface ge-1/0/0:10-101
Prefix                  Session Id  Expires  State    Interface    Client DUID
2001:bd8:1111:2222::/64 1           86055    BOUND    ge-1/0/0.100 LL_TIME0x1-0x4b0a53b9-00:10:94:00:00:01

show dhcpv6 server binding interface detail

user@host> show dhcpv6 server binding interface ge-1/0/0:10-101 detail
Session Id:  7
     Client IPv6 Prefix:                    2001:bd8:1111:2222::/64
     Client DUID:                           LL_TIME0x1-0x2e159c0-00:10:94:00:00:02
     State:                                 BOUND(bound)
     Lease Expires:                         2009-07-21 10:41:15 PDT
     Lease Expires in:                      86136 seconds
     Preferred Lease Expires:               2012-07-24 00:18:14 UTC
     Preferred Lease Expires in:            600 seconds
     Lease Start:                           2009-07-20 10:41:15 PDT
     Incoming Client Interface:             ge-1/0/0.0
     Server Ip Address:                     0.0.0.0
     Server Interface:                      none
     Client Id Length:                      14
     Client Id:                             /0x00010001/0x02e159c0/0x00109400/0x0002

show dhcpv6 server binding (IPv6 Prefix)

user@host> show dhcpv6 server binding 14/0x00010001/0x02b3be8f/0x00109400/0x0005 detail
Session Id:  7
     Client IPv6 Prefix:                    2001:bd8:1111:2222::/64
     Client DUID:                           LL_TIME0x1-0x2e159c0-00:10:94:00:00:02
     State:                                 BOUND(bound)
     Lease Expires:                         2009-07-21 10:41:15 PDT
     Lease Expires in:                      86136 seconds
     Preferred Lease Expires:               2012-07-24 00:18:14 UTC
     Preferred Lease Expires in:            600 seconds
     Lease Start:                           2009-07-20 10:41:15 PDT
     Incoming Client Interface:             ge-1/0/0.0
     Server Ip Address:                     0.0.0.0
     Server Interface:                      none
     Client Id Length:                      14
     Client Id:                             /0x00010001/0x02e159c0/0x00109400/0x0002

show dhcpv6 server binding (Session ID)

user@host> show dhcpv6 server binding 8
Prefix           Session Id  Expires  State    Interface    Client DUID
2001:DB8::/32    8           86235    BOUND    ge-1/0/0.0   LL_TIME0x1-0x2e159c0-00:10:94:00:00:03

show dhcpv6 server binding (Interfaces VLAN)

user@host> show dhcpv6 server 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 server binding (Interfaces Wildcard)

user@host> show dhcpv6 server 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 server binding (Interfaces Wildcard)

user@host> show dhcpv6 server 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 server binding summary

user@host> show dhcpv6 server binding summary
5 clients, (0 init, 5 bound, 0 selecting, 0 requesting, 0 renewing, 0 releasing)

Published: 2013-03-14