Amer Networks SS2R48G4i V2 User Manual
Page 94
SS2R24G4i/SS2R48G4i
83
1. Enable MAC address binding function for the ports
2. Lock the MAC addresses for a port
Command Explanation
Interface Mode
switchport port-security lock
no switchport port-security lock
Lock the port. After locking the port, no
MAC address can be learnt. “no
switchport port-security lock
” resume
the MAC address learning.
switchport port-security convert
Convert dynamic secure MAC addresses
learned by the port to static secure MAC
addresses.
switchport port-security timeout
no switchport port-security timeout
Enable port locking timer function; the
“no switchport port-security timeout”
restores the default setting.
switchport port-security mac-address
<mac-address>
no switchport port-security
mac-address <mac-address>
Add static secure MAC address; the
“no switchport port-security
mac-address <mac-address>”
command deletes static secure MAC
address.
clear port-security dynamic [address
<mac-addr>
| interface
<interface-id>]
Clear dynamic MAC addresses learned
by the specified port.
3. MAC address binding property configuration
Command Explanation
Interface Mode
switchport port-security
no switchport port-security
Enable MAC address binding
function;the” no switchport
port-security
command disables the
MAC address binding function
Command Explanation
Interface Mode
switchport port-security maximum
<value>
no switchport port-security maximum
<value>
Set the maximum number of secure
MAC addresses for a port; the “no
switchport port-security maximum
<value>
” command restores the
default value.
switchport port-security violation
{protect | shutdown}
no switchport port-security violation
Set the violation mode for the port;
the “ no switchport port-security
violation
” command restores the
default setting.