HP Comware 5 Debug Manual Vol 3

SNMP debugging commands
The output description tables in this document only contain fields and messages that require an
explanation.
debugging snmp agent packet
Use debugging snmp agent packet to enable SNMP packet debugging for the SNMP agent.
Use undo debugging snmp agent packet to disable SNMP packet debugging for the SNMP agent.
Syntax
debugging snmp agent packet { header | receive | send }
undo debugging snmp agent packet { header | receive | send }
Default
SNMP packet debugging is disabled.
Views
User view
Default command level
1: M o n itor level
Parameters
header: Enables SNMP packet header debugging to output to the information center the following
information from an SNMP request header: version, community name, and username.
receive: Enables debugging for the SNMP packet received to output to the information center the
following information from an SNMP request received by the SNMP agent: the packet type, request-id,
error-status, error-index, and the variable binding list.
send: Enables debugging for the SNMP packet sent to output to the information center the following
information from an SNMP response sent by the SNMP agent: packet type, request-id, error-status,
error-index, and the variable binding list.
Usage guidelines
Table 1 describes output fields and messages for the debugging snmp agent packet header command.
Table 197 Output from the debugging snmp agent packet header command
Field
Description
incoming SNMP-version packet
An SNMP packet was received.
SNMP-version represents the SNMP version,
SNMPv1, SNMPv2c, or SNMPv3.
community name: community-name SNMPv1/v2c community name.
security model: v3 SNMPv3 security model.
391