HPE FlexNetwork 7500 Series Network Management And Monitoring Command Reference page 186

Hide thumbs Also See for FlexNetwork 7500 Series:
Table of Contents

Advertisement

snmp-agent community [ simple | cipher ] community-name user-role role-name [ acl acl-number
| acl ipv6 ipv6-acl-number ] *
undo snmp-agent community [ cipher ] community-name
Default
No SNMP community exists.
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: Sets a community name in plain text. For security purposes, this community name is saved
in cipher text.
cipher: Sets and saves the community name in cipher text.
community-name: Sets a case-sensitive community name. In plain text, the community name must
be a string of 1 to 32 characters. In cipher text, the community name must be a 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 string of 1 to 32 characters. A MIB view represents a set of
accessible MIB objects. If no MIB view is specified, 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 acl-number: Specifies a basic IPv4 ACL to filter NMSs by source IPv4 address. The acl-number
argument represents an ACL number in the range of 2000 to 2999. In the specified community, only
NMSs with an IPv4 address permitted in the ACL can access the SNMP agent. If no ACL is specified,
or the specified ACL does not exist, all NMSs in the SNMP community can access the SNMP agent.
If the specified ACL does not have any rules, no NMS in the SNMP community can access the SNMP
agent. For detailed information about ACL, see ACL and QoS Configuration Guide.
acl ipv6 ipv6-acl-number: Specifies a basic IPv6 ACL to filter NMSs by source IPv6 address. The
ipv6-acl-number argument represents an ACL number in the range of 2000 to 2999. In the specified
community, only NMSs with an IPv6 address permitted in the IPv6 ACL can access the SNMP agent.
If no ACL is specified, or the specified ACL does not exist, all NMSs in the SNMP community can
access the SNMP agent. If the specified ACL does not have any rules, no NMS in the SNMP
community can access the SNMP agent.
Usage guidelines
This command is for SNMPv1 and SNMPv2c, and is supported only for high encryption in non-FIPS
mode.
To set and save a community name in plain text, do not specify the simple or cipher keyword.
You can create up to 10 SNMP communities by using the snmp-agent community command. To
create more SNMP communities, use the snmp-agent usm-user { v1 | v2c } command.
177

Advertisement

Table of Contents
loading

Table of Contents