2-538
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set snmp notify
set snmp notify
To set the notifyname entry in the snmpNotifyT able an d the notifytag entry in the snm pT ar getAddrTable,
use the set snmp notify command.
set snmp notify [-hex] {notifyname} tag [-hex] {notifytag}
[trap | inform] [volatile | nonvolatile]
Syntax Description
Defaults The defaults are storage type is volatile and notify type is trap.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you use special characters for the notifyname and notifytag (nonprintable delimiters for these
parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits separate d by
a colon (:); for example, 00:ab:34.
Examples This example shows how to set the SNMP notify for a specific notifyname:
Console> (enable) set snmp notify hello tag world inform
SNMP notify name was set to hello with tag world notifyType inform, and storageType
nonvolatile.
Console> (enable)
Related Commands clear snmp notify
show snmp notify
-hex (Optional) Displays the notifyname and notifytag in a hexadecimal format.
notifyname Identifier to index the snmpNotifyTable.
tag Specifies the tag name in the taglist.
notifytag Name of entries in the snmpTargetAddrTable.
trap (Optional) Specifies all messages that contain snmpv2-Trap PDUs.
inform (Optional) Specifies all messages that contain InfoRequest PDUs.
volatile (Optional) Specifies that the storage type is defined as temporary memory and
the content is deleted if the device is turned off.
nonvolatile (Optional) Specifies that the storage type is defined as persistent memory and
the content remains after the device is turned off and on again.