HP 4800G Series Configuration Manual page 1772

24/48 port
Table of Contents

Advertisement

To do...
Configure the maximum size of
an SNMP packet that can be
received or sent by an SNMP
agent
Configure the engine ID for a
local SNMP agent
Create or update the MIB view
content for an SNMP agent
Follow these steps to configure SNMPv1 and SNMPv2c:
To do...
Enter system view
Enable SNMP agent
Configure SNMP agent system
information
Configur
e
directly
Configur
e SNMP
NMS
access
Configur
right
e
indirectl
y
Configure the maximum size of
an SNMP packet that can be
received or sent by an SNMP
agent
Configure the engine ID for a
local SNMP agent
Use the command...
snmp-agent packet max-size
byte-count
snmp-agent local-engineid
engineid
snmp-agent mib-view
{ excluded | included }
view-name oid-tree [ mask
mask-value ]
Use the command...
system-view
snmp-agent
snmp-agent sys-info
{ contact sys-contact |
location sys-location | version
{ { v1 | v2c | v3 }* | all } }
Create
snmp-agent community
an
{ read | write }
SNMP
community-name [ acl
commun
acl-number | mib-view
ity
view-name ]*
snmp-agent group { v1 | v2c }
Configur
group-name [ read-view
e an
read-view ] [ write-view
SNMP
write-view ] [ notify-view
group
notify-view ] [ acl acl-number ]
Add a
new
snmp-agent usm-user { v1 |
user to
v2c } user-name group-name
an
[ acl acl-number ]
SNMP
group
snmp-agent packet max-size
byte-count
snmp-agent local-engineid
engineid
1-4
Remarks
Optional
1,500 bytes by default
Optional
Company ID and device ID by
default
Optional
MIB view name is ViewDefault
and OID is 1 by default.
Remarks
Optional
Disabled by default
You can enable SNMP agent
through this command or any
commands that begin with
snmp-agent.
Required
The defaults are as follows:
3Com Corporation. for contact,
Marlborough, MA 01752 USA
for location and SNMP v3 for
the version.
Use either approach.
Both commands can be used to
configure SNMP NMS access
rights. The second command
was introduced to be
compatible with SNMPv3.
The community name
configured on NMS should be
consistent with the username
configured on the agent.
Optional
1500 bytes by default
Optional
Company ID and device ID by
default

Advertisement

Chapters

Table of Contents
loading

Table of Contents