set protocols dhcp6 snooping vlan


The set protocols dhcp6 snooping vlan disable command enables DHCPv6 snooping in a specified VLAN.


Command Syntax

set protocols dhcp6 snooping vlan <vlan-id> disable <true | false>


Parameters

Parameter

Description

vlan <vlan-id>

Specifies a VLAN. The value is an integer that ranges from 1 to 4094.

disable <true | false>

Enables or disables DHCPv6 snooping, the value could be true or false:

  • true: Disables DHCPv6 snooping.
  • false: Enables DHCPv6 snooping.

By default, DHCPv6 snooping is disabled.


Usage Guidelines

DHCPv6 snooping should be enabled in the VLAN, it takes effect only on the DHCPv6 messages received from the VLAN enabled with DHCPv6 snooping function. Packets received from the VLANs with DHCPv6 snooping disabled will not be processed by the DHCPv6 snooping module, and they will be processed and forwarded by the device as ordinary packets.

NOTE:

  • The DHCPv6 snooping function is only practicable to the clients directly connected to the local L2 domain, rather than connected through a router.
  • When DHCPv6 snooping is disabled, the DHCPv6 binding entry for the VLAN will be removed correspondingly.


Example

  • Enable DHCPv6 snooping in VLAN 12.
admin@Xorplus# set protocols dhcp6 snooping vlan 12 disable false
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.