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



traceoptions {debug-level level;filter {protocol name;}flag flag;interfaces interface-name {debug-level level;flag flag;}}

Hierarchy Level

[edit services l2tp]

Release Information

Statement introduced before JUNOS Release 7.4.


Configure L2TP tracing operations. The messages are output to /var/log/l2tpd.


debug-level level—Trace level for PPP, L2TP, RADIUS, and User Datagram Protocol (UDP):

  • detail—Detailed debug information.
  • error—Errors only.
  • packet-dump—Packet decoding information.

filter protocol name—Additional filter for the specified protocol:

  • l2tp
  • ppp
  • radius
  • udp

flag flag—Tracing operation to perform:

  • all—Trace everything.
  • configuration—Trace configuration events.
  • protocol—Trace routing protocol events.
  • routing-socket—Trace routing socket events.
  • rpd—Trace routing protocol process events.

interfaces interface-name—Apply L2TP traceoptions to a specific adaptive services interface.

  • debug-level level—Trace level for the interface:
    • detail—Detailed debug information.
    • error—Errors only.
    • extensive—All PIC debug information.
  • flag flag—Tracing operations for the interface:
    • all—Trace everything.
    • ipc—Trace L2TP Inter-Process Communication (IPC) messages between the PIC and the Routing Engine.
    • packet-dump—Dump each packet content based on debug level.
    • protocol—Trace L2TP, PPP, and multilink handling.
    • system—Trace packet processing on the PIC.

Usage Guidelines

See Tracing L2TP Operations.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2010-04-28

[an error occurred while processing this directive]