Snmp-Agent Community - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Examples
# Use the local engine ID and the HMAC-SHA1 algorithm to calculate the encrypted form for key
authkey.
<Sysname> system-view
[Sysname] snmp-agent calculate-password authkey mode sha local-engineid
The encrypted key is: 09659EC5A9AE91BA189E5845E1DDE0CC
Related commands
snmp-agent local-engineid
snmp-agent usm-user v3

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
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
171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents