remote-id
Syntax
remote-id { host-name host-name; mac (Option 82); prefix ( hostname | mac | none); use-interface-description (logical | device); use-string string; }
Hierarchy Level
For platforms with Enhanced Level 2 Software (ELS):
[edit vlans vlan-name forwarding-options dhcp-security option-82]
For platforms without ELS:
[edit ethernet-switching-options secure-access-port vlan (all | vlan-name) dhcp-option82], [edit forwarding-options helpers bootp dhcp-option82], [edit forwarding-options helpers bootp interface interface-name dhcp-option82]
Description
Insert the remote-id
suboption of DHCP option 82 (also known
as the DHCP relay agent information option) in DHCP request packet headers before forwarding
or relaying requests to a DHCP server. This suboption provides a trusted identifier for the
host system that has forwarded or relayed requests to the server.
The remaining statements are explained separately, and their availability depends on
the hierarchy level at which the remote-id
suboption is specified, as follows:
The statement
prefix
, is not supported at the[edit vlans vlan-name forwarding-options dhcp-security option-82]
hierarchy level.The statement
host-name
is supported only at the[edit vlans vlan-name forwarding-options dhcp-security option-82]
hierarchy level.
Default
If the remote-id
statement is not explicitly set, no remote ID value
is inserted in the DHCP request packet header.
If the remote-id
statement is explicitly set, but is not qualified by a keyword,
the following are true:
At the
[edit vlans vlan-name forwarding-options dhcp-security]
hierarchy level, the default keyword value is interface-name.At all other hierarchy levels, the default value of the
remote-id
keyword is the MAC address of the switch.
When you configure remote-id
, circuit-id
is also enabled,
even if you do not explicitly configure circuit-id
.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.3.
Hierarchy level [edit vlans vlan-name forwarding-options dhcp-security
option-82]
introduced in Junos OS Release 13.2X50-D10. (See Using the Enhanced Layer
2 Software CLI for information about ELS.)