Specifications
147
DCS-3950 series Ethernet switch manual
8.5.1.2.2.6 clear port-security dynamic
Command: clear port-security dynamic [address <mac-addr>|interface
<interface-id>]
Function: Clear the Dynamic MAC addresses of the specified port.
Command mode: Admin Mode
Parameters: <mac-addr> stands MAC address; <interface-id> for specified port
number.
Usage Guide: The secure port must be locked before dynamic MAC clearing operation
can be performed in specified port. If no ports and MAC are specified, then all dynamic
MAC in all locked secure ports will be cleared; if only port but no MAC address is specified,
then all MAC addresses in the specified port will be cleared.
Example: Delete all dynamic MAC in port1.
Switch#clear port-security dynamic interface Ethernet 0/0/1
8.5.1.2.2.7 switchport port-security maximum
Command: switchport port-security maximum <value>
no switchport port-security maximum
Function: Set the maximum number of secure MAC addresses for a port; the ‘no
switchport port-security maximum’ command restores the maximum secure address
number of 1.
Command mode: Interface Mode
Parameters: < value> is the up limit for static secure MAC address, the valid range is 1 to
128.
Default: The default maximum port secure MAC address number is 1.
Usage Guide: The MAC address binding function must be enabled before maximum
secure MAC address number can be set. If secure static MAC address number of the port
is larger than the maximum secure MAC address number set, the setting fails; extra
secure static MAC addresses must be deleted, so that the secure static MAC address
number is no larger than the maximum secure MAC address number for the setting to be
successful.
Example: Set the maximum secure MAC address number for port 1 to 4.
Switch(Config)#interface Ethernet 0/0/1
Switch(Config-Ethernet0/0/1)#switchport port-security maximum 4
8.5.1.2.2.8 switchport port-security violation
Command:switchport port-security violation {protect|shutdown}
no switchport port-security violation
Function:Configure the port violation mode. The ‘no switchport port-security violation’
restores the violation mode to protect mode.
Command mode:Interface Mode
Parameters:protect refers to protect mode; shutdown refers to shutdown mode
Default:The port violation mode is protect by default
Usage Guide:The port violation mode configuration is only available after the MAC