SNMP Configuration Summary
5-4 SNMP Configuration
CompleteanSNMPv2trapconfigurationonaMatrixSeriesdeviceasfollows:
1. Createacommunitynamethat willactasanSNMPuserpassword.
2. CreateanSNMPtargetparametersentrytoassociatesecurityandauthorizationcriteriatothe
usersinthecommunitycreatedinStep1.
3. VerifyifanyapplicableSNMPnotification
entriesexist,orcreateanewone.Youwillusethis
entrytosendSNMPnotificationmessagestotheappropriatemanagementtargetscreatedin
Step 2.
4. CreateatargetaddressentrytobindamanagementIPaddressto:
• The notification entry and tag name created in Step 3.
• The target parameters entry created in Step 2.
Table 5‐2showsthecommandsusedtocompleteanSNMPv2trapconfigurationonaMatrix
Seriesdevice.
Example
Thisexampleshowshowto:
•createanSNMPcommunitycalledmgmt
• configureatrapnotificationcalledTrapSink
Thistrapnotificationwillbesentwiththecommunitynamemgmttotheworkstation
192.168.190.80(whichistargetaddresstr).Itwillusesecurityandauthorizationcriteria
containedinatargetparametersentrycalled
v2cExampleParams.
Matrix(rw)->set snmp community mgmt
Matrix(rw)->set snmp targetparams v2cExampleParams user mgmt
security-model v2c message-processing v2c
Matrix(rw)->set snmp notify entry1 tag TrapSink
Matrix(rw)->set snmp targetaddr tr 192.168.190.80 param v2cExampleParams taglist
TrapSink
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.
Table 5-2 Basic SNMP Trap Configuration Command Set
To do this... Use these commands...
Create a community name. set snmp community (“set snmp community” on
page 5-16)
Create an SNMP target parameters entry. set snmp targetparams (“set snmp targetparams” on
page 5-27)
Verify if any applicable SNMP notification
entries exist.
show snmp notify (“show snmp notify” on page 5-33)
Create a new notification entry. set snmp notify (“set snmp notify” on page 5-35)
Create a target address entry. set snmp targetaddr (“set snmp targetaddr” on page 5-30)