Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
snmp-server enable traps
Syntax Description
OL-21522-02
Downloaded from
www.Manualslib.com
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.
snmp-server enable traps [bgp | bridge [newroot] [topologychange] | cluster | config |
copy-config | cpu threshold | {dot1x [auth-fail-vlan | guest-vlan | no-auth-fail-vlan |
no-guest-vlan] } | entity | envmon [fan | shutdown | status | supply | temperature] | flash
[insertion | removal] | fru-ctrl | hsrp | ipmulticast | | mac-notification [change] [move]
[threshold] | 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] | power-ethernet {group name | police} | rtr | snmp [authentication |
coldstart | linkdown | linkup | warmstart] | stackwise | storm-control trap-rate value | stpx
[inconsistency] [root-inconsistency] [loop-inconsistency] | syslog | tty | vlan-membership |
vlancreate | vlandelete | vtp]
no snmp-server enable traps [bgp | bridge [newroot] [topologychange] | cluster | config |
copy-config | cpu threshold | {dot1x [auth-fail-vlan | guest-vlan | no-auth-fail-vlan |
no-guest-vlan] } | entity | envmon [fan | shutdown | status | supply | temperature] | flash
[insertion | removal] | fru-ctrl | hsrp | ipmulticast | | mac-notification [change] [move]
[threshold] | msdp | ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change]
| pim [invalid-pim-message | neighbor-change | rp-mapping-change] | port-security
[trap-rate] | power-ethernet {group name | police} | rtr | snmp [authentication | coldstart |
linkdown | linkup | warmstart] | stackwise | storm-control trap-rate | stpx [inconsistency]
[root-inconsistency] [loop-inconsistency] | syslog | tty | vlan-membership | vlancreate |
vlandelete | vtp]
bgp
bridge [newroot]
[topologychange]
cluster
config
copy-config
cpu threshold
manuals search engine
(Optional) Enable Border Gateway Protocol (BGP) state-change traps.
This keyword is available only when the IP services feature set is
Note
enabled on the switch or stack master.
(Optional) Generate STP bridge MIB traps. The keywords have these
meanings:
newroot—(Optional) Enable SNMP STP Bridge MIB new root traps.
•
•
topologychange—(Optional) Enable SNMP STP Bridge MIB topology
change traps.
(Optional) Enable cluster traps.
(Optional) Enable SNMP configuration traps.
(Optional) Enable SNMP copy-configuration traps.
(Optional) Allow CPU-related traps.
Catalyst 3750-X and 3560-X Switch Command Reference
snmp-server enable traps
2-787