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


traceoptions

Syntax

traceoptions {
    file <files 
number> <size size>;
    flag flag <disable>;

Hierarchy Level

[edit snmp]

Description

Configure SNMP tracing options.

To specify more than one tracing operation, include multiple flag statements. The output of the tracing operations is placed into two files:

Options

disable(Optional) Disable the tracing operation. You can use this option is to disable a single operation when you have defined a broad group of tracing operations, such as all.

files number—(Optional) Maximum number of trace files. When a trace file (for example, snmpd) reaches its maximum size, it is renamed snmpd.0, then snmpd.1, and so on, until the maximum number of trace files is reached. Then, the oldest trace file is overwritten.

If you specify a maximum number of files, you also must specify a maximum file size with the size option.
Range: 2 through 1000 files
Default: 10 files

flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements.

size size—(Optional) Maximum size of each trace file, in kilobytes (KB). When a trace file (for example, snmpd) reaches its maximum size, it is renamed snmpd.0, then snmpd.1, and so on, until the maximum number of trace files is reached. Then, the oldest trace file is overwritten.

If you specify a maximum file size, you also must specify a maximum number of trace files with the files option.
Range: 10 KB through the maximum file size supported on your system
Default: 1000 KB
Usage Guidelines

See Trace SNMP Traffic.

Required Privilege Level

snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.



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