Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Inserting the DHCPv6 Interface Identifier into DHCPv6 Packets

    You can configure DHCPv6 relay agent to insert the DHCPv6 interface identifier, using option 18, in the packets that the relay sends to a DHCPv6 server. You can configure the option 18 support at either the DHCPv6 global level or the DHCPv6 group level.

    When you configure option 18 support, you can optionally include the following additional information:

    • Prefix—Specify the prefix option to add a prefix to the interface identifier. The prefix can be any combination of hostname and routing instance name.
    • Interface description—Specify the use-interface-description option to include the textual interface description instead of the interface identifier. You can include either the device interface description or the logical interface description.

    Note: If you specify one of the optional configurations, and the specified information does not exist (for example, if there is no interface description), DHCPv6 relay ignores the optional configuration and inserts the default interface identifier in the packets.

    To insert the DHCPv6 interface identifier (option 18) in DHCPv6 packets:

    1. Configure the DHCPv6 relay to include option 18.
      [edit forwarding-options dhcp-relay dhcpv6]
      user@host# edit relay-agent-interface-id
    2. (Optional) Specify the prefix to include in option 18.
      [edit forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id]
      user@host# set prefix prefix
    3. (Optional) Specify that option 18 use the textual description of the interface. You can specify the device interface description.
      [edit forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id]
      user@host# set use-interface-description (device)

    Modified: 2016-04-21