set maclock trap

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:

C3(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

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

 

Port String Syntax Used in the CLI” on page 7‐1.

 

 

enable disable

Enables or disables MAC lock trap messaging.

 

 

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’s (or stack’s) filtering database.

Example

This example shows how to enable MAC lock trap messaging on ge.2.3:

C3(su)->set maclock trap ge.2.3 enable

SecureStack C3 Configuration Guide 26-67

Page 813
Image 813
Enterasys Networks 9034313-07 manual Set maclock trap, Usage