HP X.25/9000 User's Guide HP-UX 11i v3 (5900-1523, August 2011)
Device ID : -1 Path ID : 0
Connection ID : 0
Location : 00123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------- TCP Header ----------------------------------
sport: 49356 --> dport: 1998 flags: PUSH ACK
seq: 0xeda04af3 urp: 0x0 chksum: 0x2f data len: 27
ack: 0x3f6de013 win: 0x8000 optlen: 0
--------------------------------- XoT Header ---------------------------------
Version :00 Length of XoT Data :23
Tx L3 bd: 0 at Thu Jan 13 IST 2011 01:39:53.860329 Outgoing PVC Setup Request lci 1
Status : Waiting to Connect
Initiator LCN : 1
Remote LCN : 4
Initiator Interface : xot0
Remote Interface : xot0
Initiator Window Size : 7
Remote Window Size : 7
Initiator Packet Size : 1024 bytes
Remote Packet Size : 1024 bytes
NOTE: All XOT traffic either originates from port 1998 or terminates at port 1998. So, if port
1998 is followed in the formatted trace file, the flow of XOT traffic can be understood.
Creating a filter file
You can use a filter file to filter information according to various criteria. This enables you to apply
system-level filtering to get information such as a time stamp for a specific subsystem.
You create a filter file with your text editor by entering the filter configuration commands in
predetermined fields on the same line. The filter commands are: type, “!” (not), and value.
The values specified in the filter file are compared against the input values. When there is a match,
the information is recorded. It is possible to create specific filters for all configured subsystems.
Refer to the man pages for netfmt for a complete explanation of the format file syntax.
Filter File Syntax
Each line (filter) in the system level filter file begins with the keyword FORMATTER FILTER (for
system level filters) or SX25L3 (for subsystem level filters, level 3 only). Entries are not case-sensitive,
and spaces and tabs are ignored. The syntax is shown below:
FORMATTER FILTER [type][!] [value]
or
SX25L3 [type][!] [value][value]...
The value field specifies the value for the given type. By default, this value is on (applies as a
filter), but can be set to off with the “!” (not) prefix. The value used with SX25L3 can be a list of
consecutive values, or a range of values.
The permitted values for the types are given in the table below. See the man pages for netfmt
for examples.
Table 33 Filter file options
ValueTypeSystem/subsystem level
all, hdrin, hdrout, pduin or
pduout
kindFORMATTER FILTER (system level)
12:54:22 (hr:min:sec) 7/25/94
(month/day/year)
time_from
12:54:22 (hr:min:sec) 7/25/94
(month/day/year)
time_through
SX25L3 (level 3)subsystem
netfmt 123










