beautypg.com

Allied Telesis AT-S60 User Manual

Page 105

background image

AT-S60 Command Line User’s Guide

103

The following command sets the security level to Secure for Ports 1
through 4 on the line card in Slot 9 and the intrusion action to disable
the ports:

set switch port=9.1-4 securitymode=secure
intrusionaction=disable participate=yes

The Participate option is required in the above command to activate the
disable intrusion action.

The following command sets the security level for Port 8 on the line card
in Slot 4 to the Limited mode, specifies a limit of 5 dynamic MAC
addresses, and sets the intrusion action to send a trap:

set switch port=4.8 securitymode=limited learn=5
intrusionaction=trap participate=yes

The following command changes the maximum number of learned MAC
addresses to 200 on Ports 4 and 6 on the line card in Slot 12. The
command assumes that the ports have already be set to the Limited
security mode:

set switch port=12.4,6 learn=200

The following command returns Ports 1 to 4 on the line card in Slot 11 to
the automatic security level, which, in effect, disables port security:

set switch port=11.1-4 securitymode=automatic