set antispoof

Use this command to globally enable or disable anti-spoofing on the switch.

Syntax

set antispoof {enable | disable}

Parameters

enable Globally enable anti-spoofing on the switch.
disable Globally disable anti-spoofing on the switch (default).

Defaults

Anti-spoofing is globally disabled by default.

Mode

All command modes.

Usage

Anti-spoofing must be globally enabled to be operational on the switch. One or more anti-spoofing features must be enabled on the port for frame snooping to take place. Port enabled anti-spoofing features are:

Any action that will be taken when an anti-spoofing violation occurs is configured in an anti-spoofing class (see set antispoof class and set antispoof class threshold-index).

Examples

This example shows how to globally enable anti-spoofing on the switch:

System(rw)->set antispoof enable
System(rw)->