xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
751
command will be rejected. The default value is 32.
<max_lock_no 0-3328>
- Specify the value between 0 and 3328.
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) Specify the VLAN to limit the address learning.
<vlan_name 32>
- Specify the name of the VLAN. The maximum length is 32 characters.
vlanid
- Specify a list of VLANs by VLAN ID to limit the address learning.
<vidlist>
- Specify a list of VLAN ID.
max_learning_addr
- (Optional) Specify 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>
- Specify the value between 0 and 3328.
no_limit
- Specify no limitation on the number of entries.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure port security:
DGS-3420-28SC: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-3420-28SC:admin#
To configure a port security setting:
DGS-3420-28SC: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-3420-28SC:admin#
68-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, for
Содержание xStack DGS-3420 Series
Страница 1: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide I ...
Страница 188: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 183 ...
Страница 398: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 393 DGS 3420 28SC admin ...
Страница 713: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 708 ...
Страница 733: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 728 DGS 3420 28SC admin ...
Страница 902: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 897 ...