EasyManua.ls Logo

HP 5820X Switch - Configuring RMON

HP 5820X Switch
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
99
To configure SNMPv1 and SNMPv2c:
To do… Use the command… Remarks
1. Enter system view.
system-view
2. Enable the SNMP agent.
snmp-agent
Optional.
Disabled by default.
You can enable the SNMP
agent with this command or
any command that begins with
snmp-agent.
3. Configure SNMP agent system
information.
snmp-agent sys-info
{ contact sys-contact |
location sys-location |
version { { v1 | v2c | v3 }*
| all } }
Required.
The defaults are as follows:
Hewlett-Packard Development
Company, L.P., and SNMPv1
SNMPv2c SNMPv3 for the
version.
4. Configure a local engine ID for an
SNMP entity.
snmp-agent local-engineid
engineid
Optional.
Company ID and device ID by
default.
5. Create or update MIB view content for
an SNMP agent.
snmp-agent mib-view
{ excluded | included }
view-name oid-tree [ mask
mask-value ]
Optional.
The MIB view name is
ViewDefault and OID is 1 by
default.
Configure
directly.
Create an
SNMP
community.
snmp-agent community
{ read | write }
community-name [ acl acl-
number | mib-view view-
name ]*
Configure an
SNMP group.
snmp-agent group { v1 |
v2c } group-name [ read-
view read-view ] [ write-
view write-view ] [ notify-
view notify-view ] [ acl acl-
number ]
6. Configure
SNMP
NMS
access
right.
Configure
indirectly.
Add a user to
an SNMP
group.
snmp-agent usm-user { v1
| v2c } user-name group-
name [ acl acl-number ]
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.
7. Configure the maximum size of an
SNMP packet that can be received or
sent by an SNMP agent.
snmp-agent packet max-
size byte-count
Optional.
1,500 bytes by default.
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.

Table of Contents

Related product manuals