[an error occurred while processing this directive][an error occurred while processing this directive]



traceoptions {flag flag <flag-modifier>;}

Hierarchy Level

[edit logical-systems logical-system-name protocols pgm],[edit protocols pgm]

Release Information

Statement introduced before JUNOS Release 7.4.


Configure PGM tracing options.

To specify more than one tracing operation, include multiple flag statements.


The default PGM trace options are those inherited from the routing protocol traceoptions statement included at the [edit routing-options] hierarchy level.


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

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

PGM Tracing Flags

  • all—Trace all PGM packets.
  • init—Trace all PGM initialization events.
  • packets—Trace all PGM packet processing.
  • parser—Trace all PGM parser processing.
  • route-socket—Trace all PGM route-socket events.
  • show—Trace all PGM show command servicing.
  • state—Trace all PGM state transitions.

Global Tracing Flags

  • all—All tracing operations
  • general—A combination of the normal and route trace operations
  • normal—All normal operations
Default: If you do not specify this option, only unusual or abnormal operations are traced.
  • policy—Policy operations and actions
  • route—Routing table changes
  • state—State transitions
  • task—Interface transactions and processing
  • timer—Timer usage

flag-modifier—(Optional) Modifier for the tracing flag. You can specify one or more of the following modifiers:

  • detail—Detailed trace information
  • receive—Packets being received
  • send—Packets being transmitted

Required Privilege Level

routing and trace—To view this statement in the configuration.

routing-control and trace-control—To add this statement to the configuration.

Published: 2010-04-16

[an error occurred while processing this directive]