![D-Link DGS-3700 Series Скачать руководство пользователя страница 280](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575280.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 280
DGS-3700-12:5#enable port_security trap_log
Command: enable port_security trap_log
Success.
DGS-3700-12:5#
disable port_security trap_log
Purpose
Used to disable the trap/log for port security.
Syntax
disable port_security trap_log
Description
This command is used to disable a port security trap/log. If the port security trap is
disabled, no trap will be sent out for MAC violations.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the port security trap/log setting:
DGS-3700-12:5#disable port_security trap_log
Command: disable port_security trap_log
Success.
DGS-3700-12:5#
config port_security system max_learning_addr
Purpose
This command is used to set the maximum number of port security entries that can be
learned by the system.
Syntax
config port_security system max_learning_addr [<max_lock_no 1-16384> |
no_limit (99999)]
Description
This command sets the maximum number of port security entries that can be
authorized system wide.
There are four levels of limitations on the learned entry number, for the entire system,
for a port, for a VLAN, and for specific VLANs on a port. If any limitation is
exceeded, the new entry will be discarded.
The setting for system level max learned users must be greater than the total of the
max learned users allowed on all ports.
Parameters
max_lock_no
−
Specifies the maximum number of port security entries that can be
learned by the system.
If the setting is smaller than the number of current learned entries on all enabled ports,
the command will be rejected.
By default, the number is set to no_limit.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure port security: