Use this command to assign an anti-spoofing class to a port or range of ports.
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. |
None.
All command modes.
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.
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