65. Port Security Commands
752
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.
Содержание ZEQUO 6400
Страница 158: ...12 Basic IP Commands 159 Zxxx0 admin config ipif System vlan v1 Command config ipif System vlan v1 Success Zxxx0 admin ...
Страница 160: ...12 Basic IP Commands 161 ...
Страница 189: ...17 Command Logging Command List 190 ...
Страница 554: ...49 MAC based Access Control Commands 555 ...
Страница 644: ...58 Network Monitoring Commands 645 Zxxx0 admin clear attack_log Command clear attack_log Success Zxxx0 admin ...
Страница 812: ...69 QoS Commands 813 ...
Страница 839: ...73 SNMPv1 v2 v3 Commands 840 Only Administrator level users can issue this command ...
Страница 962: ...85 Virtual Router Redundancy Protocol VRRP Command List 963 ...
Страница 1050: ...91 System Log Lists 1051 ...