Supported Platforms
Related Documentation
- EX, J, M, MX, PTX, QFX, T Series
- mtrace in the Junos OS Operational Mode Commands
- J, M, MX, SRX, T Series
- Understanding MLD
- M, MX, PTX, T Series
- Junos OS Tracing and Logging Operations in the Junos OS System Basics Configuration Guide
Tracing MLD 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. |
client-notification | Trace notifications. |
general | Trace general flow. |
group | Trace group operations. |
host-notification | Trace host notifications. |
leave | Trace leave group messages. |
mtrace | Trace mtrace packets. Use the mtrace command to troubleshoot the software. |
normal | Trace normal events. |
packets | Trace all MLD packets. |
policy | Trace policy processing. |
query | Trace MLD membership query messages, including general and group-specific queries. |
report | Trace membership report messages. |
route | Trace routing information. |
state | Trace state transitions. |
task | Trace task processing. |
timer | Trace timer processing. |
In the following example, tracing is enabled for all routing protocol packets. Then tracing is narrowed to focus only on MLD packets of a particular type. To configure tracing operations for MLD:
- (Optional) Configure tracing at the routing options level
to trace all protocol packets.
- Configure the filename for the MLD trace file.[edit protocols mld traceoptions]user@host# set file mld-trace
- (Optional) Configure the maximum number of trace files.[edit protocols mld traceoptions]user@host# set file files 5
- (Optional) Configure the maximum size of each trace file.[edit protocols mld traceoptions]user@host# set file size 1m
- (Optional) Enable unrestricted file access.[edit protocols mld traceoptions]user@host# set file world-readable
- Configure tracing flags. Suppose you are troubleshooting
issues with a particular interface. The following example shows how
to flag all events for packets associated with the interface name.[edit protocols mld traceoptions]user@host# set flag all | match fe-1/0/1.0
- View the trace file.user@host> file list /var/loguser@host> file show /var/log/mld-trace
Related Documentation
- EX, J, M, MX, PTX, QFX, T Series
- mtrace in the Junos OS Operational Mode Commands
- J, M, MX, SRX, T Series
- Understanding MLD
- M, MX, PTX, T Series
- Junos OS Tracing and Logging Operations in the Junos OS System Basics Configuration Guide
Published: 2013-02-12
Supported Platforms
Related Documentation
- EX, J, M, MX, PTX, QFX, T Series
- mtrace in the Junos OS Operational Mode Commands
- J, M, MX, SRX, T Series
- Understanding MLD
- M, MX, PTX, T Series
- Junos OS Tracing and Logging Operations in the Junos OS System Basics Configuration Guide