Welcome, Guest. Please Login or Register
Telcom Pro's
 
  HomeHelpSearchLoginRegister Nortel MetaSwitch  
 
 
Page Index Toggle Pages: 1
Send Topic Print
PRI D-Channel Monitoring using PMDEBUG (Read 553 times)
Aug 19th, 2008 at 12:01pm

DMSman   Offline
Senior Member
Switch Technician
Ontario, Canada

Posts: 82
****
 
This example is with a LTCI but DTCI should be similar.

Caution: take care using this tool as it can be service effecting.

If not already open access to PMDEBUG with TOOLSUP (see other post)

>pmdebug ltc 1
PMDEBUG MODE - CONNECTING TO LTC 1 UNIT 1
WARNING: You now have access to the PM monitor...proceed with caution
LTCUP>
>is
Isprottbl,Dmpisprot,Count,Qryllm,Lterm,Trmtype,Sidx,CCbcs,ISLT_unprot,
ISCall_unpr,IS_c_te_unp,IS_T_te_unp,IS_Loop_unp,DUmp_smb,HEX_smb,ISOptns,SSb,
FSBMon,Hsg,ITs_disp,Rapid_msg,Bradntbl,LLmsim,ISLoop,FSB,Virtsidx,BRIprov,Mtm,
Filr,Upgrade,Aoc.
UP:ISdncp>
>hsg p (FINDING SIDX NUMBER OF D-CHANNEL)
                    PSIDE     TIMESLOT   CSIDE          
HSG    SERVICE    PORT  CHNL    CHNL    PORT  CHNL    SIDX
---    -------    ----  ----    ----    ----  ----    ----
 31       PRA       0   24       31      2   30     3968  
 30       PRA       1   24       31      3   30     3840  
 29       PRA       2   24       31      0   31     3712  
 28       PRA       8   24       31      5   31     3584  
 27       PRA       9   24       31      6   31     3456  
 26       PRA      11   24       31     11   30     3328  
 25       PRA      13   24       31      9   31     3200  
 24       PRA      15   24       31     14   30     3072  
 23       PRA      16   24       31     15   30     2944  
 22       PRA      12   24       31      8   31     2816  
 21       PRA      14   24       31     10   31     2688  
Continue Quit
UP:Pridump>
>c
 20       UNA        
 19       UNA        
 18       UNA        
 17       UNA        
 16       UNA        
 15       UNA        
 14       UNA        
 13       UNA        
 12       UNA        
 11       UNA        
Continue Quit
UP:Pridump>
>c
 10       UNA        
  9       UNA        
  8       UNA        
  7       UNA        
  6       UNA        
  5       UNA        
  4       UNA        
  3       UNA        
  2       UNA        
  1       UNA        
  0       UNA        
UP:Hsg>
>*

