HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual page 94

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
(Optional.) Enable the
SNMP agent.
3.
(Optional.) Configure
the system contact.
4.
(Optional.) Configure
the system location.
5.
Enable SNMPv1 or
SNMPv2c.
6.
(Optional.) Change
the local engine ID.
7.
(Optional.) Create or
update a MIB view.
8.
Configure the SNMP
access right.
Command
system-view
snmp-agent
snmp-agent sys-info contact
sys-contact
snmp-agent sys-info location
sys-location
snmp-agent sys-info version { all | { v1
| v2c | v3 } * }
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 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 users to the group:
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 |
85
Remarks
N/A
By default, the SNMP agent is
disabled.
The SNMP agent is enabled when
you use any command that begins
with snmp-agent except for the
snmp-agent
calculate-password command.
By default, no system contact is
configured.
By default, no system location is
configured.
By default, SNMPv3 is used.
By default, the local engine ID is
the company ID plus the device
ID.
By default, the MIB view
ViewDefault is predefined. In this
view, all the MIB objects in the iso
subtree but the snmpUsmMIB,
snmpVacmMIB, and
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.
By default, no SNMP group or
SNMP community exists.
The username in method 2 has
the same purpose as the
community name in method 1.
Whichever method you use, make
sure the configured name is the
same as the community name on
the NMS.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents