dhcpv6-snooping(inconfig-vlancontext)

Syntax

dhcpv6-snooping no dhcpv6-snooping

描述

Enables DHCPv6 snooping in theconfig-vlan上下文。DHCPv6snooping is disabled by default for all VLANs.

The no form of the command disables DHCPv6 snooping on the specified VLAN, flushing all the IPv6 bindings learned for this VLAN since DHCPv6 snooping was enabled for this VLAN.

Command context

config-vlan

权威

Administrators or local user group members with execution rights for this command.

Examples

Enabling DHCPv6 snooping on VLAN 100:

switch(config)#vlan 100switch(config-vlan-100)#dhcpv6-snoopingswitch(config-vlan-100)#exitswitch(config)#

Disabling DHCPv6 snooping on VLAN 100:

switch(config)#vlan 100switch(config-vlan-100)#no dhcpv6-snoopingswitch(config-vlan-100)#exitswitch(config)#