Displaying DHCP-relay Statistics for all Interfaces

About this task

Display DHCP-relay statistics for all interfaces to manage network performance.

Note

Note

Slot and port information can differ depending on hardware platform.

Procedure

  1. Show the number of requests and replies for each interface:

    show ip dhcp-relay counters [vrf WORD<1-16>] [vrfids WORD<0-512>]

  2. Show counters for Option 82:

    show ip dhcp-relay counters option82 [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

Switch:1>show ip dhcp-relay counters option82
================================================================================
                     DHCP Counters Option82 - GlobalRouter
================================================================================
          FOUND DROP  CIRCUIT ADD   REMOVE REMOTE            ADD    REMOVE
INTERFACE OPT82 PKT   ID      CIRC  CIRC   ID                REMOTE REMOTE
--------------------------------------------------------------------------------
Port 1/12  0     0    395      0     0      00:24:7f:9d:0a:00  0     0     
Vlan40     0     0    2088     0     0      00:24:7f:9d:0a:01  0     0   

Variable Definitions

Use the data in the following table to use the show ip dhcp-relay counters command.

Variable

Value

vrf WORD<1-16>

Specifies a VRF instance by the VRF name.

vrfids WORD<0-512>

Specifies the ID of the VRF.