2-383
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
snmp-server enable traps
snmp-server enable traps
Use the
snmp-server enable traps
global configuration command 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
[
bridge
[
newroot
] [
topologychange
] |
cluster
|
config | config-copy
|
config-ctid
|
copy-config
|
entity
|
envmon
[
fan
|
shutdown
|
status
|
supply
|
temperature
]
|
flash
[
insertion
|
removal
]
|
fru-ctrl | rep
|
snmp
[
authentication
|
coldstart
|
linkdown
|
linkup
|
warmstart
]
|
storm-control trap-rate
value
|
stpx
[
inconsistency
]
[
root-inconsistency
] [
loop-inconsistency
]
| syslog
|
transceiver
|
tty
|
vlan-membership
|
vlancreate
|
vlandelete
|
vtp
]
no snmp-server enable traps
[
bridge
[
newroot
] [
topologychange
] |
cluster
|
config | config-copy
|
config-ctid
|
copy-config
|
entity
|
envmon
[
fan
|
shutdown
|
status
|
supply
|
temperature
]
| flash
[
insertion
|
removal
]
|
fru-ctrl | rep
|
snmp
[
authentication
|
coldstart
|
linkdown
|
linkup
|
warmstart
]
|
storm-control trap-rate
value
|
stpx
[
inconsistency
]
[
root-inconsistency
] [
loop-inconsistency
]
| syslog
|
transceiver
|
tty
|
vlan-membership
|
vlancreate
|
vlandelete
|
vtp
]
Syntax Description
bridge
[
newroot
]
[
topologychange
]
(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.
cluster
(Optional) Enable cluster traps.
config
(Optional) Enable SNMP configuration traps.
config-copy
Optional) Enable SNMP configuration-copy traps
config-ctid
Optional) Enable SNMP configuration change tracking identification
(config-ctid) traps
copy-config
(Optional) Enable SNMP copy-configuration traps.
entity
(Optional) Enable SNMP entity traps.
envmon
[
fan
|
shutdown
|
status
|
supply
|
temperature
]
Optional) Enable SNMP environmental traps. The keywords have these
meanings:
•
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.