Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
snmp-server enable traps
Use the snmp-server enable traps global configuration command on the switch stack or on a standalone
switch to enable the switch to send Simple Network Management Protocol (SNMP) notifications for
various traps or inform requests to the network management system (NMS). Use the no form of this
command to return to the default setting.
Syntax Description
bgp
bridge
cluster
config
copy-config
entity
envmon [fan |
shutdown | status |
supply | temperature]
flash [insertion |
removal]
78-16181-03
snmp-server enable traps [bgp | bridge | cluster | config | copy-config | entity | envmon [fan |
shutdown | status | supply | temperature] | flash [insertion | removal] | fru-ctrl | hsrp |
ipmulticast | mac-notification | msdp | ospf [cisco-specific | errors | lsa | rate-limit |
retransmit | state-change] | pim [invalid-pim-message | neighbor-change |
rp-mapping-change] | port-security [trap-rate value] | rtr | snmp [authentication | coldstart
| linkdown | linkup | warmstart] | storm-control trap-rate value | stpx | syslog | tty |
vlan-membership | vlancreate | vlandelete | vtp]
no snmp-server enable traps [bgp | bridge | cluster | config | copy-config | entity | envmon [fan
| shutdown | status | supply | temperature] | flash [insertion | removal] | fru-ctrl | hsrp |
ipmulticast | mac-notification | msdp | ospf [cisco-specific | errors | lsa | rate-limit |
retransmit | state-change] | pim [invalid-pim-message | neighbor-change |
rp-mapping-change] | port-security [trap-rate] | rtr | snmp [authentication | coldstart |
linkdown | linkup | warmstart] | storm-control trap-rate | stpx | syslog | tty |
vlan-membership | vlancreate | vlandelete | vtp]
(Optional) Enable Border Gateway Protocol (BGP) state change traps.
Note
(Optional) Generate STP bridge MIB traps.
(Optional) Enable cluster traps.
(Optional) Enable SNMP configuration traps.
(Optional) Enable SNMP copy-configuration traps.
(Optional) Enable SNMP entity traps.
Optional) Enable SNMP environmental traps. The keywords have these
meanings:
•
•
•
•
•
(Optional) Enable SNMP FLASH notifications. The keywords have these
meanings:
insertion—(Optional) Generate a trap when a switch (flash) is inserted into
a stack, either physically or because of a power cycle or reload.
removal—(Optional) Generate a trap when a switch (flash) is removed from
a stack, either physically or because of a power cycle or reload.
This keyword is available only when the enhanced multilayer image
is installed on the stack master.
fan—(Optional) Enable fan traps.
shutdown—(Optional) Enable environmental monitor shutdown traps.
status—(Optional) Enable SNMP environmental status-change traps.
supply—(Optional) Enable environmental monitor power-supply traps.
temperature—(Optional) Enable environmental monitor temperature
traps.
snmp-server enable traps
Catalyst 3750 Switch Command Reference
2-491
Need help?
Do you have a question about the Catalyst 3750 and is the answer not in the manual?
Questions and answers