D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
747
Community Name View Name Access Right
---------------------------- ------------------------ ------------
private CommunityView read_write
public CommunityView read_only
Total Entries : 2
DGS-3420-28SC:admin#
78-11 create snmp community_masking view
Description
This command is used to choose a security method for creating an SNMP community string, but
the community string encrypted or not depends on the SNMP community encryption state.
If users use this command to create an SNMP community string, the community string that the
user inputs will be displayed as “*”, and the user will have to double input (confirm) the SNMP
community string when creating an SNMP community.
Format
create snmp community_masking view <view_name 32> [read_only | read_write]
Parameters
<view_name 32> - Enter the MIB view name used here. This name can be up to 32 characters
long.
read_only - Specifies that the user, using the community string, will have read only access to the
switch’s SNMP agent.
read_write - Specifies that the user, using the community string, will have read/write access to
the switch’s SNMP agent.
Restrictions
Only Administrator level users can issue this command.
Example
To create an SNMP community string called “community123” with the “read_only” security method:
DGS-3420-28SC:admin# create snmp community_masking view CommunityView read_only
Command: create snmp community_masking view CommunityView read_only
Enter a case-sensitive community:************
Enter the community again for confirmation:************
Success.
DGS-3420-28SC:admin#