Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show dhcpv6 relay binding

 

Syntax

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 (Dual-Stack)

show dhcpv6 relay binding detail (Multi-Relay Topology)

show dhcpv6 relay binding (Session ID)

show dhcpv6 relay binding (Subscriber with Multiple Addresses)

show dhcpv6 relay binding detail (Subscriber with Multiple Addresses)

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

IPv6 Prefix of the DHCP client excluded.

detail

Client DUID

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

brief detail

Client IPv6 Address

IPv6 address assigned to the subscriber.

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.

  • RECONFIGURE—Client is broadcasting a request to reconfigure 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

Lease time violated

Lease time violation has occurred.

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

Generated Circuit ID

Circuit ID generated by the DHCPv6 Interface-ID option (option 18)

detail

Generated Remote ID Enterprise Number

The Juniper Networks IANA private enterprise number

detail

Generated Remote ID

Remote ID generated by the DHCPv6 Remote-ID option (option 37)

detail

Dual Stack Group

Name of the dual-stack group for the DHCPv6 binding.

detail

Dual Stack Peer Address

Address of the dual-stack DHCPv4 peer.

detail

Sample Output

show dhcpv6 relay binding

user@host> show dhcpv6 relay binding

show dhcpv6 relay binding (Address)

user@host> show dhcp6 relay binding 2001:db8:1111:2222::/64 detail

show dhcpv6 relay binding detail (Client ID)

user@host> show dhcpv6 relay binding 14/0x00010001/0x4bfa26af/0x00109400/0x0001 detail

show dhcpv6 relay binding detail

user@host> show dhcpv6 relay binding detail

show dhcpv6 relay binding detail (Dual-Stack)

user@host> show dhcpv6 relay binding detail

show dhcpv6 relay binding detail (Multi-Relay Topology)

user@host > show dhcpv6 relay binding detail

show dhcpv6 relay binding (Session ID)

user@host> show dhcpv6 relay binding 41

show dhcpv6 relay binding (Subscriber with Multiple Addresses)

user@host> show dhcpv6 relay binding

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

user@host> show dhcpv6 relay binding detail

show dhcpv6 relay binding detail (Subscriber with Multiple Addresses)

user@host> show dhcpv6 relay binding detail

show dhcpv6 relay binding (Interfaces VLAN)

user@host> show dhcpv6 relay binding ge-1/0/0:100-200

show dhcpv6 relay binding (Interfaces Wildcard)

user@host> show dhcpv6 relay binding demux0

show dhcpv6 relay binding (Interfaces Wildcard)

user@host> show dhcpv6 relay binding ge-1/3/*

show dhcpv6 relay binding summary

user@host> show dhcpv6 relay binding summary