📄 node317.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>27.1.1 Multicast Behavior Monitor Configuration</TITLE><META NAME="description" CONTENT="27.1.1 Multicast Behavior Monitor Configuration"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node318.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node318.html"><LINK REL="previous" HREF="node316.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node316.html"><LINK REL="up" HREF="node316.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node316.html"><LINK REL="next" HREF="node318.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node318.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html6204" HREF="node318.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node318.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html6198" HREF="node316.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node316.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html6192" HREF="node316.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node316.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html6200" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html6202" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html6205" HREF="node318.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node318.html">27.1.2 Protocol Specific configuration</A><B> Up:</B> <A NAME="tex2html6199" HREF="node316.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node316.html">27.1 Multicast API</A><B> Previous:</B> <A NAME="tex2html6193" HREF="node316.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node316.html">27.1 Multicast API</A>   <B> <A NAME="tex2html6201" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html6203" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H2><A NAME="SECTION05211000000000000000">27.1.1 Multicast Behavior Monitor Configuration</A></H2> supports a multicast monitor module that can traceuser-defined packet activity.The module counts the number of packets in transit periodicallyand prints the results to specified files. []attach enables a monitor module to print output to a file. []trace-topo insets monitor modules into all links. []filter allows accounting on specified packet header, field in the header), and value for the field). Calling []filterrepeatedly will result in an AND effect on the filtering condition.[]print-trace notifies the monitor module to begin dumping data.<TT>ptype()</TT> is a global arrary that takes a packet type name (as seen in[]trace-all output) and maps it into the corresponding value. A simple configuration to filter cbr packets on a particular group is:<P><PRE> set mcastmonitor [new McastMonitor] set chan [open cbr.tr w] # open trace file; $mmonitor attach $chan1 # attach trace file to McastMoniotor object; $mcastmonitor set period_ 0.02 # default 0.03 (sec); $mmonitor trace-topo # trace entire topology; $mmonitor filter Common ptype_ $ptype(cbr) # filter on ptype_ in Common header; $mmonitor filter IP dst_ $group # AND filter on dst_ address in IP header; $mmonitor print-trace # begin dumping periodic traces to specified files;</PRE> <P>The following sample output illustrates the output file format (time, count):<PRE>0.16 00.17999999999999999 00.19999999999999998 00.21999999999999997 60.23999999999999996 110.25999999999999995 120.27999999999999997 12</PRE><P><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -