[edit forwarding-options dhcp-relay relay-option-82]
user@host# set remote-id
•
To insert both, configure both set commands.
3. (Optional) Configure a prefix that is used in the option 82 information in the DHCP
packets.
See “Including a Prefix in DHCP Options” on page 386.
4. (Optional) Configure the DHCP relay agent to include the interface’s textual description
instead of the interface identifier in the option 82 information.
See “Including a Textual Description in DHCP Options” on page 388.
Including a Prefix in DHCP Options
When you configure the DHCP relay agent to include DHCP options in the packets that
the relay agent sends to a DHCP server, you can specify that the relay agent add a prefix
to the DHCP option. You can add a prefix to the following DHCP options:
•
DHCPv4 option 82 Agent Circuit ID (suboption 1)
•
DHCPv4 option 82 Agent Remote ID (suboption 2)
•
DHCPv6 option 18 Relay Agent Interface-ID
•
DHCPv6 option 37 Relay Agent Remote-ID
The prefix is separated from the DHCP option information by a colon (:), and it can include
any combination of the host-name, logical-system-name, and routing-instance-name
options. The DHCP relay agent obtains the values for the host-name, logical-system-name,
and routing-instance-name as follows:
•
If you include the host-name option, the DHCP relay agent uses the hostname of the
device configured with the host-name statement at the [edit system] hierarchy level.
•
If you include the logical-system-name option, the DHCP relay agent uses the logical
system name configured with the logical-system statement at the [edit logical-system]
hierarchy level.
•
If you include the routing-instance-name option, the DHCP relay agent uses the routing
instance name configured with the routing-instance statement at the [edit
routing-instances] hierarchy level or at the [edit logical-system logical-system-name
routing-instances] hierarchy level.
If you include the hostname and either or both of the logical system name and the routing
instance name in the prefix, the hostname is followed by a forward slash (/). If you include
both the logical system name and the routing instance name in the prefix, these values
are separated by a semicolon (;).
Copyright © 2017, Juniper Networks, Inc.386
ACX Series Universal Access Router Configuration Guide