D-Link DES-3250TG Command Line Interface Reference Manual - page 56
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
56
config port_security ports
Purpose
Used to configure port security settings.
Syntax
config port_security ports [
{admin_state [enable | disable] |
max_learning_addr
lock_address_mode
[DeleteOnTimeout|DeleteOnReset]}
Description
This command allows for the configuration of the port
security feature. Only the ports listed in the
are effected.
Parameters
− Specifies a range of ports to be
configured. The port list is specified by listing the
beginning port number and the highest port number
of the range. The beginning and end of the port list
range are separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4specifies all of
the ports between port 3 and port 4
− in numerical
order.
all
− configure port security for all ports on the switch.
admin_state [enabled|disaled] – enable or disable
port security for the listed ports.
max_learning_addr <1-10> - use this to limit the
number of MAC addresses dynamically listed in the
FDB for the ports.
lock_address_mode[DeleteOnTimout|DeleteOnReset
] – delete FDB dynamic entries for the ports on
timeout of the FDB (see Forwarding Database
Commands). Specify DeleteOnReset to delete all
FDB entries, including static entries upon system
reset or rebooting.
Restrictions Only
administrator-level users can issue this
command.