Chapter 83 Port Security Commands - D-Link xStack DGS-3620 Reference Manual

Hide thumbs Also See for xStack DGS-3620:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
Chapter 83
config port_security ports [<portlist> | all] [{admin_state [enable | disable] | max_learning_addr
<max_lock_no 0-3328> | action [drop | shutdown] | lock_address_mode [permanent |
deleteontimeout | deleteonreset]}(1) | {vlan [<vlan_name 32> | vlanid <vidlist>]
max_learning_addr [<max_lock_no 0-3328> | no_limit]}(1)]
config port_security system max_learning_addr [<max_lock_no 1-3328> | no_limit]
config port_security vlan [<vlan_name 32> | vlanid <vidlist>] max_learning_addr [<max_lock_no
0-3328> | no_limit]
delete port_security_entry [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] mac_address
<macaddr>
clear port_security_entry {ports [<portlist> | all] | {[vlan <vlan_name 32> | vlanid <vidlist>]}}
show port_security_entry {ports {<portlist>} {[vlan <vlan_name 32> | vlanid <vidlist>]}}
show port_security {ports {<portlist>} {[vlan <vlan_name 32> | vlanid <vidlist>]}}
config port_security log state [enable | disable]
config port_security trap state [enable | disable]
83-1
config port_security ports
Description
This command is used to set the port's state, maximum supported MAC address entries, the
default entry type, and set the maximum port-security entries that can be learned with a specific
VLAN on a specific port. There are four levels of limitations on the learned entry number, for the
entire system, for a port, for a VLAN, and for specific VLAN on a port. If any limitation is exceeded,
the new entry will be discarded.
Format
config port_security ports [<portlist> | all] [{admin_state [enable | disable] |
max_learning_addr <max_lock_no 0-3328> | action [drop | shutdown] | lock_address_mode
[permanent | deleteontimeout | deleteonreset]}(1) | {vlan [<vlan_name 32> | vlanid <vidlist>]
max_learning_addr [<max_lock_no 0-3328> | no_limit]}(1)]
Parameters
<portlist> - Enter a range of ports to be configured.
all - Specifies that all ports will be configured.
admin_state - Allow the port security to be enabled or disabled for the ports specified in the port
list. The default setting is disabled.
enable - Enable port security for the ports specified in the port list.
disable - Disable port security for the ports specified in the port list.
max_learning_addr - 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.
action - Specifies the action that will be taken when the number of secure MAC addresses,
learned on the port, reaches the maximum limit.
drop - Specifies that when the number of secure MAC addresses reaches the maximum
Port Security
Commands
969

Advertisement

Table of Contents
loading

Table of Contents