Quick Reference Guide
System Management Commands | 83
snmp-server enable trap violation
This command enables the sending of new violation traps designating when a packet with a disallowed
MAC address is received on a locked port.
Syntax
[no] snmp-server enable trap violation
The no version of this command disables the sending of new violation traps.
Default
Disabled
Mode
Interface Config; Interface Port Channel Config; Interface Range, which is indicated by the
(conf-if-range-interface)# prompt, such as (conf-if-range-vlan 10-20)#.
Command
History
Related
Commands
snmp-server traps enable
This command enables the Authentication traps.
Syntax
[no] snmp-server traps enable
The no version of this command disables the Authentication traps.
Default
enabled
Mode
Global Config
Command
History
snmptrap
This command adds an SNMP trap receiver name and trap receiver IP address. The maximum name
length is 16 case-sensitive alphanumeric characters.
Syntax
[no] snmptrap name ipaddr
The no version of this command deletes the specified trap receiver from the community.
Default
The default name for the six undefined community names is Delete.
Mode
Global Config
Version 2.5.1 Added Interface Port Channel Config mode
Version 2.3 Added Interface Range mode.
interface range Defines an interface range and accesses the Interface Range mode
interface Identifies an interface and enters the Interface Config mode.
Version 2.3
Corrected from
snmp-server enable traps