relay-option-82
Syntax
- relay-option-82 {
-
- circuit-id {
- prefix host-name
logical-system-name routing-instance-name;
- }
- }
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. Optionally, you can also specify the prefix statement to add a prefix to the base option 82 information that consists of any combination of the hostname, logical system name, and routing instance name. Specifying the relay-option-82 statement with no subordinate statements disables insertion of option 82 information in DHCP packets, which is the default behavior.
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.
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.
