show interfaces gigabitethernet statistics dhcp-relay

Show Dynamic Host Configuration Protocol (DHCP) Relay information to view DHCP parameter information for one port, for all ports, or for a VLAN.

Syntax

Command Parameters

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:

  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

vrf WORD<1-16>
Displays all statistics by port.
vrfids WORD<0-512>
Specifies the slot and the port number.

Default

None

Command Mode

Privileged EXEC

Command Output

The show interfaces gigabitethernet statistics dhcp-relay command displays the following information:

Output field

Description

PORT_NUM

Indicates the port number.

VRF NAME

Identifies the VRF

NUMREQUEST

Indicates the total number of DHCP requests on this interface

NUMREPLY

Indicates the total number of DHCP replies on this interface.