Technote-HowToDecodeOpt82_v1
Technote-HowToDecodeOpt82_v1
Decoding Option 82 Agent “Circuit ID” & “Remote ID” values in DHCP Request
What is the Option 82 Sub-option “Agent Circuit ID” and “Agent Remote ID”?
How do I translate these values?
When the DHCP Relay Proxy adds OPTION 82 to DHCP Request, the gateway includes sub-
options as part of the OPTION 82 body. The destination VRF will determine which sub-options
to include. The Default sub-options added by the ACI switches for DHCP Relay are Agent
Circuit ID & Agent Remote ID.
Note: In a “multiple VRF” ACI DHCP-Relay use case scenario, the ACI DHCP-Relay Leaf will
add additional OPTION 82 sub-options (VRF Name\VPN ID, Server ID Override, & Link
selection). This technote addresses the “default” values only.
• Agent Circuit ID: is the Physical Interface, VLAN ID, and VLAN vnid of where the Client
resides on the DHCP Relay Proxy Gateway.
• Agent Remote ID: is the TEP Address of the DHCP Relay Proxy Gateway (Leaf).
You can decode these values to use for troubleshooting ACI DHCP Relay issues.
Sample Topology:
rtp-f2-p1-spines
TEP Address
10.0.200.93
10.0.200.94
rtp-f2-p1-leaf3 rtp-f2-p1-leaf4
TEP Address TEP Address
10.0.200.92 10.0.200.91
Po1 Po5
Po7 Po7
VMM Networking
Datacenter Cluster
deadbeef-esxi126
deadbeef-esxi127
deadbeef-vcsa
Frame 1: 372 bytes on wire (2976 bits), 372 bytes captured (2976 bits) on interface 0
Ethernet II, Src: CiscoInc_f8:19:ff (00:22:bd:f8:19:ff), Dst: Vmware_89:85:e6
(00:50:56:89:85:e6)
Internet Protocol Version 4, Src: 192.2.25.1, Dst: 192.2.28.252
User Datagram Protocol, Src Port: 67 (67), Dst Port: 67 (67)
Bootstrap Protocol (Discover)
Bootp flags: 0x0000 (Unicast)
Relay agent IP address: 192.2.25.1
Client MAC address: Vmware_89:28:6e (00:50:56:89:28:6e)
Option: (53) DHCP Message Type (Discover)
Option: (82) Agent Information Option
Length: 24
Option 82 Suboption: (1) Agent Circuit ID
Length: 16
Agent Circuit ID: 160000060000001b00000000000023fd
Option 82 Suboption: (2) Agent Remote ID
Length: 4
Agent Remote ID: 0a00c85b
Agent Circuit ID: is the Physical Interface, VLAN ID, and VLAN vnid of where
the Client resides on the DHCP Relay Proxy Gateway
Agent Circuit ID: 000023fd = VLAN vnid (9213 from the "show system
internal epmc endpoint vlan 27")
Use the “show system internal epmc endpoint vlan ###” command output to decode the Option
82 sub-option values.
For example:
rtp-f2-p1-leaf4# vsh_lc
Vlan 27
Agent Remote ID: is the TEP Address of the DHCP Relay Proxy Gateway
# On APIC
# show switch | egrep -E "10.0.200.91|ID|---"
Abreviated Output
# On LEAF
# acidiag fnvread | egrep -E "10.0.200.91|ID|---"