Configuring basic DHCPv6 snooping features in a common network

Restrictions and guidelines

Enabling DHCPv6 snooping

  1. Enter system view.

    system-view

  2. Enable DHCPv6 snooping.

    ipv6 dhcp snooping enable

    By default, DHCPv6 snooping is disabled.

Specifying a DHCPv6 snooping trusted port

  1. Enter interface view.

    interface interface-type interface-number

    This interface must connect to the DHCPv6 server.

  2. Specify the port as a trusted port.

    ipv6 dhcp snooping trust

    By default, all ports are untrusted ports after DHCPv6 snooping is enabled.

Enabling recording DHCPv6 snooping entries

  1. Enter system view.

  2. system-view

  3. Enter interface view.

    interface interface-type interface-number

  4. This interface must connect to the DHCPv6 clients.

  5. Enable recording DHCPv6 snooping entries. Choose the following tasks as needed:

    • Enable recording DHCPv6 snooping address entries.

      ipv6 dhcp snooping binding record

      By default, recording of DHCPv6 snooping address entries is disabled.

    • Enable recording DHCPv6 snooping prefix entries.

      ipv6 dhcp snooping pd binding record

      By default, recording of DHCPv6 snooping prefix entries is disabled.