|
|
|
|
The add_dlc_trace command controls tracing on SNA messages sent on a DLC. It can be used to activate tracing on a particular DLC, port, LS, or HPR RTP connection. It can also be used to activate tracing on a particular session on a specified LS or to specify which types of messages are to be traced. The command can also be used to activate tracing on all DLCs, ports, link stations, and HPR RTP connections. For more information about how to use SNAP-IX tracing, refer to the SNAP-IX Diagnostics Guide.
If multiple add_dlc_trace commands relating to the same resource are issued, a message will be traced if it matches any of the commands currently active. For example:
If you issue a command to trace all messages for a port and its link stations and then issue a second command to trace only messages with a specified LFSID for one of the link stations owned by the port, all messages for the LS will continue to be traced (because they match the first command). If you then use remove_dlc_trace to remove tracing for the port, messages on the LS with the specified LFSID will continue to be traced (because they match the second command which is still active), but other messages on this LS will not be traced.
If you issue a command to trace XID messages on all resources and then issue a second command to trace SC and DFC messages on a particular LS, all three message types will be traced for this LS.
If you are tracing an SDLC line and would like more detailed trace information, you can get this by using internal tracing on SDLC as well as line tracing. The additional detail is formatted as part of the output for line tracing, so that you will see all of the SDLC tracing in one file. For more information, see set_trace_type.
Parameter name Type Length Default [add_dlc_trace] resource_type constant ALL_RESOURCES resource_name character 8 (null string) sidh hex byte 0 sidl hex byte 0 odai constant NO message_type constant TRACE_ALL
Supplied parameters are:
Specifies the resource to be traced and optionally the specific message types to be traced for this resource. Possible values are:
Specify tracing options for all DLCs, ports, link stations, and RTP connections.
Specify tracing options for the DLC named in resource_name and for all ports and link stations that use this DLC.
Specify tracing options for the port named in resource_name and for all link stations that use this port.
Specify tracing options for the LS named in resource_name .
Specify tracing options for the RTP connection named in resource_name.
Specify tracing options for the port named in resource_name and for all defined link stations (but not implicit link stations) that use this port.
Specify tracing options for the port named in resource_name and for all implicit link stations (but not defined link stations) that use this port.
The name of the DLC, port, LS, or
RTP connection for which tracing is to be activated. Do not specify this
parameter if resource_type is set to
If resource_type
is set to
The following three parameters identify the Local Form Session Identifier
(LFSID) for a session on the specified LS. These parameters are valid only
if resource_type is set to
Session ID high byte
Session ID low byte
Origin Destination Assignor Indicator. Possible values are:
The BIND sender is the node containing the secondary link station.
The BIND sender is the node containing the primary link station.
The type of messages to trace for the specified resource or session.
To trace all messages, set this parameter to
Trace XID messages
Trace Session Control Request/Response Units (RUs)
Trace Data Flow Control RUs
Trace Function Management Data messages
Trace Non-BBIU segments that do not contain an RH
Trace Messages other than MUs and XIDs
Trace Network-Layer Protocol messages
Trace Network Control messages
For tracing on an RTP connection, the values
No parameters are returned by SNAP-IX when this command executes successfully.
If the command cannot be executed, SNAP-IX returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
If the command does not execute because of a parameter error, SNAP-IX returns the following parameters:
PARAMETER_CHECK
Possible values are:
The value specified in the resource_type parameter was not valid.
The value specified in the message_type parameter was not valid.
The resource_name parameter does not match any RTP connection.
No specific state errors, other than those listed in Common Return Codes from snaadmin Commands, occur for this command.
Common Return Codes from snaadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.
|
|
|
|
|