option-37 (DHCPv6 Snooping)
Syntax
option-37 { prefix { host-name; logical-system-name; routing-instance-name; vlan-id; vlan-name; } use-interface-index (device | logical); use-interface-description (device | logical); use-interface-mac; use-interface-name (device | logical); use-string string; }
Hierarchy Level
[edit vlans vlan-name forwarding-options dhcp-security dhcpv6-options]
Description
Configure the DHCPv6 Relay Agent Remote ID option (option 37) to insert information in DHCPv6 requests from clients before forwarding them to a DHCPv6 server. Option 37 provides information about the remote host, which the server can use to assign IP addresses, prefixes, and other configuration parameters for the client.
When option 37 is configured, a unique remote ID is inserted into the DHCPv6 packet headers. Suboptions can be configured to include a prefix with the remote ID or to change the interface portion of the ID. The default fields included in option 37 are the Juniper Enterprise ID, VLAN, and MAC address of the interface.
Option 37 is the DHCPv6 equivalent of the remote-id
sub-option of DHCP option 82.
DHCPv6 packets that already contain option 37 information when received from a client are dropped by the switch.
Options
use-interface-mac |
Use the MAC address of the interface in the DHCPv6 remote ID. |
use-string string |
Use a custom string in the DHCPv6 remote ID. |
The remaining statements are explained separately.
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 14.1X53-D10 .