Using the X25TRACE Utility
X25TRACE is an NLM utility that enables you to view and capture the X.25 traffic in real time. This utility provides the following options:
- Network Interface Information---Displays the available X.25 interfaces and the hardware configuration information of each interface, such as port address, interrupt level, base memory address, and so on.
- Real-Time Monitor---Enables you to monitor the X.25 traffic on a specific X.25 interface in real time. You can capture the data to RAM or disk. You can display X.25 traffic in raw, frame, or packet mode.
- Playback---Captured data is replayed when this option is used.
- Configuration---Enables you to configure the capturing option, RAM or disk, and the filename if the data is captured to disk.
Using X25DISP
X25TRACE works with X25DISP to provide a way to analyze the output of X25TRACE. X25DISP is a DOS executable utility that decodes the X25TRACE output file and generates an ASCII format file. X25DISP.EXE is located in SYS:SYSTEM\UTILS.
For example, to write the captured data to an output file to display in ASCII, complete mode, and frame mode, enter the following command:
X25DISP -i filename -o filename -a -c -m1
If specified, the contents of the file are converted so that they are displayed in ASCII or hex format, in complete or short display mode, and in one of three decode modes: raw, frame, or packet mode. Table 3 shows the arguments that can be used with this DOS executable file. These arguments are case-sensitive.
Table 3. X25DISP Arguments
X25DISP |
Runs the DOS executable file |
-i<filename> |
Specifies the name of the input file |
-o<filename> |
Specifies the name of the output file |
-a |
Displays the data in ASCII |
-h |
Displays the data in hex |
-c |
Displays the data in complete mode |
-s |
Displays the data in short mode |
-m0 |
Decodes the data to display in raw mode |
-m1 |
Decodes the data to display in frame mode |
-m2 |
Decodes the data to display in packet mode |