D-Link DGS-3224TGR Command Line Interface Reference Manual page 33

Layer 2 gigabit ethernet switch
Hide thumbs Also See for DGS-3224TGR:
Table of Contents

Advertisement

create snmp community
Purpose
Used to create an SNMP community string.
Syntax
create snmp community <community_string 32> view <view_name>
[read_only|read_write]
Description
This 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.
<community_string 32> − An alphanumeric string of up to 32 characters used to
Parameters
authentication of users wanting access to the switch's SNMP agent.
<view_name> − An alphanumeric string of up to 32 characters that identifies the SNMP view
that will be created.
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.
Only administrator-level users can issue this command. A maximum of four community
Restrictions
strings can be specified.
Example Usage:
To create a read-only level SNMP community "System":
delete snmp community
Purpose
Used to delete an SNMP community string previously entered on the switch.
Syntax
delete snmp community <community_string 32>
This command is used to delete an SNMP community string entered on the switch using the
Description
create snmp community command above.
<community_string 32> − An alphanumeric string of up to 32 characters used to
Parameters
authentication of users wanting access to the switch's SNMP agent.
Only administrator-level users can issue this command.
Restrictions
Example Usage:
To delete a read-only level SNMP community "System":
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
DGS-3224TGR:4#create snmp community System
readwrite
Command: create snmp community System readwrite
Success.
DGS-3224TGR:4#
29

Advertisement

Table of Contents
loading

Table of Contents