DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
60
5
SNMPv1/v2 Command List
create snmp community <community_string 32> view <view_name 32> [read_only | read_write]
delete snmp community <community_string 32>
show snmp community <community_string 32>
Note
: If SNMPv3 commands are used, the SNMPv1/v2 commands are not necessary.
5-1 create snmp community
Purpose
Used to create an SNMP community string.
Format
create snmp community <community_string 32> view <view_name 32> [read_only | read_write]
Description
The
create snmp community
command is used to create an SNMP community string and to specify the
string as enabling read only or read-write privileges for the SNMP management host.
Parameters
Parameters
Description
community_string
An alphanumeric string of up to 32 characters used in the
authentication of users wanting access to the switch’s SNMP agent.
view
An alphanumeric string of up to 32 characters.
read_only
Allows the user using the above community string to have read-only
access to the switch’s SNMP agent. The default read-only community
string is public.
read_write
Allows the user using the above community string to have read and
write acces to the switch’s SNMP agent. The default read-write
community string is private.
Restrictions
You must have administrator privileges. A maximum of four community strings can be specified.
Example
To create a read-only level SNMP community “System”: