SGS-6341-Series User Manual

Table Of Contents
21-111
21.5.1.2 MAC Address Binding Configuration Task List
1. Enable MAC address binding function for the ports
2. Lock the MAC addresses for a port
3. MAC address binding property configuration
1. Enable MAC address binding function for the ports
Command Explanation
Port Mode
switchport port-security
no switchport port-security
Enable MAC address binding function for
the port and lock the port. When a port is
locked, the MAC address learning function
for the port will be disabled: the “no
switchport port-security command
disables the MAC address binding function
for the port, and restores the MAC address
learning function for the port.
2. Lock the MAC addresses for a port
Command Explanation
Port Mode
switchport port-security aging {static |
time <value> | type {absolute |
inactivity}}
no switchport port-security violation
aging {static | time | type}
Enable the aging entries of port-security,
and specify the aging time and type on the
interface.
switchport port-security mac-address
<mac-address> [vlan <vlan-id>]
no switchport port-security
mac-address <mac-address> [vlan
<vlan-id>]
Configure the static secure MAC on the
interface, the no command cancels the
configuration.
Admin Mode
clear port-security dynamic [address
<mac-addr> | interface <interface-id>]
Clear dynamic MAC addresses learned by
the specified port.
User’s Manual of SGS-6341 series