28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solution<br />

Enable PIM packet tracing:<br />

[edit protocols pim]<br />

aviva@RouterA# set traceoptions file pim-trace world-readable<br />

aviva@RouterA# set traceoptions flag packets<br />

<strong>Discussion</strong><br />

As you are setting up and debugging a PIM domain, you can turn on tracing on PIM<br />

to keep a log of packet exchanges between routers. The option you choose depends<br />

on what you are interested in logging at any particular time. With JUNOS PIM, you<br />

can trace the following:<br />

[edit protocols pim traceoptions]<br />

aviva@RouterA# set flag ?<br />

Possible completions:<br />

all<br />

Trace everything<br />

assert<br />

Trace assert messages<br />

autorp<br />

Trace bootstrap/RP/auto-RP messages<br />

bootstrap<br />

Trace bootstrap/RP/auto-RP messages<br />

general<br />

Trace general events<br />

graft<br />

Trace join/prune/graft/graft-ack messages<br />

hello<br />

Trace hello packets<br />

join<br />

Trace join/prune/graft/graft-ack messages<br />

mdt<br />

Trace messages related to multicast data tunnels<br />

normal<br />

Trace normal events<br />

packets<br />

Trace all PIM packets<br />

policy<br />

Trace policy processing<br />

prune<br />

Trace join/prune/graft/graft-ack messages<br />

register<br />

Trace register/register-stop messages<br />

route<br />

Trace routing information<br />

rp<br />

Trace bootstrap/RP/auto-RP messages<br />

state<br />

Trace state transitions<br />

task<br />

Trace routing protocol task processing<br />

timer<br />

Trace routing protocol timer processing<br />

The trace options let you track all PIM operations and packets. More useful is being<br />

able to trace specific packet types, such as Join/Prune messages and auto-RP messages.<br />

You can also select additional options, to get either detailed traces or limit the<br />

traces only to packets sent or received by the router:<br />

aviva@RouterA# set flag join ?<br />

Possible completions:<br />

<br />

Execute this command<br />

detail<br />

Trace detailed information<br />

disable<br />

Disable this trace flag<br />

receive<br />

Trace received packets<br />

send<br />

Trace transmitted packets<br />

620 | Chapter 16: IP Multicast<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!