EasyManuals Logo

HP JG221A User Manual

HP JG221A
189 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
Page #99 background imageLoading...
Page #99 background image
# Assign the NMS read and write access to the objects under the interface n o d e ( O I D 1. 3. 6 .1. 2.1. 2 ) , a n d
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
2. Configuring the SNMP NMS
• 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.
3. Verify the configuration
• 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
A n a g e n t (1.1.1.1 / 24 ) c o n n e c t s t o a n N M S , a s s h o w n i n Figure 36 .
Configure the agent to log the SNMP operations performed by the NMS.
92

Table of Contents

Other manuals for HP JG221A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP JG221A and is the answer not in the manual?

HP JG221A Specifications

General IconGeneral
BrandHP
ModelJG221A
CategorySwitch
LanguageEnglish

Related product manuals