beautypg.com

Set switch securitymode – Allied Telesis AT-S39 User Manual

Page 75

background image

AT-S39 Command Line Interface User’s Guide

75

SET SWITCH SECURITYMODE

Syntax

set switch securitymode=automatic|limited|secure|
locked

Parameter

securitymode

Specifies the switch’s security mode. Values are:

automatic

Disables port security on the switch.

This is the default setting.

limited

Sets the switch to the Limited security

mode. This mode allows you to specify
a maximum number of MAC addresses
each port can learn. To specify a MAC
address limit for a port, use the SET
SWITCH THRESHOLD command.

secure

Sets the switch to the Secure security

mode. In this mode the switch forwards
frames based only on static MAC
addresses. After activating this security
mode, you must enter the static MAC
addresses of the nodes with frames the
switch is to forward. To add static MAC
addresses, use the ADD SWITCH FDB
command.

locked

Sets the switch to the Lock All Ports

security mode. This mode causes the
switch to stop learning new dynamic
MAC addresses. The switch forwards
frames based on static MAC addresses
and on those dynamic addresses it has
already learned.

Description

This command sets a switch’s port security mode. Only one mode can be
active on a switch at a time. To view a switch’s current security mode
setting, use the SHOW SWITCH command.