> - Download PDFs
> - set dhcp relay agent sub-option

> # 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

> - circuit-id—Specifies the Agent Circuit ID suboption (suboption 1)
> - remote-id—Specifies the Agent Remote ID suboption (suboption 2)
> - vendor-specific—Specifies the Vendor-Specific suboption (suboption 9)
> - layer2-circuit-id—Specifies the SVLAN ID or VLAN ID or both for Ethernet interfaces or the VPI/VCI for ATM 1483 interfaces
> - user-packet-class—Specifies the user packet class, whose value is configured by the JUNOSe software layer 2 policy application

> #### Mode

> Global Configuration

> #### Updated: 2009-04-17

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.