[Contents] [Prev] [Next] [Index] [Report an Error]

Tracing PGCP Operations

You can trace the following PGCP operations and record them in a log file:

All log files are placed in the /var/log directory. When a trace file reaches its maximum size, a .0 is appended to the file name, then a new file is created with a .1 appended, and so on. When the maximum number of trace files is reached, the oldest trace file is overwritten.

Step-by-Step Procedure

To configure tracing of PGCP operations:

  1. Access the PGCP traceoptions configuration.
    [edit]
    user@host# edit services pgcp traceoptions
    [edit services pgcp traceoptions]
  2. Specify a name for the trace file.
    [edit services pgcp traceoptions]
    user@host# set file pgcp
  3. Set the maximum number of trace files. If you specify a maximum number of files, you also must specify a maximum file size.
    [edit services pgcp traceoptions]
    user@host# set files 10
  4. Specify the operations that you want to include in the log file. For example:
    [edit services pgcp traceoptions]
    user@host# set flag gate
    user@host# set flag pgc-connection
    user@host# set flag pgcp-stack-h248
  5. Prevent any user from reading the log file.
    [edit services pgcp traceoptions]
    user@host# set no-world-readable
  6. Allow any user to read the log file.
    [edit services pgcp traceoptions]
    user@host# set world-readable

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error]