set maclock syslog
Enterasys C3 Configuration Guide 32-73
Parameters
Defaults
Traps are disabled by default. When a set macklock trap enable command is executed without a
violation or threshold parameter, violation is assumed.
Mode
Switch command, read-write.
Usage
When violation is 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.
When threshold is enabled, the agent issues a trap when the MAC address table threshold, as
defined in the etsysMACLockingFirstArrivalStationsAllocated object, is reached.
Example
This example shows how to enable the MAC lock trap threshold trap on ge.2.3:
C3(su)->set maclock trap ge.2.3 enable threshold
set maclock syslog
Use this command to set the status of MAC locking syslog messages.
Syntax
set maclock syslog port-string {disable | enable} [threshold | violation]
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 11-1.
enable | disable Enables or disables MAC lock trap messaging.
threshold (Optional) Send a trap if the MAC address table threshold is reached.
violation (Optional) Send a trap if a connected end station exceeds the maximum
values configured with the set maclock firstarrival and set maclock static
commands.
port-string Specifies the port or ports on which MAC lock syslog messaging will be
enabled or disabled.
enable | disable Enables or disables MAC lock syslog messaging.
threshold (Optional) Send a syslog message when the MAC address table
threshold is reached.
violation (Optional) Send a syslog message if a connected end station exceeds the
maximum values configured with the set maclock firstarrival and set
maclock static commands.