[Contents] [Prev] [Next] [Index]


Trace SNMP Traffic

To trace SNMP traffic, you can specify options by including the traceoptions statement at the [edit snmp] hierarchy level:

 [edit snmp]
 traceoptions { 
     file <files number> <size size>;
     flag flag <disable>; 
 }
 

The output of the tracing operations is placed into two files:

You can specify the following SNMP-specific flags in the SNMP traceoptions statement:

Examples: Trace SNMP Traffic

Trace information about SNMP packets:

 [edit]
 snmp { 
     traceoptions {
         file size 10k files 5;
         flag pdu;
         flag protocol-timeouts;
         flag varbind-error;
     }
 }



[Contents] [Prev] [Next] [Index]