Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    traceoptions (MobileNext Broadband Gateway)

    Syntax

    traceoptions {file filename {files files;match match;(no-world-readable | world-readable);size size;}flag {flag;}level level;no-remote-trace;}

    Hierarchy Level

    [edit unified-edge gateways ggsn-pgw gateway-name]

    Release Information

    Statement introduced in Junos OS Mobility Release 11.2W.

    Description

    Define the tracing operations for the broadband gateway. You can specify which trace operations are logged by including specific tracing flags and levels.

    Options

    file filename—Name of the file that receives the output of the tracing operation. All files are placed in the /var/log directory.

    files files— (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 number of trace files is reached. Then, the oldest trace file is overwritten.

    If you specify a maximum number of files, you must also specify a maximum file size with the size option and a filename.

    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 use one of the following flags:
      • all—Trace everything.
      • bulkjob—Trace events that are handled by bulk jobs in order to prevent system overload.
      • config—Trace configuration events.
      • cos-cac—Trace class of service (CoS) and call admission control (CAC) events.
      • ctxt—Trace user equipment, Packet Data Network (PDN), or bearer context events.
      • fsm—Trace mobile subscriber finite state machine (FSM) events.
      • gtpu—Trace GPRS tunneling protocol, user plane (GTP-U) events.
      • ha—Trace high availability events.
      • init—Trace initialization events.
      • pfem—Trace Packet Forwarding Engine Manager events.
      • stats—Trace stats events. This flag is used internally by Juniper's engineers.
      • waitq—Trace waitq events. This flag is used internally by Juniper's engineers.

    level level—(Optional) Level of tracing to perform. You can specify any of the following levels:

    • all—Match all levels.
    • critical—Match critical conditions.
    • error—Match error conditions.
    • info—Match informational messages.
    • notice—Match conditions that should be handled specially
    • verbose—Match verbose messages.
    • warning—Match warning messages.

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

    no-remote-trace—(Optional) Disable remote tracing.

    no-world-readable—(Optional) Restrict access to the originator of the trace operation only.

    size size—(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB). If you specify a maximum file size, you must also specify a maximum number of trace files with the files option and filename.

    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

    interface—To view this statement in the configuration.

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

    Published: 2011-11-18