Enterasys Networks XSR CLI Router User Manual


 
snmp-server Commands
1-18 Network Management
snmp-server community
ThiscommandallowsacommunitystringtoaccessMIBsintheXSR.
Syntax
snmp-server community community-string [view view-name][ro | rw] [access-list-
num]
Syntax of the “no” Form
Thenoformofthiscommandremovesacommunitystringfrombothreadonlyandreadwrite
communitytables:
no snmp-server community community-string
Defaults
•ro
•v1default
Mode
Globalconfiguration:XSR(config)#
Example
ThefollowingexamplecreatesMyCommunityforreadwriteaccessandappliesACL#57:
XSR#snmp-server community MyCommunity rw 57
snmp-server contact
Thiscommandspecifiescontactinform ationregardingtheSNMPserver.
Syntax
snmp-server contact contact-name
community-string
CommunitystringwithSNMPv1/v2caccess.
view-name
NameoftheviewdefiningwhichMIBsareaccessible.
ro
Readonlypermission.
rw
Readwritepermission.
access-list-num
Standardaccesslistnumberrangingfrom1to99.
Notes: You can configure up to 20 read-only and read-write community strings.
Community-based write access is available for the ct-download MIB only. For write access to other
MIBs, use SNMPv3.
contact-name
Stringofupto255char acters.Valueswithspacesrequirequotations.