ipv6 dhcp snooping trust

Syntax

ipv6 dhcp snooping trust

undo ipv6 dhcp snooping trust

View

Layer 2 Ethernet port view, Layer 2 aggregate interface view

Default level

2: System level

Parameters

None

Description

Use ipv6 dhcp snooping trust to configure a DHCPv6 trusted port.

Use undo ipv6 dhcp snooping trust to restore the default.

By default, all interfaces of a device with DHCPv6 snooping enabled globally are untrusted ports.

After DHCPv6 snooping is enabled, to make sure that DHCPv6 clients can obtain IPv6 addresses from an authorized DHCPv6 server, you need to configure the port that connects to the authorized DHCPv6 server as a trusted port.

Examples

# Configure Ethernet port Ethernet 1/0/1 as a trusted port.

<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] ipv6 dhcp snooping trust