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

    Tracing MSDP Protocol Traffic

    Tracing operations record detailed messages about the operation of routing protocols, such as the various types of routing protocol packets sent and received, and routing policy actions. 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.

    general

    Trace general events.

    keepalive

    Trace keepalive messages.

    normal

    Trace normal events.

    packets

    Trace all MSDP packets.

    policy

    Trace policy processing.

    route

    Trace MSDP changes to the routing table.

    source-active

    Trace source-active packets.

    source-active-request

    Trace source-active request packets.

    source-active-response

    Trace source-active response packets.

    state

    Trace state transitions.

    task

    Trace task processing.

    timer

    Trace timer processing.

    You can configure MSDP tracing for all peers, for all peers in a particular group, or for a particular peer.

    In the following example, tracing is enabled for all routing protocol packets. Then tracing is narrowed to focus only on MSDP peers in a particular group. To configure tracing operations for MSDP:

    1. (Optional) Configure tracing by including the traceoptions statement at the [edit routing-options] hierarchy level and set the all-packets-trace and all flags to trace all protocol packets.
      [edit routing-options traceoptions]user@host# set file all-packets-traceuser@host# set flag all
    2. Configure the filename for the MSDP trace file.
      [edit protocols msdp group groupa traceoptions]user@host# set file msdp-trace
    3. (Optional) Configure the maximum number of trace files.
      [edit protocols msdp group groupa traceoptions]user@host# set file files 5
    4. (Optional) Configure the maximum size of each trace file.
      [edit protocols msdp group groupa traceoptions]user@host# set file size 1m
    5. (Optional) Enable unrestricted file access.
      [edit protocols msdp group groupa traceoptions]user@host# set file world-readable
    6. Configure tracing flags. Suppose you are troubleshooting issues with the source-active cache for groupa. The following example shows how to trace messages associated with the group address.
      [edit protocols msdp group groupa traceoptions]user@host# set flag source-active | match 230.0.0.3
    7. View the trace file.
      user@host> file list /var/loguser@host> file show /var/log/msdp-trace

    Published: 2013-11-18