nd-snooping nd-guard

Syntax

nd-snooping nd-guard

no nd-snooping nd-guard

Description

This command enables ND guard on the selected VLAN.

The no form of the command disables ND guard and deletes all the IPv6 bindings learned on the VLAN.

NOTE:

ND snooping must be enabled in both the global context and the config-vlan context before this command can be used.

Command context

config-vlan

Authority

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

Examples

Enabling ND snooping ND guard on VLAN 100:

switch(config)# nd-snooping enable
switch(config)# vlan 100
switch(config-vlan-100)# nd-snooping nd-guard
switch(config-vlan-100)# exit
switch(config)#

Disabling ND snooping ND guard on VLAN 100:

switch(config)# vlan 100
switch(config-vlan-100)# no nd-snooping nd-guard
switch(config-vlan-100)# exit
switch(config)#