HP 5820X Switch Configuration Manual page 109

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

To configure SNMPv1 and SNMPv2c:
To do...
1.
Enter system view.
2.
Enable the SNMP agent.
3.
Configure SNMP agent system
information.
4.
Configure a local engine ID for an
SNMP entity.
5.
Create or update MIB view content for
an SNMP agent.
Configure
directly.
6.
Configure
SNMP
NMS
access
right.
Configure
indirectly.
7.
Configure the maximum size of an
SNMP packet that can be received or
sent by an SNMP agent.
CAUTION:
The validity of a USM user depends on the engine ID of the SNMP agent. If the engine ID generated
when the USM user is created is not identical to the current engine ID, the USM user is invalid.
A MIB view is a subset of MIB and is uniquely identified by its view name and the MIB subtree
together. MIB views with the same view name but containing different subtrees are considered
different views. Except default MIB views, you can create at most 16 MIB views.
Use the command...
system-view
snmp-agent
snmp-agent sys-info
{ contact sys-contact |
location sys-location |
version { { v1 | v2c | v3 }*
| all } }
snmp-agent local-engineid
engineid
snmp-agent mib-view
{ excluded | included }
view-name oid-tree [ mask
mask-value ]
snmp-agent community
Create an
{ read | write }
SNMP
community-name [ acl acl-
community.
number | mib-view view-
name ]*
snmp-agent group { v1 |
v2c } group-name [ read-
Configure an
view read-view ] [ write-
SNMP group.
view write-view ] [ notify-
view notify-view ] [ acl acl-
number ]
Add a user to
snmp-agent usm-user { v1
an SNMP
| v2c } user-name group-
group.
name [ acl acl-number ]
snmp-agent packet max-
size byte-count
99
Remarks
Optional.
Disabled by default.
You can enable the SNMP
agent with this command or
any command that begins with
snmp-agent.
Required.
The defaults are as follows:
Hewlett-Packard Development
Company, L.P., and SNMPv1
SNMPv2c SNMPv3 for the
version.
Optional.
Company ID and device ID by
default.
Optional.
The MIB view name is
ViewDefault and OID is 1 by
default.
Use either approach.
Both commands configure
SNMP NMS access rights. The
second command was
introduced to be compatible
with SNMPv3.
The community name
configured on the NMS should
be consistent with the username
configured on the agent.
Optional.
1,500 bytes by default.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents