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

user-defined-option-82

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
user-defined-option-82 string;

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options dhcp-relay group group-name interface interface-name overrides user-defined-option82 string],
[edit forwarding-options dhcp-relay group group-name overrides user-defined-option82 string],
[edit forwarding-options dhcp-relay overrides user-defined-option82 string]

Description

Configure a custom text string to use as the interface description in the DHCP option 82 Agent Circuit ID (suboption 1) information. This text string is defined independently of the interface description that is configured using the description statement at the [edit interfaces interface-name] hierarchy level.

The custom text string is configured using the user-defined-option-82 statement at the following hierarchy levels:

  • To configure a custom string on an interface level:

    content_copy zoom_out_map
    [edit forwarding-options dhcp-relay group group-name interface interface-name overrides user-defined-option82 string]
    
  • To configure a custom string at the group level:

    content_copy zoom_out_map
    [edit forwarding-options dhcp-relay group group-name overrides user-defined-option82 string]
    
  • To configure a custom string globally:

    content_copy zoom_out_map
    [edit forwarding-options dhcp-relay overrides user-defined-option82 string]
    

You can define a custom string up to 251 characters in length. To include the custom string in the DHCP option 82 Agent Circuit ID, you must configure the user-defined statement at the [edit forwarding-options dhcp-relay group group-name relay-option-82 circuit-id] hierarchy level.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 17.2.

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release
Description
21.2R1
Starting with Junos OS Release 21.2R1, QFX Series switches support the user-defined-option-82 CLI statement in a stateless DHCP relay configuration. You can configure stateless DHCP relay using the forward-only CLI statement at the [edit forwarding-options dhcp-relay] hierarchy level.
footer-navigation