A format clause is a textual phrase used to describe to the Trace Analyzer how the human-readable presentation of a protocol field maps to the actual data extracted from a trace record. Each character in a format clause has a specific meaning. Only certain combinations of these characters are possible. Table 1 summarizes this information.
Character/Phrase | Meaning | Used With | Example |
hh |
A single byte in hexadecimal format
(uppercase or lowercase, respectively) Presents digits 0-9, A-F |
hh : |
An uppercase MAC address:
HH:HH:HH:HH:HH:HH A lowercase MAC address: hh:hh:hh:hh:hh:hh |
|
A single, integral, base 10 digit
Pad to the left with zero Presents digits 0-9 |
9 . , |
A decimal number, 3 decimal places, zero padded:
9,999.999 A decimal number, 3 decimal places, zeros suppressed: Z,ZZ9.999 |
|
A single, integral, base 10 digit
Suppress padding to the left with zero |
z 9 . , |
An IP address:
zz9.zz9.zz9.zz9 |
|
A single bit |
|
Four bits of binary data:
bbbb |
|
A variable length text string
(ASCII or EBCDIC formatted) |
|
Any ASCII or EBCDIC text string:
x... |
|
A single text character
(ASCII or EBCDIC formatted) |
|
Three ASCII or EBCDIC characters:
ccc |