Switch User Manual
set snmp notify
8-32 SNMP Configuration
Example
ThisexampleshowshowtodisplaytheSNMPnotifyinformation:
C3(su)->show snmp notify
--- SNMP notifyTable information ---
Notify name = 1
Notify Tag = Console
Notify Type = trap
Storage type = nonVolatile
Row status = active
Notify name = 2
Notify Tag = TrapSink
Notify Type = trap
Storage type = nonVolatile
Row status = active
Table 8‐10providesanexplanationofthecommandoutput.
set snmp notify
UsethiscommandtosettheSNMPnotifyconfiguration.ThiscreatesanentryintheSNMPnotify
table,whichisusedtoselectmanagementtargetswhoshouldreceivenotificationmessages.This
command’stagparametercanbeusedtobindeachentrytoatargetaddressusingthesetsnmp
targetaddrcommand
(“setsnmptargetaddr”onpage 8‐27).
Syntax
set snmp notify notify tag tag [trap | inform] [volatile | nonvolatile]
Parameters
Defaults
Ifnotspecified,messagetypewillbesettotrap.
Table 8-10 show snmp notify Output Details
Output Field What It Displays...
Notify name A unique identifier used to index the SNMP notify table.
Notify Tag Name of the entry in the SNMP notify table.
Notify Type Type of notification: SNMPv1 or v2 trap or SNMPv3 InformRequest
message.
Storage type Whether access entry is stored in volatile, nonvolatile, or read-only
memory.
Row status Status of this entry: active, notInService, or notReady.
notify SpecifiesanSNMPnotifyname.
tagtag SpecifiesanSNMPnotifytag.ThisbindsthenotifynametotheSNMP
targetaddresstable.
trap|inform (Optional)SpecifiesSNMPv1orv2Trapmessages(default)orSNMPv3
InformRequestmessages.
volatile|
nonvolatile
(Optional)Specifiestemporary(default),orpermanentstorageforSNMP
entries.