beautypg.com

Set switch port intrusionaction – Allied Telesis AT-S62 User Manual

Page 326

background image

Chapter 24: Port Security Commands

326

SET SWITCH PORT INTRUSIONACTION

Syntax

set switch port=port
intrusionaction=discard|trap|disable

Parameters

port

Specifies the port where you want to change the
intrusion action. You can specify more than one port
at a time. You can specify the ports individually (for
example, 5,7,22), as a range (for example, 18-23), or
both (for example, 1,5,14-22).

intrusionaction

Specifies the intrusion action. Options are:

discard

Discards an invalid frame. This is the
default setting.

trap

Discards an invalid frame and sends an
SNMP trap.

disable

Discards an invalid frame, sends an
SNMP trap, and disables the port.

Description

This command changes the security intrusion action on a port that is
operating in the Limited security mode. Intrusion action determines
what a port will do when it receives an invalid frame.

Example

This command changes the intrusion action to trap on ports 12 and 21:

set switch port=12,21 intrusionaction=trap