xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
39
create snmp community
Purpose
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.
Syntax
create snmp community <community_string 32> view
<view_name 32> [read_only|read_write]
Description
The create snmp community command creates an SNMP community
string.
Parameters
community_string-
Communtiy string. Max string length is 32.
view_name-
View name. A MIB view. Max length is 32
[read_only | read_write]-
Read and write or read-only permission.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To create an SNMP community string:
DES-3800:admin#create snmp community dlink view CommunityView
read_write
Command: create snmp community dlink view CommunityView read_write
Success.
DES-3800:admin#
delete snmp community
Purpose
Used to remove a specific communtiy string
Syntax
delete snmp community <community_string 32>
Description
The delete snmp community command removes a specific
community string.
Parameters
<community_string 32>-
Type the Communtiy string that will be
deleted.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To delete an SNMP community:
DES-3800:admin#delete snmp community dlink