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 General Gateway Trace Options

    General gateway tracing operations record detailed messages about the operation of configured gateways on the MobileNext Broadband Gateway.

    General gateway trace options are related to overall gateway 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 gateways ggsn-pgw gateway-name traceoptions flag] hierarchy level.

    Table 1: General Gateway Trace Flags

    FlagDescription

    all

    Trace everything.

    bulkjob

    Trace resources.

    config

    Trace configuration events.

    cos-cac

    Trace CoS and CAC events.

    ctext

    Trace user equipment, PDN, or bearer context events.

    fsm

    Trace FSM events.

    gtpu

    Trace GTP-U events.

    ha

    Trace high availability events.

    init

    Trace events related to protocol daemon initialization.

    pfem

    Trace PFE manager events.

    stats

    Trace stats events.

    waitq

    Trace waitq 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 general gateway events:

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

      Note: When a trace file (for example, gateway-log) reaches its maximum size, it is renamed gateway-log.0, then gateway-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 gateways ggsn-pgw gateway-name 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 gateways ggsn-pgw gateway-name traceoptions]user@host# set level error
    6. View the trace file.
      user@host# file show /var/log/gateway-log

    Published: 2011-11-18