-4
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
snmp-server enable traps
snmp-server enable traps
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 snmp-server enable traps
command in global configuration mode. To return to the default setting, use the no form of this
command.
snmp-server enable traps [alarms [severity] | auth-framework | bgp | bridge [newroot]
[topologychange] | cef | config | copy-config | cpu threshold | entity | envmon [fan | shutdown
| status | supply | temperature] | ethernet | ether oam | flash | hsrp | ipmulticast |
mac-notification [change] [move] [threshold] | mpls | msdp | ospf [cisco-specific | errors |
lsa | rate-limit | retransmit | state-change] | pim [invalid-pim-message | neighbor-change |
rp-mapping-change] | rtr | snmp [authentication | coldstart | linkdown | linkup | warmstart]
| storm-control trap-rate value | stpx [inconsistency] [root-inconsistency]
[loop-inconsistency
] | syslog | transceiver all | tty | vlan-membership | vlancreate |
vlandelete]
no snmp-server enable traps [alarms [severity] | auth-framework | bgp | bridge [newroot]
[topologychange] | cef | config | copy-config | cpu threshold | entity | envmon [fan | shutdown
| status | supply | temperature] | ethernet | ether oam | flash | hsrp | ipmulticast |
mac-notification [change] [move] [threshold] | mpls | 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 [inconsistency]
[root-inconsistency] [loop-inconsistency] | syslog | transceiver all | tty | vlan-membership |
vlancreate | vlandelete]
Syntax Description alarms severity (Optional) Enables SNMP alarms traps. For severity, enter number 1 to 4 or
enter one of these keywords:
• critical—Service-affecting condition, severity 1.
• major—Immediate action needed, severity 2.
• minor—Minor warning conditions, severity 3.
• informational—Informational notifications, severity 4.
auth-framework Enables SNMP CISCO-AUTH-FRAMEWORK-MIB traps
bgp (Optional) Enables Border Gateway Protocol (BGP) state-change traps.
Note This keyword is supported only when the metro IP access image is
running on the switch.
bridge [newroot]
[topologychange]
(Optional) Generates Spanning Tree Protocol (STP) bridge MIB traps. The
keywords have these meanings:
• newroot—(Optional) Enables SNMP STP bridge MIB new root traps.
• topologychange—(Optional) Enables SNMP STP bridge MIB topology
change traps.