Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


flag (Tracing for Origin AS Validation)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.2.


Configure the flags for tracing resource public key infrastructure (RPKI) BGP route validation.


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

RPKI BGP Route Validation Tracing Flags

  • all—Trace all events.

  • error—Trace errored packets.

  • keepalive—RPKI-to-router protocol keepalive messages. If you enable the BGP update flag only, received keepalive messages do not generate a trace message.

  • nsr-synchronization—Nonstop routing synchronization events.

  • packets—All incoming and outgoing packets.

  • state—State transitions.

  • task—Routing protocol task processing.

  • timer—Routing protocol timer processing.

  • update—Update packets. These packets provide routing updates to BGP systems. If you enable only this flag, received keepalive messages do not generate a trace message. Use the keepalive flag to generate a trace message for keepalive messages.

Required Privilege Level

routing—To view this statement in the configuration.

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