clear snmp notifyprofile
5-36 SNMP Configuration
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtocreateanSNMPnotifyprofilenamedarea51 and a ssociateatarget
parametersentry.
G3(su)->set snmp notifyprofile area51 targetparam v3ExampleParams
clear snmp notifyprofile
UsethiscommandtodeleteanSNMPnotifyprofileconfiguration.
Syntax
clear snmp notifyprofile profile targetparam targetparam
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtodeleteSNMPnotifyprofile“area51”:
G3(su)->clear snmp notifyprofile area51 targetparam v3ExampleParams
Creating a Basic SNMP Trap Configuration
TrapsarenotificationmessagessentbyanSNMPv1orv2agenttoanetworkmanagementstation,
aconsole,oraterminaltoindicatetheoccurrenceofasignificantevent,suchaswhenaportor
devicegoesupordown,whenthereareauthenticationfailures,andwhenpowersupplyerrors
occur.
ThefollowingconfigurationexampleshowshowtouseCLIcommandstoassociateSNMP
notificationparameterswithsecurityandauthorizationcriteria(targetparameters),andmapthe
parameterstoamanagementtargetaddress.
profile SpecifiesanSNMPfilternotifynametodelete.
targetparam
targetparam
SpecifiesanassociatedentryinthesnmpTargetParamsTable.
Note: This example illustrates how to configure an SNMPv2 trap notification. Creating an
SNMPv1 or v3 Trap, or an SNMPv3 Inform notification would require using the same commands
with different parameters, where appropriate. Always ensure that v1/v2 communities or v3 users
used for generating traps or informs are pre-configured with enough privileges to access
corresponding MIBs.