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
     

    Related Documentation

     

    Tracing Charging Operations

    Charging tracing operations track mobile charging operations and record them in a log file. The error descriptions captured in the log file provide detailed information to help you solve problems.

    All log files are located in the /var/log directory. You cannot change the directory in which trace files are located. When the trace file reaches its maximum size, a .0 is appended to the filename, then a new file is created with a .1, and finally a .2. When the maximum number of trace files is reached, the oldest trace file is overwritten.

    Note: You should use care when tracing charging operations because it can have a performance impact.

    To configure charging tracing operations:

    1. Specify that you want to configure tracing options for charging operations.
      [edit]user@host# edit unified-edge gateways ggsn-pgw MBG1 charging traceoptions
    2. (Optional) Configure the name for the file used for the trace output.
    3. (Optional) Configure flags to filter the operations to be logged.

    The mobile charging traceoptions configuration tasks are described in the following topics:

    Configuring the Trace Log Filename

    By default, the name of the file that records trace output for mobile charging is mobile-smd. You can specify a different name with the file option to distinguish trace output for different session Dense Port Concentrators (DPCs). For example, you can specify the filename in the format filename-msnumberfpcnumberpicnumber.

    To configure the filename for mobile charging tracing operations:

    • Specify the name of the file used for the trace output.
      [edit unified-edge gateways ggsn-pgw MBG1 charging traceoptions]user@host# set file filename

    Configuring the Tracing Flags

    To configure the flags for the events to be logged:

    • Configure the flags.
      [edit unified-edge gateways ggsn-pgw MBG1 charging traceoptions]user@host# set flag flag

    By default, only important events are logged. You can specify which trace operations are logged by including specific tracing flags. The following table describes the flags that you can include.

    Flag

    Description

    all

    Trace all operations

    cdr-encoding

    Trace CDR encoding

    client-fsm

    Trace client finite state machine (FSM)

    config

    Trace configuration events

    fsm

    Trace FSM

    general

    Trace general flow

    group-fsm

    Trace group FSM

    init

    Trace initialization events

    ipc

    Trace IPC

    path-management

    Trace path management module

    request

    Trace requests

    resource

    Trace resources

    response

    Trace responses

    timers

    Trace timers

    transport

    Trace transport group

    triggers

    Trace trigger information

     

    Related Documentation

     

    Published: 2011-11-16