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

    Tracing BMP Operations

    You can trace BMP operations for all BMP stations by configuring the traceoptions statement at the [edit routing-options bmp] hierarchy level or for specific BMP stations at the [edit rouiting-options bmp station station-name] hierarchy level.

    To trace BMP operations, complete the following steps:

    1. Configure the traceoptions statement:
      traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}
    2. Specify the name of the file to receive the output of the tracing operation using the file option. Enclose the name within quotation marks. All files are placed in the directory /var/log. We recommend that you place BMP tracing output in the file bmp-log.
    3. (Optional) Specify the maximum number of trace files using the files option. When a trace file named trace-file.0 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.
    4. (Optional) Specify the maximum size of each trace file using the size option in kilobytes (KB), megabytes (MB), or gigabytes (GB). When a trace file named trace-file reaches this size, it is renamed trace-file.0. When the trace-file again reaches its maximum size, trace-file.0 is renamed trace-file.1 and trace-file is renamed trace-file.0. This renaming scheme continues until the maximum number of trace files is reached. Then, the oldest trace file is overwritten. If you specify a maximum file size, you also must specify a maximum number of trace files with the files option.
    5. (Optional) You can specify that the log files are either world-readalbe (accessible to all users on the device) or no-world-readable (not accessible to all users on the device).
    6. You can specify the following BMP-specific trace options using the flag statement:

      • all—Trace all BMP monitoring operations.
      • down—Down messages.
      • error—Error conditions.
      • event—Major events, station establishment, errors, and events.
      • general—General events.
      • normal—Normal events.
      • packets—All messages.
      • policy—Policy processing.
      • route—Routing information.
      • route-monitoring—Route monitoring messages.
      • state—State transitions.
      • statistics—Statistics messages.
      • task—Routing protocol task processing.
      • timer—Routing protocol timer processing.
      • up—Up messages.
      • write—Writing of messages.

      You can optionally specify one or more of the following flag modifiers:

      • detail—Provide detailed trace information.
      • disable—Disable the tracing flag.
      • receive—Trace the packets being received.
      • send—Trace the packets being transmitted.

      Note: Use the all trace flag and the detail flag modifier with caution due to the increased computer processing power required.

    Published: 2014-07-23