D-Link xStack DGS-3400 Series Reference Manual page 533

Xstack dgs-3400 series layer 2 managed gigabit ethernet switch
Hide thumbs Also See for xStack DGS-3400 Series:
Table of Contents

Advertisement

xStack
create snmp community view
Syntax
Description
Parameters
Restrictions
Example usage:
To create a read-only level SNMP community "System" with a "CommunityView" view:
DGS-3450:admin#create snmp community System view CommunityView read_only
Command: create snmp community System view CommunityView read_only
Success.
DGS-3450:admin#
delete snmp community
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To delete a SNMP community:
DGS-3450:admin#delete snmp community System
Command: delete snmp community System
Success.
DGS-3450:admin#
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
create snmp community <community_string 32> view <view_name 32> [read_only |
read_write]
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.
<community_string 32> - Community string. Max string length is 32. The acceptable chars for
community string are the same as a general octet string, except that '#' is not accepted.
view - A MIB view name.
[read_only | read_write] - Read and write or read-only permission. Allows the user using the
above community string to have read only or read and write access to the switch's SNMP
agent.
Only Administrator and Operator-level users can issue this command.
Use to remove an SNMP community string.
delete snmp community <community_string 32>
This command is used to delete an SNMP community string.
Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
<community_string 32> - Community string. Max string length is 32. The acceptable chars for
community string are the same as a general octet string, except that '#' is not accepted.
Only Administrator and Operator-level users can issue this command.
529

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents