D-Link DGS-6600-48T Product Manual - Page 833
snmp-server community, ro | rw], Community, View Name, Access right
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 833 highlights
DGS-6604 m snmp-server community snmp-server community Use this command to set up the community access string to provide access to SNMP. Use the no form of the command to remove the specified community string. snmp-server community COMMUNITY-STRING [ view VIEW-NAME ] [ro | rw] no snmp-server community COMMUNITY-STRING Syntax Description COMMUNITYSTRING Defines the community string that consists of from 1 to 32 characters and functions much like a password, permiting access to the SNMP protocol. The syntax can use alphanumeric and special characters, but that does not allow space and '#' character. view VIEW-NAME (Optional) Name of a previously defined view. The view defines the objects available to the SNMP community. ro (Optional) Specifies read-only access. Authorized management stations are only able to retrieve MIB objects. rw (Optional) Specifies read-write access. Authorized management stations are able to both retrieve and modify MIB objects. Default Command Mode Usage Guideline Examples There are two communities set in the default as shown below: Community View Name Access right private CommunityView Read/Write public CommunityView Read Only ro/rw: is set as read only (ro) if no [ro|rw] option is specified. Global configuration at privilege level 15 This command creates a community entry in the community table. This command provides a more user-friendly method to create a community string for V1/V2 management. If the view name specified by the command, does not exist (i.e it was not created prior), then a new view will be created. A community string is unable to be deleted if it has been associated with a snmpserver host. This example shows how to set the read/write community string to comaccess in the mib2 view. Switch(config)# snmp-server view mib2 1.3.6.1.2.1 included Switch(config)# snmp-server community comaccess view mib2 rw CLI Reference Guide 823