Display DHCPv6 Relay Information

  1. Access privileged EXEC mode on a device where DHCPv6 relay is configured.
  2. Display all DHCP relay addresses configured on the device.
    device# show ipv6 dhcp relay address
    DHCPv6 unique identifier(DUID): 0102f8f10027f8d43dfb
    Interface           Relay Address           VRF Name            Outgoing Interface
    ---------           -------------           --------            ------------------
    eth 1/17             2002::10               default-vrf
    eth 1/17             2000::10               default-vrf         eth 0/9
    eth 1/17             2019::10               test                ve 102
    ve 94                2011::10               default-vrf
    
  3. Display all DHCP relay addresses configured for a specific interface on the device.
    device# show ipv6 dhcp relay address interface ethernet 1/40
    DHCPv6 unique identifier(DUID): 01021025768ef804e005
    Interface           Relay Address            VRF Name            Outgoing Interface
    ---------           -------------            --------            ------------------
    Eth 1/40             2019::10                default-vrf
    
  4. Display statistics such as the number of packets dropped, received, and sent.
    device# show ipv6 dhcp relay statistics
    DHCPv6 Relay Statistics
    ------------------------
    Packets dropped : 0
      Error : 0
    Packets received : 60
      SOLICIT : 6
      REQUEST : 6
      CONFIRM : 0
      RENEW : 2
      REBIND : 0
      RELEASE : 6
      DECLINE : 0
      INFORMATION-REQUEST : 0
      RELAY-FORWARD : 0
      RELAY-REPLY : 40
    Packets sent : 60
      RELAY-FORWARD : 20
      REPLY : 40