Switch User Manual

set snmp community
8-14 SNMP Configuration
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplayinformationabouttheSNMP“public”comm unityname.For
adescriptionofthisoutput,refertosetsnmpcommunity(page814).
C3(su)->show snmp community public
--- Configured community strings ---
Name = *********
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
Ifsecuritynameisnotspecified,thecommunitynamewillbeused.
Ifcontextisnotspecified,the default(NULL)contextisapplied.
Iftransporttagisnotspecified,nonewillbeapplied.
Ifstoragetypeisnotspecified,nonvolatilewillbeapplied.
Mode
Switchcommand,readwrite.
community Specifiesacommunitygroupname.
securityname
securityname
(Optional)SpecifiesanSNMPsecuritynametoassociatewiththis
community.
contextcontext (Optional)Specifiesasubsetofmanagementinformationthiscommunity
willbeallowedtoaccess.Validvaluesarefullorpartialcontextnames.To
reviewallcontextsconfiguredfor
thedevice,usetheshowsnmpcontext
commandasdescribedinshowsnmpcontextonpage 821.
transporttransport (Optional)SpecifiesthesetoftransportendpointsfromwhichSNMP
requestwiththiscommunitynamewillbeaccepted.Makesa linktoa
targetaddresstable.
volatile|
nonvolatile
(Optional)Specifiesthestorage
typefortheseentries.