Snmp-Server Community - D-Link DGS-6600-48T Cli Reference Manual

Modular layer 3 chassis ethernet managed switch
Hide thumbs Also See for DGS-6600-48T:
Table of Contents

Advertisement

DGS-6604
m

snmp-server community

snmp-server community COMMUNITY-STRING [ view VIEW-NAME ] [ro | rw]
no snmp-server community COMMUNITY-STRING
Syntax Description
COMMUNITY-
STRING
view VIEW-NAME
ro
rw
Default
Command Mode
Usage Guideline
Examples
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
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.
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.
(Optional) Name of a previously defined view. The view defines the objects
available to the SNMP community.
(Optional) Specifies read-only access. Authorized management stations are only
able to retrieve MIB objects.
(Optional) Specifies read-write access. Authorized management stations are
able to both retrieve and modify MIB objects.
There are two communities set in the default as shown below:
Community
private
public
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 snmp-
server host.
This example shows how to set the read/write community string to comaccess in
the mib2 view.
View Name
Access right
CommunityView
Read/Write
CommunityView
Read Only
snmp-server community
823

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents