HP Comware 5 Debug Manual Vol 3
send OK
*Jul 27 10:10:35:297 2007 Sysname SNMP/7/VBLIST:
sysUpTime.0: 5936387
*Jul 27 10:10:35:297 2007 Sysname SNMP/7/VBLIST:
snmpTrapOID.0: 1.3.6.1.6.3.1.1.5.2
// The device sent the version 2 trap message to the destination host 10.165.81.75.
The trap message was sent successfully, and the values of the binding variables sysUpTime.0 and
snmpTrapOID.0 are 5936387 and 1.3.6.1.6.3.1.1.5.2, respectively
debugging snmp trap process
Use debugging snmp trap process to enable debugging for the SNMP trap task.
Use undo debugging snmp trap process to disable debugging for the SNMP trap task.
Syntax
debugging snmp trap process [ error | info | warning ]
undo debugging snmp trap process [ error | info | warning ]
Default
Debugging for the SNMP trap task is disabled.
Views
User view
Default command level
1: Monitor level
Parameters
error: Specifies error debugging for the SNMP trap task.
info: Specifies info debugging for the SNMP trap task.
warning: Specifies warning debugging for the SNMP trap task.
Usage guidelines
If you do not specify the level of debugging information, debugging information for all levels will be
output or disabled.
Table 8 describes output fields and messages for the debugging snmp trap process command.
Table 204 Output from the debugging snmp trap process command
Field
Description
TRAP_INFO
Info-level debugging information generated during the trap task
implementation process.
TRAP_WARNING
Warning-level debugging information generated during the trap
task implementation process.
TRAP_ERROR
Error-level debugging information generated during the trap task
implementation process.
wrong number of parameters in
trap-name's trap message
Number of parameters in the trap message is incorrect.
399