S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-305
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
snmp-server enable traps
Usage Guidelines
The
snmp-server enable traps
command enables both traps and informs, depending on the configured
notification host receivers.
The
no snmp-server enable traps storm-control
command disables SNMP traps for Storm Control.
Examples
This example shows how to enable SNMP notifications for the server state change:
switch#
configure terminal
switch(config)#
snmp-server enable traps aaa
switch(config)#
This example shows how to enable SNMP notifications for Storm Control:
switch#
configure terminal
switch(config)#
snmp-server enable traps storm-control
switch(config)#
This example shows how to specify the number of Storm Control traps per minute:
switch#
configure terminal
switch(config)#
snmp-server enable traps storm-control trap-rate 100
switch(config)#
This example shows how to disable all SNMP notifications:
switch#
configure terminal
switch(config)#
no snmp-server enable traps
switch(config)#
Related Commands
Command
Description
snmp-server enable
traps link
Enables the Simple Network Management Protocol (SNMP) notifications
on link traps.
show snmp trap
Displays the SNMP notifications enabled or disabled.