dhcp-option82
Syntax
dhcp-option82 { circuit-id { prefix hostname; use-interface-description; use-vlan-id; } remote-id { prefix hostname | mac | none; use-interface-description; use-string string; } vendor-id <string>; }
Hierarchy Level
[edit ethernet-switching-options secure-access-port vlan (all | vlan-name)] [edit forwarding-options helpers bootp] [edit forwarding-options helpers bootp interface interface-name]
Description
When the switch receives a DHCP request from a DHCP client connected on one of the switch's interfaces, have the switch insert DHCP option 82 (also known as the DHCP relay agent information option) information in the DHCP request packet header before it forwards or relays the request to a DHCP server. The server uses the option 82 information, which provides details about the circuit and host the request came from, in formulating the reply; the server does not, however, make any changes to the option 82 information in the packet header. The switch receives the reply and then removes the DHCP option 82 information before forwarding the reply to the client.
The remaining statements are explained separately. See CLI Explorer.
Default
Insertion of DHCP option 82 information is not enabled.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.3.