location (DHCPv6 Relay Agent)
Syntax
location name;
Hierarchy Level
[edit forwarding-options dhcp-relay dhcpv6 relay-option-vendor-specific], [edit forwarding-options dhcp-relay group group-name dhcpv6 relay-option-vendor-specific]
Description
Supports the addition of a vendor-specific location in the vendor-specific option (17) of DHCPv6 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 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 DHCPv6 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.