Technical Documentation

show dhcpv6 server binding

Syntax

show dhcpv6 server binding<brief | detail | summary><interface interface-name><ip-address | mac-address><logical-system logical-system-name><routing-instance routing-instance-name>

Release Information

Command introduced in Junos OS Release 9.6.

Description

Display the address bindings in the client table on the extended Dynamic Host Configuration Protocol for IPv6 (DHCPv6) 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. You can optionally filter on VLAN ID and SVLAN ID.

ip-address

(Optional) IP address of the DHCP client.

mac-address

(Optional) MAC address of the DHCP client.

logical-system logical-system-name

(Optional) Display information about active client bindings for DHCP clients on the specified logical system.

routing-instance routing-instance-name

(Optional) Display information about active client bindings for DHCP 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 prefix
show dhcpv6 server binding session-id
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 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.

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.
  • RELEASE—Client is releasing IP address lease.
  • RENEWING—Client sending request to renew IP address lease.
  • REQUESTING—Client requesting a DHCP server.
  • SELECTING—Client receiving offers from DHCP servers.

brief
detail

Interface

Interface on which the DHCPv6 request was received.

brief

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

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 DHCP server.

detail

Server Interface

Interface of DHCP server.

detail

Client Id length

Length of the DHCP client ID, in bytes.

detail

Client Id

ID of the DHCP 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

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(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

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

show dhcpv6 server binding interface

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

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

show dhcpv6 server binding prefix

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

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

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


Published: 2010-07-13

Help
|
My Account
|
Log Out