Option CodeOption NameOption DescriptionData TypeSupportedIs predefined?Grammar
1agent.circuit-idThe circuit-id suboption encodes an agent-local identifier of the circuit from which a DHCP client-to-server packet was received. It is intended for use by agents in relaying DHCP responses back to the proper circuit. The format of this option is currently defined to be vendor-dependent, and will probably remain that way, although the current draft allows for the possibility of standardizing the format in the future.string11string
2remote-idThe remote-id suboption encodes information about the remote host end of a circuit. Examples of what it might contain include caller ID information, username information, remote ATM address, cable modem ID, and similar things. In principal, the meaning is not well-specified, and it should generally be assumed to be an opaque object that is administratively guaranteed to be unique to a particular remote end of a circuit.quoted_string11string
3agent-idThe "Agent ID" sub-option is used to convey information about the relay agent that forwarded the DHCP message. It helps in identifying the relay agent and its characteristics in the DHCP communication.

Here's a basic structure for the "Agent ID" sub-option within the "Relay Agent Information" option:

Code: Specific code assigned to the "Agent ID" sub-option (e.g., 1).
Length: Length of the sub-option data field.
Agent ID Data: Information about the relay agent.
The "Agent ID" can contain various details about the relay agent, such as its hardware type, hardware address, or other identifying information.
string11string
19relay-portThe "relay-port" suboption is particularly useful for the DHCP server to identify the specific UDP port number used by the relay agent when forwarding DHCP messages.string11port
4DOCSIS-device-classThe DOCSIS-device-class suboption is intended to convey information about the host endpoint, hardware, and software, that either the host operating system or the DHCP server may not otherwise be aware of (but the relay is able to distinguish). This is implemented as a 32-bit field (4 octets), each bit representing a flag describing the host in one of these ways. So far, only bit zero (being the least significant bit) is defined in RFC3256. If this bit is set to one, the host is considered a CPE Controlled Cable Modem (CCCM). All other bits are reserved.uint3211uint32
5link-selectionThe link-selection suboption is provided by relay agents to inform servers what subnet the client is actually attached to. This is useful in those cases where the giaddr (where responses must be sent to the relay agent) is not on the same subnet as the client. When this option is present in a packet from a relay agent, the DHCP server will use its contents to find a subnet declared in configuration, and from here take one step further backwards to any shared-network the subnet may be defined within; the client may be given any address within that shared network, as normally appropriate.ipv4address11ip-address