ipv6 dhcp snooping option interface-id string

Syntax

ipv6 dhcp snooping option interface-id string interface-id

undo ipv6 dhcp snooping option interface-id string

View

Layer 2 Ethernet port view, Layer 2 aggregate interface view

Default level

2: System level

Parameters

interface-id: Specifies the DUID in user-defined Option 18, a string of 1 to 128 characters.

Description

Use ipv6 dhcp snooping option interface-id string to configure the DUID in Option 18.

Use undo ipv6 dhcp snooping option interface-id string to restore the default.

By default, the DUID in Option 18 is the DUID of the device.

Examples

# Specify company001 as the DUID in Option 18.

<Sysname> system-view
[Sysname] ipv6 dhcp snooping enable
[Sysname] vlan 1
[Sysname-vlan1] ipv6 dhcp snooping vlan enable
[Sysname-vlan1] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] ipv6 dhcp snooping option interface-id enable
[Sysname-Ethernet1/0/1] ipv6 dhcp snooping option interface-id string company001