Diagnostic using the internal trace – Westermo IDW-90 AT User Manual

Page 84

Advertising
background image

84

6620-3200

9. Diagnostic using the internal Trace

For more sophisticated debugging an internal trace functionality is implemented.  
This logging mechanism allows writing of ISDN and serial interface activities into  
a wrap around buffer. The type of entries can be selected by a trace mask.

trcmsk – set tracemask

trcmsk par 

 Setup the mask to select the type of data to be written  
into the tracebuffer. 
Default: D channel Layer 1 and 3, DTE interfacelines,  
DTE-Data in connection-setup and clearing-phase. 
The parameter par has to be setup in the following way,  
 all bytes have to be entered (default 00 00 00 00 00 00 00 80): 
par := bl1  bl2  bl3  dl1  dl2  dl3  sl1  app

bl1

reserved 

00

bl2

B channel frames (layer 2) disabled 

00 (default)

enable HDLC frames 

03

bl3

B channel packets (layer 3) disabled 

00 (default)

enable X.25 packets 

03

dl1

D channel layer 1 status disabled 

00 (default)

enable C/I codes and states 

77 

dl2

D channel LAPD frames disabled 

00 (default)

enable HDLC frames 

03

dl3

D channel layer 3 messages disabled 

00 (default)

enable layer 3 messages 

72 

sl1

serial line trace disabled 

00 (default)

enable serial trace 

05 

app  No call logging 

00

enable call logging 

80 (default)

Examples:

trcmsk 0000007700720500   D channel layer-1 and layer-3, serial data 

and status lines

trcmsk 0003000000720500   D channel layer-3, B-channel layer-2, 

serial data and status lines

trcmsk 0000030000720500   D channel layer-3, B-channel layer-3, 

serial data and status lines

Advertising