location (DHCP Relay Agent)
Syntax
location name;
Hierarchy Level
[edit forwarding-options dhcp-relay relay-option-82 vendor-specific], [edit forwarding-options dhcp-relay group group-name relay-option-82 vendor-specific]
Description
Supports the addition of a vendor-specific location in the option 82, suboption 9 field of DHCPv4 control messages on server-facing interfaces. The location should be specified as interface, vlan ID, and if applicable, svlan ID. For example, <ifd-name>:<vlan> (ae0:100) or <ifd-name>:<svlan> -<vlan> (ae0:100-10).
Junos OS automatically adds the remaining vendor-specific information as per RFC 4243, Vendor-Specific Information Suboption for the Dynamic Host Configuration Protocol (DHCP) Relay Agent Option. The Juniper Networks enterprise ID is 2636. The the location is option-data 2 (the hostname is option-data 1). The DHCPv4 relay strips the suboption data from replies from the server before it relays the packets out the client facing interface.
This feature can be useful, in conjunction with operator-developed tools, for troubleshooting DHCP servers and providing service assurances. For example, a central DHCP server can log the information, and operators can query the hostname to track and troubleshoot subscriber IP information and network attachment points.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Command introduced in Junos OS Release 16.2.