Snmp-Agent Community - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

snmp-agent community

Syntax
View
Parameter
Description
Example
snmp-agent community { read | write } community-name [ acl acl-number |
mib-view view-name ] *
undo snmp-agent community community-name
System view
read: Indicates that the community has read only access right to the MIB objects,
that is, the community can only inquire MIB information.
write: Indicates that the community has read and write access right to the MIB
objects, that is, the community can configure MIB information.
community-name: Community name, a string of 1 to 32 characters.
view-name: MIB view name, a string of 1 to 32 characters. If no keyword is
specified, the default view is ViewDefault (The view created by the system after
SNMP Agent is enabled).
acl acl-number: ACL for the community name, with acl-number indicating the
ACL number, in the range 2,000 to 2,999.
mib-view view-name: Specifies the MIB view name associated with
community-name, where view-name represents the MIB view name, a string of 1
to 32 characters. If no keyword is specified, the default view is ViewDefault (The
view created by the system after SNMP agent is enabled).
Use the
snmp-agent community
community. Parameters to be configured include access right, community name,
ACL, and accessible MIB views.
Use the
undo snmp-agent community
community.
The community name configured with this command is only valid for the SNMP v1
and v2c agent.
# Configure a community with the name of comaccess that has read-only access
right.
<Sysname> system-view
[Sysname] snmp-agent community read comaccess
# Delete the community comaccess.
<Sysname> system-view
[Sysname] undo snmp-agent community comaccess
command to configure a new SNMP
command to delete a specified
2337

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents