xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
963
101-2 create snmp community_masking view
Description
This command is used to create a secure method to create a SNMP community string.
Format
create snmp community_masking view <view_name 32> [ read_only | read_write]
Parameters
<view_name 32> - Specify the name that is used to identify the group of MIB objects that a
remote SNMP manager is allowed to access on the Switch. The view name must exist in the
read_only - Specify that SNMP community members using the community string created can
only read the contents of the MIBs on the Switch.
read_write - Specify that SNMP community members using the community string created can
read from, and write to the contents of the MIBs on the Switch.
Restrictions
Only Administrator-level users can issue this command.
Example
To create a secure SNMP community string:
DGS-3120-24TC:admin#create snmp community_masking view restricted read_only
Command: create snmp community_masking view restricted read_only
Enter a case-sensitive community:*****
Enter the community again for confirmation:*****
Success.
101-3 delete snmp community
Description
This command is used to delete an SNMP community string.
Format
delete snmp community <community_string 32>
Parameters
community - Community string will be deleted.
<community_string 32> - Enter the community string value here. This value can be up to 32