Delete Snmp Community - D-Link DGS-3000 Series Reference Manual

Layer 2 managed gigabit switch
Hide thumbs Also See for DGS-3000 Series:
Table of Contents

Advertisement

DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
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 - Specifies the community string value used in the authentication of users wanting to
access the Switch's SNMP agent.
<community_string 32> - Enter the community string value here. This string can be up to 32
characters long.
view_name - Specifies the view name of the MIB.
<view_name 32> - Enter the MIB view name here. This name can be up to 32 characters
long.
readonly - Allows the user to use the above mentioned community string to have read-only
access to the Switch's SNMP agent. The default read-only community string is public.
readwrite - Allows the user to use the above mentioned community string to have read and write
access to the Switch's SNMP agent. 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-3000-26TC:admin#create snmp community System view CommunityView read_only
Command: create snmp community System view CommunityView read_only
Success.
DGS-3000-26TC:admin#
69-2

delete snmp community

Description
This command is used to delete an SNMP community string.
600

Advertisement

Table of Contents
loading

Table of Contents