Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.3

PDF

show ip dhcp-relay-counters

Displays the statistics of the DHCP packets that the relay agent received or transmitted.

Syntax
show ip dhcp-relay-counters {interface [ethernet node/slot/port | port-channel id-number | vlan vlan-id | virtual-network vn-id | <cr>}}
Parameters
  • interface—Displays the interface statistics corresponding to the DHCP packet.
  • ethernet node/slot/port—(Optional) Displays the statistics corresponding to the Ethernet node, slot, and port of the DHCP packet.
  • port-channel id-number—(Optional) Displays the statistics corresponding to the port channel id-number of the DHCP packet. Valid values are from 1 to 999 or 1001 to 2000.
  • vlan vlan-id—(Optional) Displays the statistics corresponding to the VLAN vlan-id of the DHCP packet.
  • vitual-network vn-id—(Optional) Displays the statics corresponding to the virtual-network vn-id of the DHCP packet.
Defaults
None
Command Mode
EXEC
Usage Information

The show ip dhcp relay counters interface <interface> command displays the count of DHCP packets received, transmitted, dropped on the specified interface that is enabled with the helper address.

The show ip dhcp relay counters command displays the count of DHCP packets that are received, transmitted, or dropped on all interfaces that are enabled with helper address.

The show commands with interface option in which DHCPv4 helper address is not configured display an error message.

The show relay counters command displays the following information:

  • Recently cleared Timestamp.
  • BOOTREQUEST messages received by the relay agent.
  • DHCP DISCOVER messages received by the relay agent.
  • DHCP REQUEST messages received by the relay agent.
  • DHCP RELEASE messages received by the relay agent.
  • DHCP INFORM messages received by the relay agent.
  • DHCP DECLINE messages received by the relay agent.
  • BOOTREQUEST messages forwarded by the relay agent.
  • BOOTREPLY messages forwarded by the relay agent.
  • DHCP OFFER messages sent by the relay agent.
  • DHCP ACK messages sent by the relay agent.
  • DHCP NACK messages sent by the relay agent.
  • DHCP packets dropped due to an invalid opcode.
  • DHCP packets dropped due to an invalid option.
  • Total number of DHCP packets dropped at the requested interface by the relay agent.
Example
OS10#show ip dhcp-relay counters interface ethernet1/1/1
Interface : ethernet 1/1/1
Last cleared : 1 weeks 6 days 18:31:16
PACKETS RECEIVED
----------------------
Bootrequest      :5
Discover         :3
Request          :2
Release          :0
Inform           :0
Decline          :0

PACKETS SENT
----------------------
Bootrequest      :5
Booteply         :4
Offer            :2
Ack              :2
Nack             :0

PACKETS DROPPED
----------------------
Invalid opcode   :0
Invalid option   :0
Total Dropped    :1
Supported Release
10.5.2.3 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\