× Bookmark added
Page of 189
Download Table of Contents TroubleshootingTroublesh..

HP A3100-8 v2 EI Configuration Manual: Snmp Logging Configuration Example

A3100 v2 switch series.
Hide thumbs

Advertisement

# Assign the NMS read and write access to the objects under the interface node (OID 1.3.6.1.2.1.2), and
deny its access to any other MIB objects. Set the user name to managev3user, authentication protocol to
MD5, authentication key to authkey, the privacy protocol to DES56, and the privacy password to prikey.
<Sysname> system-view
[Sysname] undo snmp-agent mib-view ViewDefault
[Sysname] snmp-agent mib-view included test interfaces
[Sysname] snmp-agent group v3 managev3group read-view test write-view test
[Sysname] snmp-agent usm-user v3 managev3user managev3group authentication-mode md5
authkey privacy-mode des56 prikey
# Configure contact person and physical location information for the agent.
[Sysname] snmp-agent sys-info contact Mr.Wang-Tel:3306
[Sysname] snmp-agent sys-info location telephone-closet,3rd-floor
# Enable traps, specify the NMS at 1.1.1.2 as a trap destination, and set the username managev3user for
the traps.
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname
managev3user v3 privacy
Configuring the SNMP NMS
2.
Specify the SNMP version for the NMS as v3.
Create two SNMP users: managev3user and public.
Enable both authentication and privacy functions
Use MD5 for authentication and DES for encryption.
Set the authentication key to authenkey and the privacy key to prikey.
Set the timeout time and maximum number of retries.
For information about configuring the NMS, see the manual for the NMS.
NOTE:
The SNMP settings on the agent and the NMS must match.
Verify the configuration
3.
After the configuration, an SNMP connection is established between the NMS and the agent. The
NMS can get and configure the values of some parameters on the agent through MIB nodes.
Execute the shutdown or undo shutdown command to an idle interface on the agent, and the NMS
receives the corresponding trap.

SNMP logging configuration example

Network requirements
An agent (1.1.1.1/24) connects to an NMS, as shown in
Configure the agent to log the SNMP operations performed by the NMS.
Figure 36
.
92

Advertisement

   Also See for HP A3100-8 v2 EI

   Related Manuals for HP A3100-8 v2 EI

Comments to this Manuals

Symbols: 0
Latest comments: