1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
|
<HTML
><HEAD
><TITLE
>flow-print</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.73
"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><H1
><A
NAME="AEN1"
><SPAN
CLASS="APPLICATION"
>flow-print</SPAN
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN6"
></A
><H2
>Name</H2
><SPAN
CLASS="APPLICATION"
>flow-print</SPAN
> -- Display flows in formatted ASCII.</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN10"
></A
><H2
>Synopsis</H2
><P
><B
CLASS="COMMAND"
>flow-print</B
> [-hlnpw] [-d<TT
CLASS="REPLACEABLE"
><I
> debug_level</I
></TT
>] [-f<TT
CLASS="REPLACEABLE"
><I
> format</I
></TT
>]</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN18"
></A
><H2
>DESCRIPTION</H2
><P
>The <B
CLASS="COMMAND"
>flow-print</B
> utility will display flow data in
ASCII using pre-defined formats selectable with -f.
<P
CLASS="LITERALLAYOUT"
>Some of the less descriptive column headers are defined below<br>
<br>
Header Description<br>
-------------------------------<br>
Sif Source Interface ifIndex.<br>
DiF Destination Interface ifIndex.<br>
Pr Protocol.<br>
P Protocol.<br>
SrcP Source Port.<br>
DstP Destination Port.<br>
Pkts Packets.<br>
Octets Octets (Bytes).<br>
Active Time in ms the flow was active.<br>
B/Pk Bytes per Packet.<br>
Ts Type of Service.<br>
Fl Flags, for TCP the cumulative or of the TCP control bits.<br>
srcAS Source AS.<br>
dstAS Destination AS.<br>
Start Start time of the flow.<br>
End End time of the flow.<br>
router_sc V7 IP address of router producing shorcuts.<br>
peer_nexthop V6 IP address of peer next hop IP address.<br>
encap i/o Version 6 only. Encapsulation size in/out<br>
duration Time in ms the flow was active.<br>
input Input Interface ifIndex.<br>
output Output Interface ifIndex.<br>
flows Number of aggregated flows.<br>
mTos V8.x ToS of pkts that exceeded the contract.<br>
xpackets V8.x Packets that exceed the contract.</P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN23"
></A
><H2
>OPTIONS</H2
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>-d<TT
CLASS="REPLACEABLE"
><I
> debug_level</I
></TT
></DT
><DD
><P
>Enable debugging.</P
></DD
><DT
>-f<TT
CLASS="REPLACEABLE"
><I
> format</I
></TT
></DT
><DD
><P
>Select format. The default is appropriate for the export type of the
flow data. Available formats are:
<P
CLASS="LITERALLAYOUT"
> 0 1 line, interfaces, hex ports<br>
1 2 line (includes timing and flags)<br>
2 2 line candidate TCP syn attack flows<br>
3 1 line, no interfaces, decimal ports<br>
4 1 line with AS number<br>
5 1 line, 132 column<br>
6 show ip accounting emulation<br>
7 1 line, 132 column +router_id<br>
8 1 line, 132 column +encapsulation<br>
9 1 line with tag values<br>
10 AS aggregation<br>
11 Protocol Port aggregation<br>
12 Source Prefix aggregation<br>
13 Destination Prefix aggregation<br>
14 Prefix aggregation<br>
15 Destination aggregation (Catalyst)<br>
16 Source Destination aggregation (Catalyst)<br>
17 Full Flow (Catalyst)<br>
18 ToS AS Aggregation<br>
19 ToS Proto Port aggregation<br>
20 ToS Source Prefix aggregation<br>
21 ToS Destination Prefix aggregation<br>
22 ToS Prefix Aggregation<br>
23 ToS Prefix Port aggregation<br>
24 Full (Catalyst)</P
></P
></DD
><DT
>-h</DT
><DD
><P
>Display help.</P
></DD
><DT
>-l</DT
><DD
><P
>Unbuffer output.</P
></DD
><DT
>-n</DT
><DD
><P
>Use symbolic names where appropriate.</P
></DD
><DT
>-p</DT
><DD
><P
>Display header information.</P
></DD
><DT
>-w</DT
><DD
><P
>Wide output.</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN57"
></A
><H2
>EXAMPLES</H2
><DIV
CLASS="INFORMALEXAMPLE"
><A
NAME="AEN59"
></A
><P
></P
><P
>Display flows in <TT
CLASS="FILENAME"
>flowfile</TT
></P
><P
> <B
CLASS="COMMAND"
>flow-print < flowfile</B
></P
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN64"
></A
><H2
>FILES</H2
><P
> Configuration files:
Symbols - <TT
CLASS="FILENAME"
>@localstatedir@/sym/*</TT
>.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN68"
></A
><H2
>BUGS</H2
><P
>None known.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN71"
></A
><H2
>AUTHOR</H2
><P
>Mark Fullmer
<TT
CLASS="EMAIL"
><<A
HREF="mailto:maf@splintered.net"
>maf@splintered.net</A
>></TT
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN78"
></A
><H2
>SEE ALSO</H2
><P
><SPAN
CLASS="APPLICATION"
>flow-tools</SPAN
>(1)</P
></DIV
></BODY
></HTML
>
|