Rate and give feedback:
Feedback Received. Thank You!
prefix (DHCP Relay Agent)
Syntax
Hierarchy Level
[edit forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id],[edit forwarding-options dhcp-relay dhcpv6 group group-name relay-agent-interface-id],[edit forwarding-options dhcp-relay relay-option-82 circuit-id],[edit forwarding-options dhcp-relay group group-name relay-option-82 circuit-id],[edit logical-systems logical-system-name forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id],[edit logical-systems logical-system-name forwarding-options dhcp-relay dhcpv6 group group-name relay-agent-interface-id],[edit logical-systems logical-system-name forwarding-options dhcp-relay relay-option-82 circuit-id],[edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name relay-option-82 circuit-id],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 group group-name relay-agent-interface-id],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay relay-option-82 circuit-id],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay group group-name relay-option-82 circuit-id],[edit routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id],[edit routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 group group-name relay-agent-interface-id],[edit routing-instances routing-instance-name forwarding-options dhcp-relay relay-option-82 circuit-id],[edit routing-instances routing-instance-name forwarding-options dhcp-relay group group-name relay-option-82 circuit-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.
Description
Add a prefix to the base option 82
Agent Circuit ID information in DHCP packets destined for a DHCP server.
The prefix can consist of any combination of the hostname, logical
system name, and routing instance name. Use the statement at the [edit ... dhcpv6] hierarchy levels to configure DHCPv6 support.
If you include only the hostname, only the logical
system name, or only the routing instance name in the prefix, the
format of the Agent Circuit ID information for Fast Ethernet or Gigabit
Ethernet interfaces with stacked virtual LANs (S-VLANs) is one of
the following:
host-name:(fe | ge)-fpc/pic/port:svlan-id-vlan-idlogical-system-name:(fe | ge)-fpc/pic/port:svlan-id-vlan-idrouting-instance-name:(fe | ge)-fpc/pic/port:svlan-id-vlan-id
If you include both the logical system name and
the routing instance name in the prefix, the format of the Agent Circuit
ID information for Fast Ethernet or Gigabit Ethernet interfaces with
S-VLANs is as follows:
logical-system-name;routing-instance-name:(fe | ge)-fpc/pic/port:svlan-id-vlan-id
If you include the hostname, logical system name,
and routing instance name in the prefix, the format of the Agent Circuit
ID information for Fast Ethernet or Gigabit Ethernet interfaces with
S-VLANs is as follows:
host-name/logical-system-name;routing-instance-name:(fe | ge)-fpc/pic/port:svlan-id-vlan-id
For Fast Ethernet or Gigabit Ethernet interfaces
that use virtual LANs (VLANs) but not S-VLANs, only the vlan-id value appears in the Agent Circuit ID format.
For Fast Ethernet or Gigabit Ethernet interfaces that do not use VLANs
or S-VLANs, neither the vlan-id value
nor the svlan-id value appears.
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 Agent Circuit ID information.
- logical-system-name—Prepend the name
of the logical system to the Agent Circuit ID information.
- routing-instance-name—Prepend the name
of the routing instance to the Agent Circuit ID information.
Required Privilege Level
interface—To view this statement
in the configuration.
interface-control—To add this statement to
the configuration.
Published: 2014-04-23