Skip to content

Support



Juniper was the first North American IP routing vendor to achieve the prestigious TL 9000 certification by the Quality of Excellence for Suppliers of Telecommunications (QuEST) Forum in the router category, for design, development, provision and service and support.



What is J-Care?

It's the world-class service and support that you expect from a company that delivers the industry's best infrastructure and security products. With J-Care, you now have the confidence knowing that Juniper will do our part to keep you on top of the world!


traceoptions

Syntax

traceoptions {
file filename <files number> <size size> <world-readable | no-world-readable> <match regex>;
flag flag ;
}

Hierarchy Level

[edit virtual-chassis]

Release Information

Statement introduced in JUNOS Release 9.0 for EX-series switches.

Description

Define tracing operations for the virtual chassis.

Default

Tracing operations are disabled.

Options

file filename—Name of the file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log.

file number—(Optional) Maximum number of trace files. When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the maximum xk to specify KB, xm to specify MB, or xg to specify GBnumber 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 sizeoption.

Range: 2 through 1000
Default: 3 files

flag flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements. You can include the following flags:

  • all—All tracing operations.
  • csn—Trace virtual chassis complete sequence number (CSN) packets.
  • error—Trace virtual chassis errored packets.
  • hello—Trace virtual chassis hello packets.
  • krt—Trace virtual chassis KRT events.
  • lsp—Trace virtual chassis link-state packets.
  • lsp-generation—Trace virtual chassis link-state packet generation.
  • me—Trace virtual chassis ME events.
  • packets—Trace virtual chassis packets.
  • parse—Trace reading of the configuration.
  • route—Trace virtual chassis routing information.
  • spf—Trace virtual chassis SPF events.
  • state—Trace virtual chassis state transitions.
  • task—Trace virtual chassis task operations.

match regex—(Optional) Refine the output to include lines that contain the regular expression.

no-world-readable—(Optional) Restricted file access to the user who created the file.

size size—(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB). When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.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 filesoption.

Syntax: xk to specify KB, xm to specify MB, or xg to specify GB
Range: 10 KB through 1 GB
Default: 128 KB

world-readable—(Optional) Enable unrestricted file access.

Required Privilege Level

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