Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Tracing DVMRP 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 flow.

graft

Trace graft messages.

neighbor

Trace neighbor probe packets.

normal

Trace normal events.

packets

Trace all DVMRP packets.

poison

Trace poison-route-reverse packets.

policy

Trace policy processing.

probe

Trace probe packets.

prune

Trace prune messages.

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 DVMRP packets of a particular type. To configure tracing operations for DVMRP:

  1. (Optional) Configure tracing at the routing options level 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 DVMRP trace file.
    [edit protocols dvmrp traceoptions]user@host# set file dvmrp-trace
  3. (Optional) Configure the maximum number of trace files.
    [edit protocols dvmrp traceoptions]user@host# set file files 5
  4. (Optional) Configure the maximum size of each trace file.
    [edit protocols dvmrp traceoptions]user@host# set file size 1m
  5. (Optional) Enable unrestricted file access.
    [edit protocols dvmrp traceoptions]user@host# set file world-readable
  6. Configure tracing flags. Suppose you are troubleshooting issues with a particular DVMRP neighbor. The following example shows how to trace neighbor probe packets that match the neighbor’s IP address.
    [edit protocols dvmrp traceoptions]user@host# set flag neighbor | match 192.168.1.1
  7. View the trace file.
    user@host> file list /var/loguser@host> file show /var/log/dvmrp-trace

Published: 2013-07-31