Reference Guide

Table Of Contents
Usage
Information
The no version of this command deletes the SNMP server contact information.
Example
OS10(config)# snmp-server contact administrator
Supported
Releases
10.2.0E or later
snmp-server enable traps
Enables SNMP traps on a switch.
Syntax
snmp-server enable traps [notification-type] [notification-option]
Parameters
notification-type notification-option Enter an SNMP notification type, and
optionally, a notification option for the type.
Table 8. Notification types and options
Notification type Notification option
entity Enable entity change
traps.
None
envmon Enable SNMP
environmental monitor traps.
fan Enable fan traps.
power-supply Enable power-supply traps.
temperature Enable temperature traps.
lldp Enable LLDP state change
traps.
rem-tables-change Enable the
lldpRemTablesChange trap.
snmp Enable SNMP traps.
authentication Enable authentication traps.
coldstart Enable coldstart traps when you
power on the switch and the SNMP agent initializes.
linkdown Enable link-down traps.
linkup Enable link-up traps.
warmstart Enable warmstart traps when the
switch reloads and the SNMP agent reinitializes.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of an snmp-server enable traps command disables SNMP traps on the switch.
If you do not enter a notification-type and notification-option parameter with the
command, all traps are enabled.
If you enter only a notification-type, all notification-option traps associated with the type
are enabled.
Re-enter the command multiple times with different notification types and options to enable specific
SNMP trap types.
Example
OS10(config)# snmp-server enable traps envmon fan
OS10(config)# snmp-server enable traps envmon power-supply
OS10(config)# snmp-server enable traps snmp
OS10(config)# no snmp-server enable traps snmp
Supported
Releases
10.4.1.0 or later
516 System management