Snmp-Agent Community - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

snmp-agent community

Use snmp-agent community to configure an SNMPv1 or SNMPv2c community.
Use undo snmp-agent community to delete an SNMPv1 or SNMPv2c community.
Syntax
In VACM mode:
snmp-agent community { read | write } [ simple | cipher ] community-name [ mib-view
view-name ] [ acl { ipv4-acl-number | name ipv4-acl-name } | acl ipv6 { ipv6-acl-number | name
ipv6-acl-name } ] *
undo snmp-agent community [ cipher ] community-name
In RBAC mode:
snmp-agent community [ simple | cipher ] community-name user-role role-name [ acl
{ ipv4-acl-number | name ipv4-acl-name } | acl ipv6 { ipv6-acl-number | name ipv6-acl-name } ] *
undo snmp-agent community [ cipher ] community-name
Default
No SNMPv1 or SNMPv2c communities exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
read: Assigns the specified community read-only access to MIB objects. A read-only community can
only inquire MIB information.
write: Assigns the specified community read and write access to MIB objects. A read and write
community can configure MIB information.
simple: Specifies a community name in plaintext form. For security purposes, the community name
specified in plaintext form will be stored in encrypted form.
cipher: Specifies a community name in encrypted form.
community-name: Specifies the community name. The plaintext form is a case-sensitive string of 1
to 32 characters. The encrypted form is a case-sensitive string of 33 to 73 characters. Input a string
as escape characters after a backslash (\).
mib-view view-name: Specifies the MIB view available for the community. The view-name argument
represents a MIB view name, a case-sensitive string of 1 to 32 characters. A MIB view represents a
set of accessible MIB objects. If you do not specify a view, the specified community can access the
MIB objects in the default MIB view ViewDefault.
user-role role-name: Specifies a user role name for the community, a case-sensitive string of 1 to 63
characters.
acl: Specifies a basic or advanced IPv4 ACL for the community.
ipv4-acl-number: Specifies a basic or advanced IPv4 ACL by its number. The basic IPv4 ACL
number is in the range of 2000 to 2999. The advanced IPv4 ACL number is in the range of 3000 to
3999.
name ipv4-acl-name: Specifies a basic or advanced IPv4 ACL by its name, a case-insensitive string
of 1 to 63 characters.
187

Advertisement

Table of Contents
loading

Table of Contents