prefix (DHCP Relay Agent)
Syntax prefix prefix;
Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 (relay-agent-interface-id |
relay-agent-remote-id)],
[edit forwarding-options dhcp-relay dhcpv6 group group-name (relay-agent-interface-id |
relay-agent-remote-id)],
[edit forwarding-options dhcp-relay relay-option-82 (circuit-id | remote-id)],
[edit forwarding-options dhcp-relay group group-name relay-option-82 (circuit-id |
remote-id)],
[edit logical-systems logical-system-name ... forwarding-options dhcp-relay dhcpv6
(relay-agent-interface-id | relay-agent-remote-id)],
[edit logical-systems logical-system-name ... forwarding-options dhcp-relay ... relay-option-82
(circuit-id | remote-id)],
[edit routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6
(relay-agent-interface-id | relay-agent-remote-id)],
[edit routing-instances routing-instance-name forwarding-options dhcp-relay ...
relay-option-82 (circuit-id | remote-id)]
Release Information Statement introduced in Junos OS Release 8.3.
Support at the [edit ... dhcpv6] hierarchy levels introduced in Junos OS Release 11.4.
Statement introduced in Junos OS Release 12.3 for EX Series switches.
Support at the [edit ... relay-agent-remote-id] and [edit ... remote-id] hierarchy levels
introduced in Junos OS Release 14.1.
Description Add a prefix to the DHCP base option 82 Agent Circuit ID (suboption 1) or Agent Remote
ID (suboption 2) information, or to the DHCPv6 option 18 (Relay Agent Interface-ID) or
option 37 (Relay Agent Remote-ID) information in DHCP packets that DHCP relay agent
sends to a DHCP server. The prefix can consist of any combination of the hostname,
logical system name, and routing instance name.
Options prefix—Any of the following:
• host-name—Prepend the hostname of the router configured with the host-name
statement at the [edit system] hierarchy level to the DHCP option information.
• logical-system-name—Prepend the name of the logical system to the option information.
• routing-instance-name—Prepend the name of the routing instance to the option
information.
Required Privilege
Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related
Documentation
• Including a Prefix in DHCP Options on page 63
• Using DHCP Relay Agent Option 82 Information on page 60
• Configuring DHCPv6 Relay Agent Options
Copyright © 2017, Juniper Networks, Inc.262
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches