EasyManuals Logo
Home>HP>Switch>JG221A

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 #94 background imageLoading...
Page #94 background image
To do… Use the command… Remarks
Enter system view system-view
Switch the format of an
NM-specific ifindex from 16-bit to
32-bit
snmp-agent ifmib long-ifindex
enable
Optional
By default, an NM-specific ifindex
is in 16-bit format.
CAUTION:
Some configurations use parameters that relate to NM-specific ifindex, so the switch of NM-specific
ifindex causes temporary ineffectiveness of these configurations. If the format of the ifindex is switched
back, the configurations will become effective again. Perform the configurations again with the new
NM-specific ifindexes, and then the related configurations become effective. For example, in the
configuration of RMON alarm group and private alarm group, the alarm variables are presented in the
format of OID/variable-name.NM-specific-ifindex. The switching of NM-specific ifindex format makes
the RMON alarm variables ineffective. To monitor the affected nodes again, re-configure the alarm
groups with the new format of NM-specific ifindexes.
Configuring SNMP logging
Introduction to SNMP logging
The SNMP logging function logs the Get requests, Set requests, and Set responses that the NMS has
performed on the SNMP agent, but does not log the Get responses.
For a Get operation, the agent logs the IP address of the NMS, name of the accessed node, and
node OID.
For a Set operation, the agent logs the IP address of the NMS, name of the accessed node, node
OID, the assigned value and the error code and error index of the Set response.
The SNMP module sends these logs to the information center as informational messages. You can output
these messages to certain destinations, for example, the console and the log buffer by configuring the
information center to output informational messages to these destinations. For more information about
the information center, see the chapter “Information center configuration.
Enabling SNMP logging
To do… Use the command… Remarks
Enter system view system-view
Enable SNMP logging
snmp-agent log { all |
get-operation | set-operation }
Required
Disabled by default.
Configure SNMP log output rules
info-center source { module-name |
default } channel { channel-number
| channel-name } [ debug { level
severity | state state } * | log { level
severity | state state } * | trap
{ level severity | state state } * ] *
Optional
By default, SNMP logs are output
to loghost and logfile only. To
output SNMP logs to other
destinations such as the console or
a monitor terminal, you need to set
the output destinations with this
command.
87

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