Displaying DHCP option 82 information

You can use various show commands to view information about DHCP option 82 processing.

Use one of the following commands to view DHCP Option 82 processing. The commands do not need to be entered in the specified order.
  1. Enter the show ip dhcp relay information command to display information about the Circuit ID, Remote ID, and forwarding policy for DHCP Option 82.
    device# show ip dhcp relay information
    Relay Information: Format: Circuit-ID : vlan-mod-port
                                Remote-ID : mac
                                   Policy : keep
  2. Enter the show ip dhcp snooping vlan command to display information about the trusted ports, untrusted ports, and ports on which DHCP Option 82 is disabled.
    device# show ip dhcp snooping vlan 1
    IP DHCP snooping VLAN 1: Enabled
      Trusted Ports :   ethe 3
      Untrusted Ports : ethe 1 to 2 ethe 4 to 24
      Relay Info. disabled Ports: ethe 10 
  3. Enter the show interfaces ethernet command.
    device# show interfaces ethernet 3
    GigabitEthernet3 is up, line protocol is up
    Port up for 40 minutes 10 seconds
      Hardware is GigabitEthernet, address is 0000.0000.0002 (bia 0000.0000.0002)
      Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx
      Configured mdi mode AUTO, actual MDI
      Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING
      BPDU guard is Disabled, ROOT protect is Disabled
      Link Error Dampening is Disabled
      STP configured to ON, priority is level0
      Flow Control is config enabled, oper enabled, negotiation disabled
      mirror disabled, monitor disabled
      Not member of any active trunks
      Not member of any configured trunks
      No port name
      IPG MII 96 bits-time, IPG GMII 96 bits-time
      IP MTU 1500 bytes
      300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
      300 second output rate: 264 bits/sec, 0 packets/sec, 0.00% utilization
      0 packets input, 0 bytes, 0 no buffer
      Received 0 broadcasts, 0 multicasts, 0 unicasts
      0 input errors, 0 CRC, 0 frame, 0 ignored
      0 runts, 0 giants
      0 packets output, 0 bytes, 0 underruns
      Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
      0 output errors, 0 collisions
         Relay Agent Information option: Enabled, Subscriber-ID: Brocade001
    The output shows the DHCP option 82 enabled on the device and the configured Subscriber ID to be Brocade001.
    NOTE
    The port up or down time is required only for physical ports and not for loopback, ve, or tunnel ports.