Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show dhcpv6 server binding

Syntax

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.

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

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 IPv6 Excluded Prefix

IPv6 Prefix of the DHCP client excluded.

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

Lease time violated

Lease time violation has occurred.

detail

Incoming Client Interface

Client’s incoming interface.

detail

Server IP Address

IP address of DHCPv6 server.

detail

Interface tag

Name of the Interface tag.

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

Server Id

DHCP unique identifier (DUID) for the DHCPv6 server.

detail

Client Interface Svlan Id

S-VLAN ID of the client’s incoming interface.

detail

Client Interface Vlan Id

VLAN ID of the client’s incoming interface.

detail

Dual Stack Group

DHCPv6 server profile name.

detail

Dual Stack Peer Address

DHCPv6 Peer IP address.

detail

Sample Output

show dhcpv6 server binding

show dhcpv6 server binding detail

command-name

When DHCPv6 binding is configured with prefix exclude option, we get the following output:

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

show dhcpv6 server binding interface-tag <interface-tag-name>

Release Information

Command introduced in Junos OS Release 9.6.

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