Snmp-Server Enable Traps - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches

snmp-server enable traps

To enable SNMP notifications (traps or informs), use the snmp-server enable traps command. To
disable all SNMP notifications, use the no form of this command.
Syntax Description
flash
insertion
removal
fru-ctrl
port-security
trap-rate trap-rate
stpx
vlancreate
vlandelete
vtp
Defaults
SNMP notifications are disabled.
Command Modes
Global configuration
Command History
Release
12.1(13)EW
Usage Guidelines
If you enter this command without an option, all notification types controlled by this command are
enabled.
SNMP notifications can be sent as traps or inform requests. This command enables both traps and inform
requests for the specified notification types. To specify whether the notifications should be sent as traps
or informs, use the snmp-server host [traps | informs] command.
The snmp-server enable traps command is used in conjunction with the snmp-server host command.
Use the snmp-server host command to specify which host or hosts receive SNMP notifications. To send
notifications, you must configure at least one snmp-server host command.
78-16201-01
snmp-server enable traps [flash [insertion | removal ] | fru-ctrl |
port-security [trap-rate trap-rate] | removal | stpx | vlancreate | vlandelete | vtp ]
no snmp-server enable traps flash [insertion | removal] | fru-ctrl | port-security
[trap-rate trap-rate] | removal | stpx | vlancreate | vlandelete | vtp ]
(Optional) Controls the SNMP FLASH trap notifications.
(Optional) Controls the SNMP Flash insertion trap notifications.
(Optional) Controls the SNMP Flash removal trap notifications.
(Optional) Controls the SNMP entity FRU control trap notifications.
(Optional) Controls the SNMP trap generation.
(Optional) Sets the number of traps per second.
(Optional) Controls all the traps defined in
CISCO-STP-EXTENSIONS-MIB notifications.
(Optional) Controls the SNMP VLAN created trap notifications.
(Optional) Controls the SNMP VLAN deleted trap notifications.
(Optional) Controls the SNMP VTP trap notifications.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
snmp-server enable traps
2-415

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents