HP A3100-8 v2 EI Configuration Manual page 92

A3100 v2 switch series
Hide thumbs Also See for A3100-8 v2 EI:
Table of Contents

Advertisement

To do...
Enter system view
Enable the SNMP agent
Configure system information for the
SNMP agent
Configure the local engine ID
Create or update a MIB view
Configure SNMP NMS access right
Configure the maximum size (in bytes) of
SNMP packets for the SNMP agent
NOTE:
view-name oid-tree
Each
subtree masks multiple times, the last configuration takes effect. Except the four subtrees in the default MIB
view, you can create up to 16 unique MIB view records.
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 ]
Approach 1: Create an SNMP
community
snmp-agent community { read |
write } community-name [ acl
acl-number | mib-view
view-name ]*
Approach 2: Create an SNMP
group, and add a user to the
SNMP group
1.
snmp-agent group { v1 |
v2c
[ read-view read-view ]
[ write-view write-view ]
[ notify-view notify-view ]
[ acl acl-number ]
2.
snmp-agent usm-user { v1 |
v2c } user-name group-name
[ acl acl-number ]
snmp-agent packet max-size
byte-count
pair represents a view record. If you specify the same record with different MIB
85
Remarks
Optional
Disabled by default
You can enable the SNMP
agent with this command or any
command that begins with
snmp-agent.
Required
By default, the contact
information is Hewlett-Packard
Development Company, L.P, the
location information is null, and
the protocol version is SNMPv1
SNMPv2c SNMPv3.
Optional
Company ID and device ID by
default.
Optional
The MIB view name is
ViewDefault and OID is 1 by
default.
Required
Use either approach.
By default, no SNMP group
exists.
In approach 2, the username is
equivalent to the community
}
group-name
name in approach 1, and must
be the same as the community
name configured on the NMS.
Optional
1,500 bytes by default.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents