set antispoof port-class

Use this command to assign an anti-spoofing class to a port or range of ports.

Syntax

set antispoof port-class class-index port-string

Parameters

class-index Specifies an anti-spoofing class index to assign to the specified port or port range.
port-string Specifies the port or port range to which the specified class is assigned.

Defaults

None.

Mode

All command modes.

Usage

Anti-spoofing classes configure the threshold of anti-spoofing violations that trigger an action as well as the action to take. Once a class is assigned to a port, if a violation threshold is reached on the port, the configured actions will be performed. See set antispoof class threshold-index for class configuration details. Use this command to assign a class to a port.

Examples

This example shows how to assign anti-spoofing class index 1 to port ge.1.2:

System(rw)->set antispoof port-class 1 ge.1.2