User`s manual

70 Command Summary 2000591-001
Command Summary, Continued
The trace command controls the device’s frame tracing function. This
feature captures network messages sent and received by the ANCB’s
event buffer. The trace command controls which messages are captured
in the event buffer.
Trace messages may be collected for the Ethernet port or either Data-
NET port. Trace data may be filtered to collect only input frames, output
frames, or data frames (excluding protocol-only frames such as
poll/acknowledge). The device will not capture any frames until the “trace
on” command is given. Before issuing “trace on,” the user can set up
trace filtering as described below. By default, tracing is set up for all
frames on the Ethernet port.
To set up tracing, the trace command is followed by a list of ports and a
filter mode. The port list is a comma separated list, which may include
any of the following ports:
1” or “2
Specifies DataNET port 1 or 2
Port 1 is DataNET Channel A
Port 2 is DataNET Channel B
ethernet
Specifies the Ethernet port
The filter specification may be one of:
data
Trace all data frames (i.e., exclude frames
that do not carry encapsulated Ethernet data).
input
Trace only input data frames.
output
Trace only output data frames
all
Trace all frames, including “protocol-only”
frames on DataNET links.
The port and filter options may be commanded separately or combined
into a single command. The following command sets up tracing for all
frames on the Ethernet link:
trace ethernet all
The following command sets up tracing on port 2, Channel B, for input
data only.
trace 2 input
trace