Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show dhcpv6 relay statistics

Syntax

Description

Display Dynamic Host Configuration Protocol for IPv6 (DHCPv6) relay statistics.

Options

bulk-leasequery-connections

(Optional) Display DHCPv6 relay bulk leasequery statistics.

leasequery

(Optional) Display information about DHCPv6 relay individual leasequery statistics.

logical-system logical-system-name

(Optional) Perform this operation on the specified logical system. If you do not specify a logical system name, statistics are displayed for the default logical system.

routing-instance routing-instance-name

(Optional) Perform this operation on the specified routing instance. If you do not specify a routing instance name, statistics are displayed for the default routing instance.

Required Privilege Level

view

Output Fields

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

Table 1: show dhcpv6 relay statistics Output Fields

Field Name

Field Description

DHCPv6 Packets dropped

Number of packets discarded by the extended DHCPv6 relay agent application due to errors. Only nonzero statistics appear in the Packets dropped output. When all of the Packets dropped statistics are 0 (zero), only the Total field appears.

  • Total—Total number of packets discarded by the DHCPV6 relay agent application.

  • Bad options—Number of packets discarded because invalid options were specified.

  • Bad send—Number of packets that the extended DHCP relay application could not send.

  • Bad src address—Number of packets discarded because the family type was not AF_INET6.

  • Client MAC validation—Number of packets discarded because validation of the client MAC address failed.

  • No client id—Number of packets discarded because they could not be matched to a client.

  • Lease Time Violation—Number of packets discarded because of a lease time violation

  • No safd—Number of packets discarded because they arrived on an unconfigured interface.

  • Short packet—Number of packets discarded because they were too short.

  • Relay hop count—Number of packets discarded because the hop count in the packet exceeded 32.

Messages received

Number of DHCPv6 messages received.

  • DHCPv6_DECLINE—Number of DHCPv6 PDUs of type DECLINE received

  • DHCPV6_SOLICIT—Number of DHCPv6 PDUs of type SOLICIT received

  • DHCPV6_INFORMATION_REQUEST—Number of DHCPv6 PDUs of type INFORMATION-REQUEST received

  • DHCPV6_RELEASE—Number of DHCPv6 PDUs of type RELEASE received

  • DHCPV6_REQUEST—Number of DHCPv6 PDUs of type REQUEST received

  • DHCPV6_CONFIRM—Number of DHCPv6 PDUs of type CONFIRM received

    DHCPV6_RENEW—Number of DHCPv6 PDUs of type RENEW received

    DHCPV6_REBIND—Number of DHCPv6 PDUs of type REBIND received

    DHCPV6_RELAY_REPL—Number of DHCPv6 PDUs of type RELAY-REPL received

  • DHCPV6_RELAY_FORW—Number of DHCPv6 RELAY-FORW PDUs received.

  • DHCPV6_LEASEQUERY_REPLY—Number of DHCPv6 replies received from the DHCPv6 sever

  • DHCPV6_LEASEQUERY_DATA—xxxx

  • DHCPV6_LEASEQUERY_DONE—The leasequery is complete

Messages sent

Number of DHCPv6 messages sent.

  • DHCPV6_ADVERTISE—Number of DHCPv6 ADVERTISE PDUs transmitted

  • DHCP_REPLY—Number of DHCPv6 REPLY PDUs transmitted

  • DHCP_RECONFIGURE—Number of DHCPv6 RECONFIGURE PDUs transmitted

  • DHCP_RELAY_FORW—Number of DHCPv6 RELAY-FORW PDUs transmitted

  • DHCPV6_RELAY_REPL—Number of DHCPv6 RELAY-REPL PDUs transmitted.

  • DHCP6_LEASEQUERY—Number of DHCP leasequery messages transmitted

Packets forwarded

Number of packets forwarded by the extended DHCPv6 relay agent application.

  • FWD REQUEST—Number of DHCPv6 REQUEST packets forwarded

  • FWD REPLY—Number of DHCPv6 REPLY packets forwarded

External Server Response

State of the external DHCP server responsiveness.

Total Requested Servers

Total number of servers with which the DHCP relay agent has requested a bulk leasequery connection.

Total Attempted Servers

Total number of servers with which the DHCP relay agent has attempted to create a bulk leasequery connection.

Total Connected

Total number of servers that have formed a bulk leasequery connection with the DHCP relay agent.

Total Terminated by Server

Total number of servers that have terminated a bulk leasequery connection with the DHCP relay agent.

Total Max Attempted

Total number of servers where the DHCP relay agent reached the maximum retry limit when it attempted to create a bulk leasequery connection.

Total Closed due to Errors

Total number of bulk leasequery connections that closed due to an internal error on the DHCP relay agent.

In-Flight Connected

Number of current bulk leasequery connections on the DHCP relay agent.

Bulk Leaasequery Reply Packet Retries

Number of bulk leasequery reply packets that the DHCP relay agent has retried.

Sample Output

show dhcpv6 relay statistics

show dhcpv6 relay statistics bulk-leasequery-connections

Release Information

Command introduced in Junos OS Release 11.4.

bulk-leasequery-connections option introduced in Junos OS Release 16.1.