To trace MSDP protocol traffic, you can specify options in the global traceoptions statement at the [edit routing-options] or [edit logical-systems logical-system-name routing-options] hierarchy level, and you can specify MSDP-specific options by including the traceoptions statement. Options applied at the routing options level trace all packets, and options applied at the protocol level trace only IGMP traffic.
-
traceoptions {
- file filename <replace> <size size> <files number> <no-stamp>
<world-readable | no-world-readable>;
- flag flag <flag-modifier> <disable>;
- }
You can configure MSDP tracing as follows:
If you configure tracing options at the group level, each peer in the group inherits the group's tracing options.
You can configure tracing options globally for all MSDP peers (at the [edit protocols msdp] hierarchy level), for all peers in a group (at the [edit protocols msdp group group-name] level), or for an individual peer (at the [edit protocols msdp peer address] or the [edit protocols msdp group group-name peer address] level). If you configure tracing options at the group level, each peer in the group inherits the group's tracing options.
You can specify the following MSDP-specific options in the flag statement:
For general information about tracing, see the JUNOS System Basics Configuration Guide.
Trace only unusual or abnormal operations to routing-log, and trace detailed information about all MSDP messages to msdp-log:
- [edit]
- routing-options {
-
- traceoptions {
- file routing-log;
- flag errors;
- }
- }
- protocols {
-
- msdp {
-
- peer 192.68.2.120; {
-
local-address 192.68.1.200;
- }
-
-
traceoptions {
- file msdp-log;
- flag packets;
- }
- }
- }