Supported Platforms
Related Documentation
- M, MX, QFX, T Series
- Understanding MSDP
- M, MX, PTX, T Series
- Junos OS Tracing and Logging Operations in the Junos OS System Basics Configuration Guide
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:
- (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.
- Configure the filename for the MSDP trace file.[edit protocols msdp group groupa traceoptions]user@host# set file msdp-trace
- (Optional) Configure the maximum number of trace files.[edit protocols msdp group groupa traceoptions]user@host# set file files 5
- (Optional) Configure the maximum size of each trace file.[edit protocols msdp group groupa traceoptions]user@host# set file size 1m
- (Optional) Enable unrestricted file access.[edit protocols msdp group groupa traceoptions]user@host# set file world-readable
- 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
- View the trace file.user@host> file list /var/loguser@host> file show /var/log/msdp-trace
Related Documentation
- M, MX, QFX, T Series
- Understanding MSDP
- M, MX, PTX, T Series
- Junos OS Tracing and Logging Operations in the Junos OS System Basics Configuration Guide
Published: 2012-06-27
Supported Platforms
Related Documentation
- M, MX, QFX, T Series
- Understanding MSDP
- M, MX, PTX, T Series
- Junos OS Tracing and Logging Operations in the Junos OS System Basics Configuration Guide