DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
751
Read and write or read-only permission for the MIB objects accessible to the community.
Format
create snmp community <community_string 32> view <view_name 32> [read_only |
read_write]
Parameters
<community_string 32>
- Enter the community string value here. This string can be up to 32
characters long.
view_name
- Specify the view name of the MIB.
<view_name 32>
- Enter the MIB view name here. This name can be up to 32 characters
long.
read_only
- Allows the user to use the above mentioned 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 to use the above mentioned community string to have read and
write access to the Switch’s SNMP agent. The default read-write community string is private.
Restrictions
Only Administrators can issue this command.
Example
To create a read-only level SNMP community “System” with a “CommunityView” view:
DGS-3000-26TC:admin#create snmp community System view CommunityView read_only
Command: create snmp community System view CommunityView read_only
Success.
DGS-3000-26TC:admin#
delete snmp community
78-5
Description
This command is used to delete an SNMP community string.
Format
delete snmp community <community_string 32>
Parameters
<community_string 32>
- Enter the community string value here. This value can be up to 32
characters long.
Restrictions
Only Administrators can issue this command.
Summary of Contents for DGS-3000 series
Page 1: ......