set dhcp relay agent sub-option

Syntax

set dhcp relay agent sub-option { circuit-id | remote-id | vendor-specific
{ layer2-circuit-id | user-packet-class } }

no set dhcp relay agent sub-option { circuit-id | remote-id | vendor-specific
[ layer2-circuit-id | user-packet-class ] }

Release Information

Command introduced in JunosE Release 8.0.0.

Description

Configures DHCP relay and DHCP relay proxy to add values into the DHCP relay agent information option (option 82) of the packets sent to a DHCP server. The no version restores the default configuration, in which the specified values are not relayed to the DHCP server.

Note: We recommend that you use this command for new option 82 suboption configurations. However, JunosE Software continues to support the set dhcp relay agent command, with option 82 suboptions, to provide backward-compatibility for existing scripts.

Options

Mode

Global Configuration

Related Documentation