SNMP Configuration Summary
Enterasys Matrix DFE-Gold Series Configuration Guide 5-3
Using SNMP Contexts to Access Specific MIBs
Bydefault,whenoperatingfromtheswitchCLI,MatrixSeriesdevicesallowaccesstoallSNMP
MIBsorcontexts.AcontextisacollectionofMIBobjects,oftenassociatedwithaparticular
physicalorlogicaldevice.
Ifnooptionalcontextparametersareconfiguredforv1andv2“community”namesandv3
“user”
groups,thesegroupsareabletoaccessallSNMPMIBobjectswheninswitchmode.
SpecifyingacontextparameterwhensettingupSNMPusergroupaccesswouldpermitorrestrict
thegroup’sswitchmanagementaccesstotheMIB(s)specifiedbythecontext(MIBobjectID)value.
AllSNMPcontextsknown
tothedevicecanbedisplayedusingtheshowsnmpcontextcommand
asdescribedin“showsnmpcontext”onpage 5 ‐23.
Examples
Thisexamplepermitsthe“powergroup”tomanageallMIBsviaSNMPv3:
Matrix(rw)->set snmp access powergroup security-model usm
Thisexamplegrantsthe“powergroup”SNMPv3managementaccessfromthemoduleoperating
inroutermode:
Matrix(rw)->set snmp access powergroup security-model usm context router prefix
Forinformationonpreparingthedeviceforroutermode,referbackto“PreparingtheDevicefor
RouterMode”onpage 2‐100.
Creating a Basic SNMP Trap Configuration
TrapsarenotificationmessagessentbyanSNMPv1orv2agenttoanetworkmanagementstation,
aconsole,oraterminaltoindicatetheoccurrenceofasignificantevent,suchaswhenaportor
devicegoesupordown,whenthereareauthenticationfailures,andwhenpowersupplyerrors
occur.
ThefollowingconfigurationexampleshowshowtouseCLIcommandstoassociateSNMP
notificationparameterswithsecurityandauthorizationcriteria(targetparameters),andmapthe
parameterstoamanagementtargetaddress.
Table 5-1 SNMP Security Levels
Model Security Level Authentication Encryption How It Works
v1 NoAuthNoPriv Community string None Uses a community string match for
authentication.
v2c NoAuthNoPriv Community string None Uses a community string match for
authentication.
v3 NoAuthNoPriv User name None Uses a user name match for
authentication.
AuthNoPriv MD5 or SHA None Provides authentication based on
the HMAC-MD5 or HMAC-SHA
algorithms.
authPriv MD5 or SHA DES Provides authentication based on
the HMAC-MD5 or HMAC-SHA
algorithms. Provides DES 56-bit
encryption in addition to
authentication based on the CBC-
DES (DES-56) standard.