Action Display statistics for DHCP relay agent.
user@host> show dhcp relay statistics
Packets dropped:
Total 30
Bad hardware address 1
Bad opcode 1
Bad options 3
Invalid server address 5
No available addresses 1
No interface match 2
No routing instance match 9
No valid local address 4
Packet too short 2
Read error 1
Send error 1
Option 60 1
Option 82 2
Messages received:
BOOTREQUEST 116
DHCPDECLINE 0
DHCPDISCOVER 11
DHCPINFORM 0
DHCPRELEASE 0
DHCPREQUEST 105
Messages sent:
BOOTREPLY 0
DHCPOFFER 2
DHCPACK 1
DHCPNAK 0
DHCPFORCERENEW 0
Packets forwarded:
Total 4
BOOTREQUEST 2
BOOTREPLY 2
Meaning The Packets forwarded field in the show dhcp relay statistics command output displays
the number of client packets that have been forwarded as a result of the selective traffic
processing configuration. In this example, the output indicates the total number of packets
that DHCP relay agent has forwarded, as well as a breakdown for the number of
BOOTREQUEST and BOOTREPLY packets forwarded.
Related
Documentation
Extended DHCP Relay Agent Overview on page 46•
• DHCP Options and Selective Traffic Processing Overview
• Using DHCP Option Information to Selectively Process DHCP Client Traffic
• Displaying a Count of DHCP Packets That Are Dropped or Forwarded During Selective
Processing That Is Based on DHCP Option Strings
• Example: Configuring DHCP and DHCPv6 Relay Agent Group-Level Selective Traffic
Processing
57Copyright © 2017, Juniper Networks, Inc.
Chapter 4: DHCP Relay Agent