Configuring SNMP Users, Groups and Communities set snmp community
5-16 SNMP Configuration
Example
ThisexampleshowshowtodisplayinformationabouttheSNMP“public”communityname.For
adescriptionofthisoutput,referto“setsnmpcommunity”onpage 5‐16:
Matrix(rw)->show snmp community public
--- Configured community strings ---
Name = public
Security name = public
Context =
Transport tag =
Storage type = nonVolatile
Status = active
set snmp community
UsethiscommandtoconfigureanSNMPcommunitygroup.
Syntax
set snmp community community [securityname securityname] [context context]
[transport transport] [volatile | nonvolatile]
Parameters
Defaults
None.
Mode
Switchcommand,Read‐Write.
community Specifiesacommunitygroupname.
securityname
securityname
(Optional)SpecifiesanSNMPsecuritynametoassociatewiththis
community.Default:Ifnosecuritynameisspecified,thecommunity
nameisused.
contextcontext (Optional)Specifiesasubsetofmanagementinformationthis
communitywillbeallowedtoaccess.Validvalues
arefullorpartial
contextnamesofeitherMIBobjectIDsorrouter(thesystemdesignated
routermodemodule).Default:AllMIBobjects.Toreviewallcontexts
configuredforthedevice,usetheshowsnmpcontextcommandas
describedin“showsnmpcontext”onpage 5‐23.
Note: Beginning with Release 6.0 do not specify the routing module ID as part
of the context. You must specify router for the system designated router mode
module.
transporttransport (Optional)SpecifiesthesetoftransportendpointsfromwhichSNMP
requestwiththiscommunitynamewillbeaccepted.Makesalinktoa
targetaddresstable.Default:None.
volatile|nonvolatile (Optional)Specifiesthestoragetypefortheseentries.Default:
nonvolatile.