Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configure Trace Operations for SNMP



Define tracing for SNMP to access more granular information about the packets sent and received through SNMP.


To configure SNMP tracing operations, follow these steps:

  1. In configuration mode, go to the following hierarchy level:

  2. Configure trace operations:

  3. Commit the configuration:

Sample Output

user@R1> show configuration snmp


The sample output shows a configuration for SNMP that includes traceoptions. The pdu flag is configured, which results in the generation of SNMP request and response packets. The output for the tracing operation is placed into various log files in the /var/log directory.

Protocol-specific tracing operations override any equivalent operations that you specify in the global traceoptions statement. If there are no equivalent operations, they supplement the global tracing options. If you do not specify any protocol-specific tracing, the routing protocol inherits all the global tracing operations.