47. Port Security Commands
443
Format
config port_security ports [<portlist> | all] [{admin_state [enable | disable] |
max_learning_addr <max_lock_no 0-3328> | lock_address_mode [permanent |
deleteontimeout | deleteonreset]}(1) | {vlan [<vlan_name 32> | vlanid <vidlist>]
max_learning_addr [<max_lock_no 0-3328> | no_limit]}]
Parameters
<portlist>Specify a range of ports to be configured.
all
Specify 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
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.
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 Switching Hub 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.
vlanidSpecify 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.
Summary of Contents for ZEQUO 2200
Page 3: ...3 ...
Page 86: ...7 ARP Commands 86 ...
Page 93: ...9 Auto Configuration Commands 93 ...
Page 273: ...30 IPv6 NDP Commands 273 ...
Page 330: ...36 LLDP Commands 330 ...
Page 361: ...39 MAC based Access Control Commands 361 ...
Page 461: ...49 Protocol VLAN Commands 461 ...
Page 483: ...50 QoS Commands 483 ...
Page 504: ...53 SNMPv1 v2 v3 Commands 504 Only Administrator level users can issue this command ...
Page 523: ...53 SNMPv1 v2 v3 Commands 523 ...
Page 562: ...57 Subnet VLAN Commands 562 ...