![D-Link xStack DGS-3120 Series Cli Reference Manual Download Page 767](http://html1.mh-extra.com/html/d-link/xstack-dgs-3120-series/xstack-dgs-3120-series_cli-reference-manual_3503867767.webp)
xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
762
vlanid
- Specify the VLAN ID used here.
<vidlist>
- Enter the VLAN ID used here.
max_learning_addr
- Specify the maximum learning address value.
<max_lock_no 0-3072>
- Enter the maximum learning address value here. This value
must be between 0 and 3072.
no_limit
- Specify that the maximum learning address value will be set to no limit.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the port-based port security setting so that the maximum number of port security
entries is restricted to 10, and the lock_address mode is set to permanent on port 6:
DGS-3120-24TC:admin#config port_security ports 1:6 admin_state enable
max_learning_addr 10 lock_address_mode permanent
Command: config port_security ports 1:6 admin_state enable max_learning_addr 10
lock_address_mode permanent
Success.
DGS-3120-24TC:admin#
76-3
config port_security vlan
Description
This command is used to set the maximum number of port security entries that can be learned on
a specific VLAN.
There are four levels that limit the number of learned entries; the entire system, a port, a VLAN,
and a specific VLAN on a port. If any limitation is exceeded, the new entry will be discarded.
Format
config port_security vlan [<vlan_name 32> | vlanid <vidlist>] max_learning_addr
[<max_lock_no 0-3072> | no_limit]
Parameters
vlan
- Specify the VLAN by name.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
vlanid
- Specify a list of VLANs by VLAN ID.
<vidlist>
- Enter the VLAN ID list here.
max_learning_addr
- Specify the maximum number of port security entries that can be learned
by this VLAN. If this parameter is set to 0, it means that no user can be authorized on this
VLAN. If the setting is lower than the number of current learned entries on the VLAN, the
command will be rejected. The default value is “no_limit”
<max_lock_no 0-3072>
- Enter the maximum number of port security entries that can be
learned here. This value must be between 0 and 3072.
no_limit
- No limitation on the number of port security entries that can be learned by a specific
VLAN.
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...