Technical Documentation

Tracing MSDP Protocol Traffic

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 <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}

You can configure MSDP tracing as follows:

  • 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] hierarchy level
  • For an individual peer at the [edit protocols msdp peer address] or the [edit protocols msdp group group-name peer address] hierarchy level

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:

  • keepalive—Trace keepalive messages.
  • packets—Trace all MSDP packets.
  • route—Trace MSDP changes to the routing table.
  • sa—Trace source-active packets.
  • sa-request—Trace source-active request packets.
  • sa-response—Trace source-active response packets.

For general information about tracing, see the Junos System Basics Configuration Guide.

Example: Tracing MSDP Protocol Traffic

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;}}}

Related Topics


Published: 2010-07-19

Help
|
My Account
|
Log Out