xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1056
Example
To display the current community string configurations:
DGS-3620-28SC:admin#show snmp community
Command: show snmp community
SNMP Community Table
Community Name View Name Access Right
---------------------------- ------------------------ ------------
private CommunityView read_write
public CommunityView read_only
Total Entries : 2
DGS-3620-28SC:admin#
94-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-3620-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:************
Summary of Contents for xStack
Page 1: ......
Page 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Page 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Page 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Page 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...