Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show dhcpv6 server binding (View)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show dhcpv6 server binding
<brief | detail | summary>
<interface interface-name>
<routing-instance routing-instance-name>

Description

Display the address bindings in the client table for DCHPv6 local server.

Options

  • 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.

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

Required Privilege Level

view

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 dhcv6p 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.

briefdetail

Session Id

Session ID of the subscriber session.

briefdetail

Expires

Number of seconds in which lease expires.

briefdetail

State

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

  • BOUND—Client has active IP address lease.

  • INIT—Initial state.

  • RELEASE—Client is releasing IP address lease.

  • RECONFIGURE—Client has received reconfigure message from server.

  • RENEWING—Client sending request to renew IP address lease.

  • REQUESTING—Client requesting a DHCPv6 server.

  • SELECTING—Client receiving offers from DHCPv6 servers.

briefdetail

Interface

Interface on which the DHCPv6 request was received.

brief

Client DUID

Client’s DHCP Unique Identifier (DUID).

brief

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

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 Id length

Length of the DHCPv6 client ID, in bytes.

detail

Client Id

ID of the DHCPv6 client.

detail

Server Id

ID type and ID of the DHCPv6 server.

detail

Sample Output

show dhcpv6 server binding

content_copy zoom_out_map
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

show dhcpv6 server binding detail

content_copy zoom_out_map
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(bound)
     Lease Expires:                         2009-07-21 10:41:15 PDT
     Lease Expires in:                      86308 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      Server Id:                             <VENDOR 2198142976/4a4e313132414343374146430000000000000000>

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:                      86308 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      Server Id:                             <VENDOR 2198142976/4a4e313132414343374146430000000000000000> 

show dhcpv6 server binding interface

content_copy zoom_out_map
user@host> show dhcp6 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

content_copy zoom_out_map
user@host> show dhcp6 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
     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      Server Id:                             <VENDOR 2198142976/4a4e313132414343374146430000000000000000> 

show dhcpv6 server binding prefix

content_copy zoom_out_map
user@host> show dhcp6 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
     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

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

show dhcpv6 server binding summary

content_copy zoom_out_map
user@host> show dhcpv6 server binding summary

5 clients, (0 init, 5 bound, 0 selecting, 0 requesting, 0 renewing, 0 releasing)

Release Information

Command introduced in Junos OS Release 10.4.

footer-navigation