set antispoof class

Use this command to configure an anti-spoofing port class name or timeout value.

Syntax

set antispoof class class-index {name name | timeout timeout}

Parameters

class-index Specifies the class index that uniquely identifies the anti-spoofing class. Valid values are 1 - 3.
name name Specifies a descriptive name for this class of up to 32 printable characters.
timeout timeout Specifies a timeout value, in seconds, after which bindings associated with the class reset counters. Valid values are 0 - 4294967295 seconds. The default value is 600 seconds.

Defaults

  • If an anti-spoofing class name is not specified, the name defaults to a NULL string.
  • The anti-spoofing class threshold reset timeout defaults to 600 seconds.

Mode

All command modes.

Usage

An anti-spoofing class determines the action to be taken when anti-spoofing violations on a port reach the configured threshold. This command sets the class name and timeout value. See set antispoof class threshold-index for details on configuring class thresholds and actions.

Examples

This example shows how to set the anti-spoofing class index 1 name to antispoof1:

System(rw)->set antispoof class 1 name antispoof1

This example shows how to set the anti-spoofing class index 1 timeout value to 6000:

System(rw)->set antispoof class 1 timeout 6000