Eric Slide Seminar Trace Msg

12
Tracing message B1: Enable việc trace những bản tin cần thiết trên những module cần trace B2: Bắt đầu trace bản tin và xem kết quả B3: Dừng trace bản tin và disable việc trace bản tin trên các module

description

Ericson

Transcript of Eric Slide Seminar Trace Msg

Page 1: Eric Slide Seminar Trace Msg

Tracing message

B1: Enable việc trace những bản tin cần thiết trên những module cần trace

B2: Bắt đầu trace bản tin và xem kết quả

B3: Dừng trace bản tin và disable việc trace bản tin trên các module

Page 2: Eric Slide Seminar Trace Msg

Tracing message

B1: Enable việc trace

lh <module cần trace> te e <trace_group> <EVENT_NAME>

ex: lh mod te e bus_send bus_receive UE_ASN_RRC

Page 3: Eric Slide Seminar Trace Msg

bo

Xác định module cần trace

Page 4: Eric Slide Seminar Trace Msg

Xác định module cần trace

Page 5: Eric Slide Seminar Trace Msg

List of trace groups

bus_send bus_receive: messages sent and received on external interfacesinfo: Used for tracing informational messages. The intention is to use it only for important events, e.g.

during a system start to generate some sort of start report.error: This primitive is used for tracing errors.enter: Used for tracing a call to a function.return: Used for tracing a return from a function.rec_sig: Used for tracing reception of a signal.send_sig: Used for tracing sending of a signal.param: This primitive is used for logging of formatted parameters and other values that can be

presented as ASCII.state_change: Used for tracing state changes on a process level.trace1: Error reporting via Trace Objects. This is either made via one of the function Trace Objects in

case the error can be related to a specific function or via the Trace Object GENERAL_ERROR in case the error can not be related to a specific function Trace Object.

trace2: Start, stop and expirations of timers.trace3: General Trace Informationtrace4: Incarnation, Destruction, Importation, Deportation of Capsule/process.trace5: Decisions, e.g. if, else, choicepoints etc.trace6: Tracing Incoming/Outgoing messagestrace7: Tracing Incoming/Outgoing message datatrace8: SP bag tracing (for uehUeCtxt)trace9: not specified

Page 6: Eric Slide Seminar Trace Msg

Important RNC traces:lh mod te e all RNC_EXCEPTIONlh mod te e all UEH_EXCEPTIONlh mod te e all DRH_EXCEPTIONlh mod te e all PM_OBS_EXCEPTIONlh mod te e trace1 trace3 UE_IU_IFlh mod te e all ADMISSION_REJECT_CELLlh mod te e all AAL2REJECTSlh mod te e all AAL2NCCDISCINDlh mod te e trace4 UE_GENERALlh dc te e all SP_EXCEPTIONlh cc te e all SP_EXCEPTIONlh dc te e all SP_CONFIG_REJlh cc te e all SP_CONFIG_REJlh dc te e all DISCARD_UElh dc te e all RETRANSM_UElh dc te e trace1 HANDOVER_EVAL_UE

Event name - RNC

Recommended RNC tracelh mod te e trace3 trace5 UE_HANDOVER_ASlh mod te e bus_send bus_receive UE_ASN_RRClh mod te e bus_send bus_receive UE_ASN_RANAPlh mod te e bus_send bus_receive UE_ASN_NBAPlh mod te e bus_send bus_receive UE_ASN_RNSAPlh dc te e bus_send bus_receive RRC_DL_UElh dc te e bus_send bus_receive RRC_UL_UElh mod te e bus_send bus_receive PM_OBS_INDlh dc te e bus_send bus_receive PM_OBS_INDlh dc te e bus_send bus_receive RLC_CP_DL_UElh dc te e bus_send bus_receive RLC_CP_UL_UElh dc te e bus_send bus_receive

RLC_CP_CONTROL_DL_UElh dc te e bus_send bus_receive

RLC_CP_CONTROL_UL_UE

Page 7: Eric Slide Seminar Trace Msg

Important NodeB traces:te e all RADIOLINK_REJECTte e all AAL2REJECTSte e all AAL2NCCDISCIND

Event name - NodeB

Recommended NodeB traceste e bus_send bus_receive NBAP_RL_HANDLINGte e bus_send bus_receive NBAP_CELL_CHANNEL

Page 8: Eric Slide Seminar Trace Msg

Tracing messageB2: Bắt đầu trace bản tin1. mon+ <module cần trace 1> <module cần trace 2>

Ex: mon+ mod112 000700******** Opening new handle:$ lhsh 000500 tm -tcp -win 1New monitor router process 0x10348 is started and listening to port 33080.To attach link handlers, use handle 3.******** Attaching boards to handle:$ lhsh 000500 tm -attach 4 021100 000700To start the monitor client, run the following command (type "h mon" for more info):/home/eanzmagn/moshell/monitor6054 137.58.194.147 33080$moncommand = /home/eanzmagn/moshell/monitor6054 137.58.194.147 33080

2. Mơ môt cưa sô cygwin khác và chuyên đến thư muc decoderC1: /home/eanzmagn/moshell/monitor6054 137.58.194.147 33080 | ./decoder.pl --p71 | tee ./file_name.log | ./flow.pl –colour

C2: /home/eanzmagn/moshell/monitor6054 137.58.194.147 33080 | ./decoder.pl --p71 | tee ./file_name.log | ./flowfox.pl > ./file_name.html

Page 9: Eric Slide Seminar Trace Msg

Tracing message

B3: Dừng trace bản tin và disable việc trace mon-

lh all te default

Page 10: Eric Slide Seminar Trace Msg

Examplelh mod112 te e bus_send bus_receive UE_ASN_RRC

lh mod112 te e bus_send bus_receive UE_ASN_RANAP

lh mod112 te e bus_send bus_receive UE_ASN_NBAP

lh mod112 te e bus_send bus_receive UE_ASN_RNSAP

lh dc te e bus_send bus_receive RRC_DL_UE

lh dc te e bus_send bus_receive RRC_UL_UE

mon+ mod112 000700

wait 120

mon-

lh all te default

Page 11: Eric Slide Seminar Trace Msg
Page 12: Eric Slide Seminar Trace Msg