Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

dhcp-option82

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
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

content_copy zoom_out_map
[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.

footer-navigation