Snmpv1/V2 Command List; Create Snmp Community - D-Link DGS-3200 SERIES Cli Manual

Layer 2 gigabit ethernet managed switch
Hide thumbs Also See for DGS-3200 SERIES:
Table of Contents

Advertisement

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
community_string
view
read_only
read_write
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":
DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
Description
An alphanumeric string of up to 32 characters used in the
authentication of users wanting access to the switch's SNMP agent.
An alphanumeric string of up to 32 characters.
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.
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.
60

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents