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)]
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 thehost-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.
Release Information
Statement introduced in Junos OS Release 8.3.
Support at the [edit ... dhcpv6]
hierarchy levels
introduced in Junos OS Release 11.4.
Support at the [edit ... relay-agent-remote-id]
and [edit ... remote-id]
hierarchy levels introduced in Junos
OS Release 14.1.