beautypg.com

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

Page 570

background image

Chapter 33: MAC Address-based Port Security Commands

570

Section VII: Port Security

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 action the port takes when it receives an

invalid frame. The options are:

discard

The port discards invalid frames. This is
the default.

trap

The port discards invalid frames and
sends an SNMP trap.

disable

The port discards invalid frames, sends an
SNMP trap, and disables the port.

Description

This command defines what a port does when it receives an invalid frame.
and applies only to ports operating in the Limited security mode.

Example

The following command sets the intrusion action to trap on ports 12 and
21:

set switch port=12,21 intrusionaction=trap