DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
200
25
Port Security Command List
config port_security ports | all ] { admin_state [enable | disable] |max_learning_addr
<max_lock_no 0-16> | lock_address_mode
[Permanent|DeleteOnTimeout|DeleteOnReset]
delete port_security_entry vlan_name<vlan_name 32> port <port> mac_address <macaddr>
clear port_security_entry port <portlist>
show port_security {ports <portlist>}
enable port_security trap_log
disable port_security trap_log
25-1 config port_security
Purpose
To
configure
port
security.
Format
config port_security ports| all ] { admin_state [enable | disable] |max_learning_addr
<max_lock_no 0-16> | lock_address_mode [Permanent|DeleteOnTimeout|DeleteOnReset])
Description
The
config port_security
command includes admin state, maximum learning address, and lock address
mode.
Parameters
Parameters
Description
portlist
Specifies a range of ports to be configured.(port number).
all
All ports be configured.
admin_state
allows the port security to be enabled or disabled for the ports specified
in the port list.
max_learning_addr
The maximum number of address learning set to the ports specified in
the portlist. The range of the maximum number will depends on project
definition.
Indicates the mode of locking address.
lock_address_mode
Permanent
The locked addresses will not be aged out after
aging timer expire.