Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show dhcpv6 statistics

Syntax

show dhcpv6 statistics<interface interface-name>

Release Information

Command introduced in Junos OS Release 11.3.

Description

Display extended Dynamic Host Configuration Protocol (DHCP) statistics.

Options

interfaceinterface-name

(Optional) Show the statistics for DHCP clients on the specified interface. If you do not specify an interface, statistics are cleared for the default interface.

Required Privilege Level

view

List of Sample Output

show dhcpv6 statistics

Output Fields

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

Table 1: show dhcpv6 statistics Output Fields

Field Name

Field Description

Packets dropped

Number of packets discarded by DHCPv6 because of 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 DHCPv6
  • Strict Reconfigure—Number of solicit messages discarded because the client does not support reconfiguration
  • Bad hardware address—Number of packets discarded because an invalid hardware address was specified
  • Bad opcode—Number of packets discarded because an invalid operation code was specified
  • Bad options—Number of packets discarded because invalid options were specified
  • Invalid server address—Number of packets discarded because an invalid server address was specified
  • No available addresses—Number of packets discarded because there were no addresses available for assignment
  • No interface match—Number of packets discarded because they did not belong to a configured interface
  • No routing instance match—Number of packets discarded because they did not belong to a configured routing instance
  • No valid local address—Number of packets discarded because there was no valid local address
  • Packet too short—Number of packets discarded because they were too short
  • Read error—Number of packets discarded because of a system read error
  • Send error—Number of packets that the extended DHCPv6 local server could not send

Messages received

Number of DHCPv6 messages received.

  • DHCPV6_CONFIRM—Number of DHCPv6 CONFIRM PDUs received.
  • DHCPV6_DECLINE—Number of DHCPv6 DECLINE PDUs received.
  • DHCPV6_INFORMATION_REQUEST—Number of DHCPv6 INFORMATION-REQUEST PDUs received.
  • DHCPV6_REBIND—Number of DHCPv6 REBIND PDUs received.
  • DHCPV6_RELAY_FORW—Number of DHCPv6 RELAY-FORW PDUs received.
  • DHCPV6_RELAY_REPL—Number of DHCPv6 RELAY-REPL PDUs received.
  • DHCPV6_RELEASE—Number of DHCPv6 RELEASE PDUs received.
  • DHCPV6_RENEW—Number of DHCPv6 RENEW PDUs received.
  • DHCPV6_REQUEST—Number of DHCPv6 REQUEST PDUs received.
  • DHCPV6_SOLICIT—Number of DHCPv6 SOLICIT PDUs received.

Messages sent

Number of DHCPv6 messages sent.

  • DHCPV6_ADVERTISE—Number of DHCPv6 ADVERTISE PDUs transmitted.
  • DHC6_RECONFIGURE—Number of DHCPv6 RECONFIGURE PDUs transmitted.
  • DHC6_RELAY_FORW—Number of DHCPv6 RECONFIGURE PDUs transmitted.

Sample Output

show dhcpv6 statistics

user@host> show dhcpv6 statistics interface
Packets dropped:
    Total                      0

Messages received:
    DHCPV6_DECLINE             0
    DHCPV6_SOLICIT             1
    DHCPV6_INFORMATION_REQUEST 0
    DHCPV6_RELEASE             1
    DHCPV6_REQUEST             2
    DHCPV6_CONFIRM             0
    DHCPV6_RENEW               1
    DHCPV6_REBIND              1
    DHCPV6_RELAY_FORW          5
    DHCPV6_RELAY_REPL          10

Messages sent:
    DHCPV6_ADVERTISE           1
    DHCPV6_REPLY               4
    DHCPV6_RECONFIGURE         0
   

Published: 2013-03-14

Published: 2013-03-14