HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual page 78

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

Advertisement

Step
6.
(Optional.)
Change
the local engine ID.
7.
(Optional.) Create or
update a MIB view.
8.
Configure the SNMP
access right.
9.
(Optional.) Create an
SNMP context.
10. (Optional.) Map an
SNMP community to
an SNMP context.
Command
snmp-agent local-engineid engineid
snmp-agent mib-view { excluded |
included } view-name oid-tree [ mask
mask-value ]
(Method 1.) Create an SNMP
community:
In
VACM
snmp-agent community { read |
write } [ simple | cipher ]
community-name
view-name ] [ acl acl-number | acl
ipv6
ipv6-acl-number
In
RBAC
snmp-agent community [ simple |
cipher
]
community-name
user-role
role-name
acl-number
|
ipv6-acl-number ] *
(Method 2.) Create an SNMPv1/v2c
group, and add users to the group:
a. snmp-agent group { v1 | v2c }
group-name
view-name
]
view-name
]
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 ] *
snmp-agent context context-name
snmp-agent
community-map
community-name context context-name
69
Remarks
By default, the local engine ID is
the company ID plus the device
ID.
By
default,
ViewDefault is predefined. In this
view, all the MIB objects in the iso
subtree but the snmpUsmMIB,
snmpVacmMIB,
snmpModules.18 subtrees are
accessible.
Each view-name oid-tree pair
represents a view record. If you
specify the same record with
different MIB sub-tree masks
multiple times, the most recent
configuration takes effect. Except
for the four sub-trees in the default
MIB view, you can create up to 16
unique MIB view records.
mode:
[
mib-view
]
*
mode:
By default, no SNMP group or
SNMP community exists.
[
acl
The username in method 2 has
acl
ipv6
the
same
community name in method 1.
Whichever method you use, make
sure the configured name is the
same as the community name on
the NMS.
[
read-view
[
write-view
[
notify-view
By default, no SNMP context is
configured on the device.
By default, no mapping between
an SNMP community and an
SNMP context exists on the
device.
the
MIB
view
and
purpose
as
the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents