Configuration Example - HP 5130 EI series Configuration Manual

Hide thumbs Also See for 5130 EI series:
Table of Contents

Advertisement

Step
4.
Configure the
SNMP access
right.
To control SNMPv3 access, configure ACLs and complete the following configuration:
Step
Enter system
5.
view.
6.
Create an
SNMPv3 group,
specifying ACLs
for the group.
7.
Create an
SNMPv3 user,
specifying ACLs
for the user.

Configuration example

Network requirements
As shown in
Configure the device to allow Host A and Host B to access the device through SNMP.
Command
(Method 1.) Create an SNMP community and specify ACLs
for the community:
In VACM mode:
snmp-agent community { read | write } [ simple |
cipher ] community-name [ mib-view view-name ] [ acl
acl-number | acl ipv6 ipv6-acl-number ] *
In RBAC mode:
snmp-agent community [ simple | cipher ]
community-name user-role role-name [ acl acl-number |
acl ipv6 ipv6-acl-number ] *
(Method 2.) Create an SNMPv1/v2c group and add a user
to the group, specifying ACLs for the group and user:
a.
snmp-agent group { v1 | v2c } group-name
[ read-view view-name ] [ write-view view-name ]
[ notify-view view-name ] [ acl acl-number | acl ipv6
ipv6-acl-number ] *
b.
snmp-agent usm-user { v1 | v2c } user-name
group-name [ acl acl-number | acl ipv6
ipv6-acl-number ] *
Command
system-view
snmp-agent group v3 group-name [ authentication | privacy ]
[ read-view view-name ] [ write-view view-name ] [ notify-view
view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] *
In VACM mode:
snmp-agent usm-user v3 user-name group-name [ remote
{ ip-address | ipv6 ipv6-address } ] [ { cipher | simple }
authentication-mode { md5 | sha } auth-password
[ privacy-mode { aes128 | 3des | des56 } priv-password ] ]
[ acl acl-number | acl ipv6 ipv6-acl-number ] *
In RBAC mode:
snmp-agent usm-user v3 user-name user-role role-name
[ remote { ip-address | ipv6 ipv6-address } ] [ { cipher |
simple } authentication-mode { md5 | sha } auth-password
[ privacy-mode { aes128 | 3des | des56 } priv-password ] ]
[ acl acl-number | acl ipv6 ipv6-acl-number ] *
Figure
21, the device is running SNMP.
40
Remarks
For more
information about
SNMP, see
Network
Management and
Monitoring
Configuration
Guide.
Remarks
N/A
N/A
For more
information about
SNMP, see
Network
Management and
Monitoring
Configuration
Guide.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents