[an error occurred while processing this directive][an error occurred while processing this directive]

relay-option-82

Syntax

relay-option-82 {circuit-id {prefix prefix;use-interface-description (logical | device);}}

Hierarchy Level

[edit forwarding-options dhcp-relay],[edit forwarding-options dhcp-relay group group-name],[edit logical-systems logical-system-name forwarding-options dhcp-relay],[edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay group group-name],[edit routing-instances routing-instance-name forwarding-options dhcp-relay],[edit routing-instances routing-instance-name forwarding-options dhcp-relay group group-name]

Release Information

Statement introduced in JUNOS Release 8.3.

Description

Enable or disable the insertion of the DHCP relay agent information option (option 82) in DHCP packets destined for a DHCP server.

If you enable insertion of option 82 information in DHCP packets, you must specify at least the circuit-id statement to include the Agent Circuit ID suboption (suboption 1) of the DHCP relay agent information option.

You can use the relay-option-82 statement and its subordinate statements at the [edit forwarding-options dhcp-relay] hierarchy level to control insertion of option 82 information globally, or at the [edit forwarding-options dhcp-relay group group-name] hierarchy level to control insertion of option 82 information for a named group of interfaces.

To restore the default behavior (option 82 information is not inserted into DHCP packets), use the delete relay-option-82 statement.

The statements are explained separately.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.


Published: 2010-04-15

[an error occurred while processing this directive]