Configuring Option 18 and Option 37

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Enable support for Option 18.

ipv6 dhcp snooping option interface-id enable

By default, Option 18 is not supported.

4. (Optional.) Specify the content as the interface ID.

ipv6 dhcp snooping option interface-id [ vlan vlan-id ] string interface-id

By default, the DHCPv6 snooping device uses its DUID as the content for Option 18.

5. Enable support for Option 37.

ipv6 dhcp snooping option remote-id enable

By default, Option 37 is not supported.

  • (Optional.) Specify the content as the remote ID.

ipv6 dhcp snooping option remote-id [ vlan vlan-id ] string remote-id

By default, the DHCPv6 snooping device uses its DUID as the content for Option 37.