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

    Configuring Mobile Options Trace Options

    Mobile options tracing operations record detailed messages about the operation of unified edge options on the MobileNext Broadband Gateway. Mobile options trace options are related to the processor daemon operation. You can specify which trace operations are logged by including specific tracing flags and levels.

    Table 1 describes the flags relating to the mobile unified edge that you can include at the [edit unified-edge mobile-options traceoptions flag] hierarchy level.

    Table 1: Mobile Options Trace Flags

    FlagDescription

    all

    Trace everything.

    configuration

    Trace configuration events.

    error

    Trace events related to catastrophic errors in the daemon.

    init

    Trace events related to protocol daemon initialization.

    protocol

    Trace protocol processing events.

    Table 2 describes the levels you can include.

    Table 2: Trace Levels

    LevelDescription

    all

    Match all levels.

    error

    Match error conditions.

    info

    Match informational messages.

    notice

    Match conditions that should be specially handled.

    verbose

    Match verbose messages.

    warning

    Match warning messages.

    To configure tracing options for mobile options:

    1. Specify that you want to configure tracing options for mobile options.
      [edit unified-edge mobile-options]user@host# edit traceoptions
    2. Configure the filename for the trace file.
      [edit unified-edge mobile-options traceoptions]user@host# set file mobile-options-log
    3. (Optional) Configure the maximum size of each trace file.
      [edit unified-edge mobile-options traceoptions]user@host# set file size 100m

      Note: When a trace file (for example, mobile-log) reaches its maximum size, it is renamed mobile-log.0, then mobile-log.1, and so on, until the maximum number of trace files is reached. The oldest archived file is then overwritten.

    4. Configure the tracing flag.
      [edit unified-edge mobile-options traceoptions]user@host# set flag all

      Note: Use care when tracing all operations on a gateway. This can have a performance impact.

    5. Configure the tracing level.
      [edit unified-edge mobile-options traceoptions]user@host# set level error
    6. View the trace file.
      user@host# file show /var/log/mobile-options-log

    Published: 2011-11-18