D-Link DGS-1510/ME Series Reference Manual page 544

Table of Contents

Advertisement

DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
67-1
create snmp community
Description
This command is used to create an SNMP community string.
Use an SNMP community string to define the relationship between the SNMP manager and the agent. The
community string acts like a password to permit access to the agent on the Switch. You can specify one or more of
the following characteristics associated with the string:
An access list of IP addresses of the SNMP managers that are permitted to use the community string to gain
access to the agent.
A MIB view, which defines the subset of all MIB objects accessible to the given community.
Read and write or read-only permission for the MIB objects accessible to the community.
Format
create snmp community <community_string 32> view <view_name 32> [read_only | read_write]
Parameters
<community_string> - Enter an alphanumeric string of up to 32 characters used to authentication of users
wanting access to the Switch's SNMP agent.
view_name - Specifies to view a MIB name.
<view_name 32> - Enter the MIB view name here. This name can be up to 32 characters long.
read_only - Specifies to allow the user using the above community string to have read only access to the
Switch's SNMP agent.
read_write - Specifies to allow the user using the above community string to have read and write access to the
Switch's SNMP agent. The default read only community string is public. The default read write community
string is private.
Restrictions
Only Administrators can issue this command.
Example
To create a read-only level SNMP community "System" with a "CommunityView" view:
DGS-1510-28XMP/ME:admin# create snmp community System view CommunityView read_only
Command: create snmp community System view CommunityView read_only
Success.
DGS-1510-28XMP/ME:admin#
67-2
delete snmp community
Description
This command is used to delete an SNMP community string.
540

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents