2-545
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp trap
set snmp trap
To enable or disable the different SNMP traps on the system or to add an entry into the SNMP
authentication trap receiver table, use the set snmp trap command.
set snmp trap {enable | disable} [all | auth | bridge | chassis | config | entity | entityfru |
envfan | envpower | envshutdown | flashinsert | flashremove | ippermit | macnotification |
module | stpx | syslog | system | vmps | vtp]
set snmp trap rcvr_addr rcvr_community [port rcvr_port] [owner rcvr_owner] [index rcvr_index]
Syntax Description enable Enables SNMP traps.
disable Disables SNMP traps.
all (Optional) Specifies all trap types and all port traps. See the “Usage
Guidelines” section before using this option.
auth (Optional) Specifies the authenticationFailure trap from RFC1157.
bridge (Optional) Specifies the newRoot and topologyChange traps from RFC
1493 (the BRIDGE-MIB).
chassis (Optional) Specifies the chassisAlarmOn and chassisAlarmOff traps from
the CISCO-STACK-MIB.
config (Optional) Specifies the sysConfigChange trap from the
CISCO-STACK-MIB.
entity (Optional) Specifies the entityMIB trap from the ENTITY-MIB.
entityfru (Optional) Specifies the entity field replaceable unit (FRU).
envfan (Optional) Specifies the environmental fan.
envpower (Optional) Specifies the environmental power.
envshutdown (Optional) Specifies the environmental shutdown.
flashinsert (Optional) Specifies flash insertion.
flashremove (Optional) Specifies flash removal.
ippermit (Optional) Specifies the IP Permit Denied access from the
CISCO-STACK-MIB.
macnotification (Optional) Specifies MAC address notification traps.
module (Optional) Specifies the moduleUp and moduleDown traps from the
CISCO-STACK-MIB.
stpx (Optional) Specifies the STPX trap.
syslog (Optional) Specifies the syslog notification traps.
system (Optional) Specifies the system.
vmps (Optional) Specifies the vmVmpsChange trap from the
CISCO-VLAN-MEMBERSHIP-MIB.
vtp (Optional) Specifies the VTP from the CISCO-VTP-MIB.
rcvr_addr IP address or IP alias of the system to receive SNMP traps.
rcvr_community Community string to use when sending authentication traps.
port rcvr_port (Optional) Specifies the UDP port and port number; valid values are from
0 to 65535.