>sidx 3072 (FINDING TID # of D channel)
Searching the TERM_PROT_TBL...

 483   484   485   486   487   488   489   490   491   492  
 493   494   495   496   497   498   499   500   501   502  
 503   504   505   506   515   516   517   518   519   520  
 521   522   523   524   525   526   527   528   529   530  
 531   532   533   534 11688  

Done searching.

UP:ISdncp>
>LL
Mon,MOFf,Options_llm,Disp,Clear.
UP:LLmsim>
>O
ININT,INMon,INOff,OUTINT,OUTMon,OUTOff,Alloff,Hex,Verbose,SYNC,Stid,Ltid,Etid,
SPa,Ramfile,SCreen,Jdm,JTd,OPtdump,SElect,REmove,Dlselect,DLRemove.
UP:Options_llm>
>sel 11688

11688 has been added to the select list.

Enter Set TID to select:
> <enter>

The following Set TIDs are in the select list:

11688    

UP:Options_llm>
>*
UP:LLmsim>
>mon
Incoming monitor is now on.

OUT=Off; IN=Mon; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

Outgoing monitor is now on.

OUT=Mon; IN=Mon; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

UP:LLmsim>

To stop monitoring type

> <enter>
Mon,MOFf,Options_llm,Disp,Clear.
UP:LLmsim>
>MOFF
Incoming monitor is now off.

OUT=Mon; IN=Off; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

Outgoing monitor is now off.

OUT=Off; IN=Off; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

UP:LLmsim>
>O
ININT,INMon,INOff,OUTINT,OUTMon,OUTOff,Alloff,Hex,Verbose,SYNC,Stid,Ltid,Etid,
SPa,Ramfile,SCreen,Jdm,JTd,OPtdump,SElect,REmove,Dlselect,DLRemove.
UP:Options_llm>
>remove 11688

11688 has been removed from the select list.


There are no Set TIDs in the select list.

UP:Options_llm>
>*
UP:LLmsim>
>*
UP:ISdncp>
>*
LTCUP>
>quit
NOTE: PMDEBUG will terminate when last request is complete
PMDEBUG TERMINATES
>


I also have PMDEBUG manual if anyone is interested.
 
IP Logged
 
Reply #1 - Dec 16th, 2009 at 8:17am

levv   Offline
New Member
I Love Telcom!!

Posts: 2
*
 
would this be equivalent to a Q931 debug?
 
IP Logged
 
Reply #2 - Dec 16th, 2009 at 3:33pm

DMSBrit   Offline
Full Member
Network Technician
I Love Telcom!!
London, England

Posts: 20
***
 
Yes this is the DMS equivalent to a Q.931 de3bug on cisco kit. The output is formatted a little differently though. For example here's an example of a simple SETUP message captured using this tool.

==> 02:08:00:26.83   (CM Time: 20:12:09:18.50).
==> Q931: SETUP:     to S[7054] L[1,18,0] E[23,17,0] SPA[----]
 CR:  0,1C 28
 BC:  3.1 KHz Audio
      64 kbit/s
      circuit mode
      A-law speech
 CID: 18
      LENGTH: 03
      Channel Selection Info: As Indicated in Following Octets
      D-Channel Indicator: D-Channel NOT indicated
      Preferred/Exclusive: Preferred
      Interface type = primary rate
      Interface Identifier: IID Implicitly Identified
      Channel Type: B - Channel Units (3).
      Number Map: Channel is indicated by the number following.
      Coding Standard: CCITT
      Channel Number = 1
 PI:  public_network_serving_local_user
      call_is_not_end_to_end_ISDN
 CGN: e164
      international_number
      network_provided
      presentation_allowed
      35318349547
 CDN: e164
      local_directory_number
      992908
 Sending complete info element A1


Oh and just to confirm works exactly as described on DTCI as well.
 
IP Logged
 
Reply #3 - May 13th, 2010 at 4:22pm

levv   Offline
New Member
I Love Telcom!!

Posts: 2
*
 
I have few questions about how to do this. 

Regarding the first command pmdebug ltc 1  - is that a general command in all cases?

When finding the SIDX number of D channel,  what exactly do you look for in hsg p command and/or how were you able to determine in your case that you need sidx3072?

When looking for TID # of the D channel,  is the last value always the number you would be looking for? or how does that work...


Thanks.
 
IP Logged
 
Reply #4 - May 14th, 2010 at 12:12pm

mountain   Offline
Full Member
NOC Technician
Denver, CO USA

Posts: 170
***
 
Here is the text from a document I wrote.  Provides step-by-step instructions.  The steps for reading the file TOOLPW to find the password to turn on the utility PMDEBUG are unique to our switches since this is a script I wrote to make things easier for us.


A few DON’Ts with PMDEBUG

1.      Do NOT use break and HX inside PMDEBUG.
2.      Do NOT quit PMDEBUG without turning off the monitor and removing the PRI index.


Process for monitoring a PRI D-channel via the DMS utility PMDEBUG


1.      Go to table TRKSGRP and position on the trunk CLLI you want to monitor.  Note the location of the D-channel.  In this example the D-channel is DTCI 9 13 24.


TABLE: TRKSGRP

>pos NATL_ELCTRC_PRI 0

NATL_ELCTRC_PRI 0 DS1SIG ISDN 4 4 87Q931 1 N STAND NETWORK PT_PT USER N UNEQ
30 N DEFAULT DTCI 9 13 24 64K HDLC $ $



2. Quit out of all tables and utilities via QUIT ALL command:

TABLE: TRKSGRP

>quit all

3.  Type LISTSF ALL to list all the files in SFDEV.

CI:
>listsf all

SHORTCMDS
LOGIN STDFAULT
RBPROF
TOOLPW
BTRKS
LOGPROF STDFAULT
PRSM ON
TRKOOS
PMREP
CXF
SNAPSHOT
CXFHLP
INB
OFFLINE
RESTART STDFAULT
RRPROF
OM CONFIG


4. Look for a file named TOOLPW and read that file.  The output from reading the file will produce a tool password.

>read toolpw

Use " 70085040STD " for your TASTOOLS Password!

5. Type TOOLSUP to enter the tools utility.

>toolsup

TOOLSUP - Tool Supervisor
Type HELP to display available commands
TOOLSUP:


6. Type ACCESS ON PMDEBUG.  You will be prompted for a password.  Enter the password from Step 4 above.

>access on pmdebug

Enter Password:
>***********
PMDEBUG permitted
PMDEBUG access will expire 48 hours from now.

                 ** WARNING **
You have permitted access to command(s) that require
skilled and knowledgable users.  Proper use is required
to avoid possible service degradations.  Please ensure
that only fully trained and qualified personnel
proceed.


7. Type PMDEBUG DTCI X where X is the DTCI number for the D-channel from Step 1 above.

>pmdebug dtci 9

PMDEBUG MODE - CONNECTING TO DTCI 9 UNIT 1
WARNING: You now have access to the PM monitor...proceed with caution

8. Type ISDNCP to move down one level.

LTCUP>

>isdncp

Isprottbl,Dmpisprot,Count,Qryllm,Lterm,Trmtype,Sidx,CCbcs,ISLT_unprot,
ISCall_unpr,IS_c_te_unp,IS_T_te_unp,IS_Loop_unp,DUmp_smb,HEX_smb,ISOptns,SSb,
FSBMon,Hsg,ITs_disp,Rapid_msg,Bradntbl,LLmsim,ISLoop,FSB,Virtsidx,BRIprov,Mtm,
Filr,Upgrade,Aoc.
9.  Now type HSG to move down another level

UP:ISdncp>

>hsg

Pridump,Dchdump.
UP:Hsg>

10. Now type PRIDUMP.  The listing displays the port and channel number of various D-channels on DTCI 9.  Our D-channel was DTCI 9 13 24 (from step 1 above).  Under the column PSIDE is the port and channel.  We want to get the number under column SIDX for 13 24 which is 2688 in this case.  If your D-channel is not displayed, then type CONTINUE to show the next page.


>pridump
                    PSIDE     TIMESLOT   CSIDE
HSG    SERVICE    PORT  CHNL    CHNL    PORT  CHNL    SIDX
---    -------    ----  ----    ----    ----  ----    ----
  31       PRA       0   24       31      2   30     3968
  30       PRA       1   24       31      3   30     3840
  29       PRA       2   24       31      0   31     3712
  28       PRA       3   24       31      1   31     3584
  27       PRA       4   24       31      2   31     3456
  26       PRA       5   24       31      6   30     3328
  25       PRA       6   24       31      7   30     3200
  24       PRA       7   24       31      4   31     3072
  23       PRA       8   24       31      5   31     2944
  22       PRA       9   24       31      6   31     2816
  21       PRA      13   24       31      9   31     2688
Continue Quit
UP:Pridump>


11. Type * (star) to move up one level in the tool.

>*
UP:Hsg>

12. Type * (star) to move up one more level.

>*
UP:ISdncp>

13. At the ISDNCP level type SIDX <the SIDX number> from step 8 above.  This produces a listing of numbers and you want the last number in the list which will always be in the format 7XXX.

>sidx 2688

Searching the TERM_PROT_TBL...

 419   420   421   422   423   424   425   426   427   428
 429   430   431   432   433   434   435   436   437   438
 439   440   441   442  7044

Done searching.

14.  Type LLMSIM then hit enter.  Now type OPT and hit enter.

UP:ISdncp>
>llmsim

Mon,MOFf,Options_llm,Disp,Clear.
UP:LLmsim>

>opt

ININT,INMon,INOff,OUTINT,OUTMon,OUTOff,Alloff,Hex,Verbose,SYNC,Stid,Ltid,Etid,
SPa,Ramfile,SCreen,Jdm,JTd,OPtdump,SElect,REmove,Dlselect,DLRemove.
UP:Options_llm>

15. Type SELECT <number from step 10>

>select 7044

7044 has been added to the select list.


16.      You have the option to monitor more than one D-channel on the same DTCI at any one time, but
limit it to one.  At the next prompt just hit enter.  The response shows what TIDs will be monitored.


Enter Set TID to select:
UP:SElect>
>

The following Set TIDs are in the select list:

7044


17.Enter * (star) to move up one level.


UP:Options_llm>
>*

18.Type DISP ON to turn the display on and MON to turn the monitor on.


UP:LLmsim>

>disp on

Display is now ON.

OUT=Off; IN=Off; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

UP:LLmsim>

19.Type MON to turn on the monitoring of the messages

>mon

Incoming monitor is now on.

OUT=Off; IN=Mon; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

Outgoing monitor is now on.

OUT=Mon; IN=Mon; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

20.  The DMS will now start displaying the messages being sent back and forth.  The format of the commands is similar to TELESYNC.  You can turn on the CAPTURE in PROCOMM to save the messages to a file and email to the customer if necessary.

UP:LLmsim>

==> 00:07:25:58.33   (CM Time: 06:09:51:47.05).
==> Q931: SETUP:     to S[7044] L[1,442,0] E[152,441,0] SPA[----]
 CR:  0,12 2B
 BC:  speech
      64 kbit/s
      circuit mode
      mu-law speech
 CID: 18
      LENGTH: 03
      Channel Selection Info: As Indicated in Following Octets
      D-Channel Indicator: D-Channel NOT indicated
      Preferred/Exclusive: Exclusive
      Interface type = primary rate
      Interface Identifier: IID Implicitly Identified
      Channel Type: B - Channel Units (3).
      Number Map: Channel is indicated by the number following.
      Coding Standard: CCITT
      Channel Number = 1
 CGN: e164
      national_number
      network_provided
      presentation_allowed
      5058280341
 CDN: e164
      local_directory_number
      577

<== 00:07:25:58.62   (CM Time: 06:09:51:47.34).
<== Q931: ALERT:     from S[7044] L[1,442,0] E[152,441,0] SPA[----]
 CR:  1,12 2B
 CID: 18
      LENGTH: 03
      Channel Selection Info: As Indicated in Following Octets
      D-Channel Indicator: D-Channel NOT indicated
      Preferred/Exclusive: Exclusive
      Interface type = primary rate
      Interface Identifier: IID Implicitly Identified
      Channel Type: B - Channel Units (3).
      Number Map: Channel is indicated by the number following.
      Coding Standard: CCITT
      Channel Number = 1

<== 00:07:26:02.22   (CM Time: 06:09:51:50.94).
<== Q931: CONN:      from S[7044] L[1,442,0] E[152,441,0] SPA[----]
 CR:  1,12 2B
 CID: 18
      LENGTH: 03
      Channel Selection Info: As Indicated in Following Octets
      D-Channel Indicator: D-Channel NOT indicated
      Preferred/Exclusive: Exclusive
      Interface type = primary rate
      Interface Identifier: IID Implicitly Identified
      Channel Type: B - Channel Units (3).
      Number Map: Channel is indicated by the number following.
      Coding Standard: CCITT
      Channel Number = 1

==> 00:07:26:02.22   (CM Time: 06:09:51:50.94).
==> Q931: CONN ACK:  to S[7044] L[1,442,0] E[152,441,0] SPA[----]
 CR:  0,12 2B

21.To exit the messages being displayed, you need to have the prompt LLMSIM> on your screen.  If messages are rolling by, hit enter a number of times and type DISP OFF at the prompt.  Then type MOFF to turn the monitor off.

UP:LLmsim>

>disp off
Display is now OFF.

OUT=Mon; IN=Mon; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

UP:LLmsim>

22. Type MOFF to turn the monitoring of the PRI messages off

>moff
Incoming monitor is now off.

OUT=Mon; IN=Off; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

Outgoing monitor is now off.

OUT=Off; IN=Off; Options=[verbose,stid,ltid,etid,spa,ramfile,screen]

UP:LLmsim>

23.  Type OPT, enter, then REMOVE 7044 to remove the TID from PMDEBUG.

>opt

ININT,INMon,INOff,OUTINT,OUTMon,OUTOff,Alloff,Hex,Verbose,SYNC,Stid,Ltid,Etid,
SPa,Ramfile,SCreen,Jdm,JTd,OPtdump,SElect,REmove,Dlselect,DLRemove.
UP:Options_llm>


24.  Type REMOVE 7044 to remove the PRI from PMDEBUG


>remove 7044

7044 has been removed from the select list.


There are no Set TIDs in the select list.


25.       Type * (star), enter, * (star), enter until you are at the LTCUP level.  Then type QUIT.

UP:Options_llm>
>*
UP:LLmsim>
>*
UP:ISdncp>
>*
LTCUP>
>quit
NOTE: PMDEBUG will terminate when last request is complete
PMDEBUG TERMINATES
>

 
IP Logged
 
Reply #5 - May 14th, 2010 at 12:20pm

mountain   Offline
Full Member
NOC Technician
Denver, CO USA

Posts: 170
***
 
Here is the rest of the document:

Helpful Hints:

Message display via PMDEBUG is slow.  On a busy PRI there will be a lot of messages and seeing the SETUP message for a test call may take a while (a couple of minutes).  If you connect to a PRI which is busy and a lot of messages are being displayed, it is best to do this.

A PMDEBUG command can only be entered at the “prompt line”.  Entering the command while PRI messages are rolling by does not initiate the command.  So you must press the enter key a number of times until the “prompt line” appears, then enter the required command.

So when the PRI being monitored is constantly rolling messages it is best to stop the display and start the monitoring just before the test call is made.

To do this, press the ENTER key on your keyboard a number of times and wait until the prompt line appears, then enter DISP OFF


Mon,MOFf,Options_llm,Disp,Clear.
UP:LLmsim> DISP OFF


You will see a message,

Display is now OFF.


But some messages will still scroll on the screen.  Once these messages stop, type:


MOFF


Then type:


CLEAR


which will clear the buffer.  Turn the display back on with


DISP ON


Type MON (don’t press the ENTER key), ask the customer to make a test call, then press the enter key to start the monitoring.

If you can't stop the messages from flowing across the screen, do not exit out and leave PMDEBUG running.  PMDEBUG requires processor effort and can overload a peripheral.  As a last resort, warm SWACT the DTCI.  This will kill the PMDEBUG process.


Anatomy of a message


1. The arrows (highlighted in red) indicate the directions of the message.  An arrow pointing from left to right is the DMS sending the message to the customer.  An arrow pointing right to left is the message received from the customer.

2. The item highlighted in blue is a time stamp when the message was sent.







==>
00:07:25:58.33   (CM Time: 06:
09:51:47.05
).
==>
Q931: SETUP:     to S[7044] L[1,442,0] E[152,441,0] SPA[----]
  CR:  0,12 2B
  BC:  speech
      64 kbit/s
      circuit mode
      mu-law speech
  CID: 18
      LENGTH: 03
      Channel Selection Info: As Indicated in Following Octets
      D-Channel Indicator: D-Channel NOT indicated
      Preferred/Exclusive: Exclusive
      Interface type = primary rate
      Interface Identifier: IID Implicitly Identified
      Channel Type: B - Channel Units (3).
      Number Map: Channel is indicated by the number following.
      Coding Standard: CCITT
      Channel Number = 1
  CGN: e164
      national_number
      network_provided
      presentation_allowed
      5058280341
  CDN: e164
      local_directory_number
      577

The message below is an ALERT message sent by the customer to the DMS and is associated with the call (12 2B) above.   

<== 00:07:25:58.62   (CM Time: 06:09:51:47.34).
<== Q931: ALERT:     from S[7044] L[1,442,0] E[152,441,0] SPA[----]
  CR:  1,12 2B
  CID: 18
      LENGTH: 03
      Channel Selection Info: As Indicated in Following Octets
      D-Channel Indicator: D-Channel NOT indicated
      Preferred/Exclusive: Exclusive
      Interface type = primary rate
      Interface Identifier: IID Implicitly Identified
      Channel Type: B - Channel Units (3).
      Number Map: Channel is indicated by the number following.
      Coding Standard: CCITT
      Channel Number = 1
The message below is a “connect acknowledgment” message sent by the DMS to the customer, but is not associated with the “Setup” message (call above).  This call is marked as “9 1F”.

==> 00:07:26:02.22   (CM Time: 06:09:51:50.94).
==> Q931: CONN ACK:  to S[7044] L[1,442,0] E[152,441,0] SPA[----]
  CR:  0,9 1F
 
IP Logged
 
Reply #6 - May 14th, 2010 at 4:07pm

DMSBrit   Offline
Full Member
Network Technician
I Love Telcom!!
London, England

Posts: 20
***
 
That's a very nice guide mountain. One small comment though for anyone working in the international market. At step 13 you say "you want the last number in the list which will always be in the format 7XXX." At least in the DTCOi & DTCO2i type PM's you can get 5 digit numbers here, 10939 is the highest I've seen in our switches.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print