33
create snmp community
Purpose
To create an SNMP community string to define the relationship
between the SNMP manager and an SNMP agent.
Syntax
community <community_string 20> view
create snmp
<view_name 30> [read_only | read_write]
Description The
create snmp community
command creates an SNMP
ccess-limiting characteristics to this
nity string acts like a password to
witch. One or more of the
following characteristics can be associated with the community
ss List of IP addresses of SNMP managers that are
permitted to use the community string to gain access to the Switch’s
MP agent.
An MIB view that defines the subset of all MIB objects to be
accessible to the SNMP community.
or read-only level permission for the MIB objects
to the SNMP community.
community string and assigns a
community string. The commu
permit access to the agent on the S
string:
An Acce
SN
Read/write
accessible
Parameters
eric
nity.
password to give remote SNMP managers
to 30 alphanumeric characters that
to identify the group of MIB objects that a remote SNMP
s allowed to access on the Switch.
ly
−
Specifies that SNMP community members using the
community string created with this command can only read the
MP community members using the
with this command can read from and
write to the contents of the MIBs on the Switch.
<community_string 20>
−
A string of up to 20 alphanum
ers of an SNMP commu
characters that is used to identify memb
This string is used like a
access to MIB objects in the Switch’s SNMP agent.
<view_name 30>
−
A string of up
is used
manager i
read_on
contents of the MIBs on the Switch.
read_write
−
Specifies that SN
community string created
Restrictions
l users can issue this command.
Only
administrator-leve
Example usage:
To create the SNM
string “dlink:”
DGS3100# create snmp community dlink view ReadView read_write
DGS3100
P community
Success.
#
delete snmp community
Purpose
To remove a specific SNMP community string from the Switch.
Syntax
0>
delete snmp community <community_string 2
Description The
delete snmp community
command removes a previously
defined SNMP community string from the Switch.
Parameters
<community_string 20>
−
A string of up to 20 alphanumeric
Summary of Contents for DGS-3100 SERIES
Page 1: ...D Link DGS 3100 Series Gigabit Stackable Managed Switch CLI Manual V1 00...
Page 77: ...69 DGS3100 Success...
Page 83: ...75 show fdb aging_time C Address Aging Time 5 DGS3100 DGS3100 Unicast MA...
Page 143: ...135 DGS3100 Delete ssh crypto bob Success DGS3100...
Page 178: ...DGS 3100 Gigabit Ethernet Switch Manual 170 Ports 2 2 Total Entries 2 DGS3100...
Page 188: ......
Page 199: ...D Link D Link D Link D Link 495 744 00 99 http www dlink ru email support dlink ru...