Enterasys Networks D2G124-12 User Manual

Page of 496
set maclock trap
15-56 Security Configuration
Mode
Switch command, read‐write.
Usage
If there are more first arrival MACs than the allowed maximum static MACs, then only the latest 
first arrival MACs will be moved to static entries. For example, if you set the maximum number of 
static MACs to 2 with the set maclock static command, and then executed the set maclock move 
command, even though there were five MACs in the first arrival table, only the two most recent 
MAC entries would be moved to static entries. 
Example
This example shows how to move all current first arrival MACs to static entries on ports 
ge
.3.1‐40: 
D2(rw)->set maclock move ge.3.1-40
set maclock trap
Use this command to enable or disable MAC lock trap messaging. 
Syntax
set maclock trap port-string {enable | disable}
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Usage
When enabled, this feature authorizes the switch to send an SNMP trap message if an end station 
is connected that exceeds the maximum values configured using the set maclock firstarrival and 
set maclock static commands. Violating MAC addresses are dropped from the device’sfiltering 
database.
Example
This example shows how to enable MAC lock trap messaging on 
ge
.2.3: 
D2(su)->set maclock trap ge.2.3 enable
port‐string
Specifies the port on which MAC lock trap messaging will be enabled or 
disabled. For a detailed description of possible port‐string values, refer to 
enable | disable
Enables or disables MAC lock trap messaging.