D-Link xstack DGS-3620 series Reference Manual page 997

Layer 3 managed stackable gigabit switch
Hide thumbs Also See for xstack DGS-3620 series:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
learned on the port, new entries will be dropped. This is the default setting.
shutdown - Specifies that when the number of secure MAC addresses reaches the maximum
learned on the port, the port will be shut down and enter the error-disabled state
immediately. The port state is recovered only by enabling the port manually. The shutdown
action only applies to port-level security settings.
lock_address_mode - Indicate locking address mode. The default mode is deleteonreset.
permanent - The address will never be deleted unless the user removes it manually or the
VLAN of the entry is removed or the port are removed from the VLAN, or port security is
disabled on the port where the address resides.
deleteontimeout - The locked addresses can be aged out after aging timer expires.
deleteonreset - This address will be removed if the switch is reset or reboots. The cases
under which the permanent entries are deleted also apply to the deleteonreset entries
vlan - (Optional) Specifies the VLAN to limit the address learning.
<vlan_name 32> - Enter the name of the VLAN. The maximum length is 32 characters.
vlanid - Specifies a list of VLANs by VLAN ID to limit the address learning.
<vidlist> - Enter a list of VLAN ID.
max_learning_addr - (Optional) Specifies the maximum of MAC address entries that can be
learned on this port. If the value is set to 0, it means that no user can get authorized by the
port security function on this port. If the setting is smaller than the number of current learned
entries on the port, the command will be rejected. The default value is 32.
<max_lock_no 0-3328> - Enter the value between 0 and 3328.
no_limit - Specifies no limitation on the number of entries.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure port security:
DGS-3620-28PC:admin#config port_security ports 6 admin_state enable
max_learning_addr 10 lock_address_mode permanent
Command: config port_security ports 6 admin_state enable max_learning_addr 10
lock_address_mode permanent
Success.
DGS-3620-28PC:admin#
To configure a port security setting:
DGS-3620-28PC:admin#config port_security ports 1 vlan vlanid 1
max_learning_addr 16
Command: config port_security ports 1 vlan vlanid 1 max_learning_addr 16
Success.
DGS-3620-28PC:admin#
85-2
config port_security system max_learning_addr
Description
This command is used to set the maximum number of MAC address entries that can be authorized
system wide. There are four levels of limitations on the learned entry number, for the entire system,
992

Advertisement

Table of Contents
loading

Table of Contents