home *** CD-ROM | disk | FTP | other *** search
/ Internet Standards / CD2.mdf / ccitt / 1992 / q / q781_1.asc < prev    next >
Text File  |  1991-12-31  |  21KB  |  924 lines

  1.          The drawings contain in this Recommendation have been done in Autocad.
  2.          Recommendation Q.781
  3.                                        MTP LEVEL 2 TEST SPECIFICATION
  4.          1      Introduction
  5.                This Recommendation contains a set of detailed tests of  signalling  system
  6.          No. 7 MTP level 2 protocol. These tests intend to validate the protocol specified
  7.          in Recommendation Q.703.
  8.                This Recommendation conforms to Recommendation Q.780  which  describes  the
  9.          basic rules of the Test Specification.  In  addition  the  conditions  which  are
  10.          specific to level 2 tests are described in the following sections.
  11.          2      General principles of level 2 tests
  12.          2.1    Presentation of test descriptions
  13.                The level 2 tests aim at testing the level  2  protocol  conformance  in  a
  14.          given implementation.
  15.                Each test description indicates in the "type of test" column;  "Validation"
  16.          (VAT) or "Validation" (VAT) and "compatibility" (CPT).
  17.                Although signal units are transmitted and received  continuously  on  level
  18.          2, only the signal units which cause and/or  indicate  the  changes  of  level  2
  19.          status are shown in the  EXPECTED  SIGNAL  UNIT  SEQUENCE  column  of  each  test
  20.          description.
  21.          2.2    Presentation of the test list
  22.                These tests as a whole, aim  at  a  complete  validation  of  the  level  2
  23.          protocol without redundancies. Each test is described as simply  as  possible  to
  24.          check precisely each elementary function of the protocol, which  is  referred  in
  25.          the columns "reference", "title" and "sub-title" of each test description.
  26.                This list  is  presented  in  the  form  of  a  succession  of  tests.  The
  27.          presentation order is essentially functional. However,  the  operator  performing
  28.          these tests may change this order,  taking  into  account  some  other  practical
  29.          criteria such as: use pre-test conditions to order the list, the end of  a  given
  30.          test may be the pre-test condition of another test.
  31.          3      Test configuration
  32.                A single link will be used for  level  2  tests.  Figure  1/Q.781  shows  a
  33.          single link between SP A and SP B. Test specifications are written  to  test  the
  34.          level 2 of the SP A.
  35.          4      Test environment
  36.                See Recommendation Q.780, S 6.2.
  37.          5      Test list
  38.                Note - Compatibility test items are indicated in this list by  an  asterisk
  39.          (*).
  40.          e 
  41.          expected delay of acknowledgement respectively.
  42.                1   Link State Control V Expected signal units/orders (Figures 8/Q.703  and
  43.          9/Q.703)
  44.          *          1.1  Initialisation (PowerVup)
  45.          *          1.2  Timer T2
  46.                    1.3  Timer T3
  47.                    1.4  Timer T1 and T4 (Normal)
  48.          *          1.5  Normal alignment V correct procedure (FISU)
  49.                    1.6  Normal alignment V correct procedure (MSU)
  50.                    1.7  SIO received during normal proving period
  51.                    1.8  Normal alignment with PO set (FISU)
  52.                    1.9  Normal alignment with PO set (MSU)
  53.                    1.10 Normal alignment with PO set and clear
  54.                    1.11 Set RPO when SAligned not readyT
  55.                    1.12 SIOS received when SAligned not readyT
  56.                    1.13 SIO received when SAligned not readyT
  57.                    1.14 Set and clear LPO when SInitial alignmentT
  58.                    1.15 Set and clear LPO when SAligned readyT
  59.                    1.16 Timer T1 in SSAligned not readyT state
  60.                    1.17 No SIO sent during normal proving period
  61.                    1.18 Set and cease emergency prior to Sstart alignmentT
  62.          *          1.19 Set emergency while in Snot aligned stateT
  63.                    1.20 Set emergency when SalignedT
  64.                    1.21 Both ends set emergency
  65.                    1.22 Individual end sets emergency
  66.  
  67.  
  68.  
  69.  
  70.          PAGE140 Fascicle VI.9 - Rec. Q.781
  71.  
  72.                    1.23 Set emergency during normal proving
  73.                    1.24 No SIO sent during emergency alignment
  74.          *          1.25 Deactivation during initial alignment
  75.                    1.26 Deactivation during aligned state
  76.                    1.27 Deactivation during aligned not ready
  77.                    1.28 SIO received during link in service
  78.          *          1.29 Deactivation during link in service
  79.                    1.30 Deactivation during LPO
  80.                    1.31 Deactivation during RPO
  81.          *          1.32 Deactivation during the proving period
  82.                    1.33 SIO received instead of FISUs
  83.                    1.34 SIOS received instead of FISUs
  84.                    1.35 SIPO received instead of FISUs
  85.                2   Link State Control V Unexpected signal units/orders (Figure 8/Q.703)
  86.                    2.1  Unexpected signal units/orders in SOut of serviceT state
  87.                    2.2  Unexpected signal units/orders in SNot alignedT state
  88.                    2.3  Unexpected signal units/orders in SAlignedT state
  89.                    2.4  Unexpected signal units/orders in SProvingT state
  90.                    2.5  Unexpected signal units/orders in SAligned readyT state
  91.                    2.6  Unexpected signal units/orders in SAligned not readyT state
  92.                    2.7  Unexpected signal units/orders in SIn serviceT state
  93.                    2.8  Unexpected signal units/orders in SProcessor outageT state
  94.                3   Transmission failure (Figure 8/Q.703)
  95.                    3.1  Link aligned ready (Break Tx path)
  96.                    3.2  Link aligned ready (Corrupt FIBs)
  97.                    3.3  Link aligned not ready (Break Tx path)
  98.                    3.4  Link aligned not ready (Corrupt FIBs)
  99.          *          3.5  Link in service (Break Tx path)
  100.                    3.6  Link in service (Corrupt FIBs)
  101.                    3.7  Link in processor outage (Break Tx path)
  102.                    3.8  Link in processor outage (Corrupt FIBs)
  103.                4   Processor Outage Control (Figure 10/Q.703)
  104.                    4.1  Set and clear LPO while link in service
  105.                    4.2  RPO during LPO
  106.                    4.3  Clear LPO when "Both processor outage"
  107.                5   SU Delimitation, Alignment, Error  Detection  and  Correction  (Figures
  108.          11/Q.703 and 12/Q.703)
  109.                    5.1  More than seven "1"s between MSU opening and closing flags
  110.                    5.2  Greater than maximum signal unit length
  111.                    5.3  Below minimum signal unit length
  112.                    5.4  Reception of single and multiple flags between FISUs
  113.                    5.5  Reception of single and multiple flags between MSUs
  114.                6   SUERM Check (Figure 18/Q.703)
  115.                    6.1  Error rate of 1 in 256 - Link remains in service
  116.                    6.2  Error rate of 1 in 254 - Link into out of service
  117.                    6.3  Consecutive corrupted SUs
  118.                    6.4  Time controlled break of the link
  119.                7   AERM check (Figure 17/Q.703)
  120.                    7.1  Error rate below the normal threshold
  121.                    7.2  Error rate at the normal threshold
  122.                    7.3  Error rate above the normal threshold
  123.                    7.4  Error rate at the emergency threshold
  124.                8   Transmission  and  reception  control  (Basic)  (Figures  13/Q.703  and
  125.          14/Q.703)
  126.                    8.1  MSU transmission and reception
  127.                    8.2  Negative acknowledgement of MSU
  128.                    8.3  Check RTB full
  129.                    8.4  Single MSU with erroneous FIB
  130.                    8.5  Duplicated FSN
  131.                    8.6  Erroneous retransmission - Single MSU
  132.                    8.7  Erroneous retransmission - Multiple FISUs
  133.                    8.8  Single FISU with corrupt FIB
  134.                    8.9  Single FISU prior to RPO being set
  135.                    8.10 Abnormal BSN - Single MSU
  136.                    8.11 Abnormal BSN - Two consecutive FISUs
  137.  
  138.  
  139.  
  140.  
  141.                                                         Fascicle VI.9 - Rec. Q.781 PAGE147
  142.  
  143.                     8.12 Excessive delay of acknowledgement
  144.                     8.13 Level 3 Stop Command
  145.                 9    Transmission  and  reception  control  (PCR)  (Figures  15/Q.703   and
  146.           16/Q.703)
  147.           *          9.1  MSU transmission and reception
  148.                     9.2  Priority control
  149.                     9.3  Forced retransmission with the value N1
  150.                     9.4  Forced retransmission with the value N2
  151.                     9.5  Forced retransmission cancel
  152.                     9.6  Repetition of forced retransmission
  153.                     9.7  MSU transmission while RPO set
  154.                     9.8  Abnormal BSN - Single MSU
  155.                     9.9  Abnormal BSN - Two MSUs
  156.                     9.10 Unexpected FSN
  157.                     9.11 Excessive delay of acknowledgement
  158.                     9.12 FISU with FSN expected for MSU
  159.                     9.13 Level 3 Stop Command
  160.                 10  Congestion Control (Figure 19/Q.703)
  161.                     10.1 Congestion abatement
  162.                     10.2 Timer T7
  163.                     10.3 Timer T6
  164.           6      Test descriptions
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.           PAGE140 Fascicle VI.9 - Rec. Q.781
  213.  
  214.                                                  MTP, LEVEL 2
  215.  
  216.           TEST NUMBER:   1.1                        PAGE:  1 OF 1
  217.           REFERENCE:Q.703 S 7STD: Fig.8; Fig.                  
  218.           12; Fig. 13                                          
  219.           TITLE:Link State Control - Expected signal           
  220.           units/orders                                         
  221.           SUB TITLE:Initialization (Power-up)                  
  222.           PURPOSE:To check that the No. 7 terminal equipment enters the             
  223.           correct state on power-up                                                 
  224.           PRE-EST CONDITIONS:Line equipment - ON; No. 7 equipment- OFF              
  225.           CONFIGURATION:1                           TYPE OF TEST:VAT, CPT
  226.           EXPECTED SIGNAL UNIT SEQUENCE:                       
  227.                      SPB                                             SP     A
  228.           Link                                      Link
  229.           1 - 0SIOS              ------------------------->    
  230.                                                                :   Power ON
  231.                                <-----------------   1 - 0                  SIOS
  232.                                --------             
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.                                                          Fascicle VI.9 - Rec. Q.781 PAGE147
  284.  
  285.                                                                           
  286.                                                                           
  287.                                                                           
  288.           TEST DESCRIPTION                                                
  289.            1.   Check link enters correct state.                               
  290.            2.   At "Power - On" or Initialization the FIB, BIB, FSN, and BSN   
  291.                 shall be as follows:                                           
  292.                 FIB = BIB = 1 : FSN = BSN = 127 (HEX 7F)                       
  293.            3.   Repeat test in reverse direction.
  294.                 
  295.                 
  296.                 
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.           PAGE140 Fascicle VI.9 - Rec. Q.781
  355.  
  356.                                                  MTP, LEVEL 2
  357.  
  358.           TEST NUMBER:  1.2                                    PAGE:  1 OF 1
  359.           REFERENCE:Q.703 S 7STD:Fig. 8; Fig. 9, Fig. 11, Fig.                 
  360.           13; Fig. 14                                                          
  361.           TITLE:Link State Control - Expected signal           
  362.           units/orders                                         
  363.           SUB TITLE:Timer T2                                   
  364.           PURPOSE:To check "Not Aligned" Timer T2              
  365.           PRE-TEST CONDITIONS:Link out of service                   
  366.           CONFIGURATION:1                                      TYPE OF TEST: VAT, CPT
  367.           EXPECTED SIGNAL UNIT SEQUENCE:
  368.                  SP  B                                               SP     A
  369.           Link                                            Link
  370.           1 - 0SIOS            <-----------------------   
  371.                                --                         
  372.                                 -----------------------   1 - 0          SIOS
  373.                                -->                        
  374.                                                                      :  start
  375.                                <-----------------------   1 - 0          SIO
  376.                                --                         
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.                                                          Fascicle VI.9 - Rec. Q.781 PAGE147
  426.  
  427.                                                                          eq \a\co1(|,|,|) T2
  428.                                <-----------------------   1 - 0          SIOS
  429.                                --                         
  430.  
  431.  
  432.  
  433.  
  434.           TEST DESCRIPTION
  435.            1.   Timer T2 shall be in the range 5 secs to 150 secs.
  436.                 
  437.                 
  438.                 
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.           PAGE140 Fascicle VI.9 - Rec. Q.781
  497.  
  498.                                                  MTP, LEVEL 2
  499.  
  500.           TEST NUMBER:  1.3                                    PAGE:  1 OF 1              
  501.           REFERENCE:Q.703 S 7STD:Fig. 9; Fig. 14                                           
  502.           TITLE:Link State Control - Expected signal units/orders                          
  503.           SUB TITLE:Timer T3                                                               
  504.           PURPOSE:To check "Aligned" Timer T3                                              
  505.           PRE-TEST CONDITIONS:Link out of service                                          
  506.           CONFIGURATION:1                                       TYPE OF TEST:VAT           
  507.           EXPECTED SIGNAL UNIT SEQUENCE:                                                   
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.                                                          Fascicle VI.9 - Rec. Q.781 PAGE147
  568.  
  569.                                                                                            
  570.                      SPB                                             SPA
  571.           Link                                            Link                       
  572.                                <-----------------------   1 - 0SIOS                       
  573.                                -----                      
  574.           1 - 0SIOS              ----------------------                   
  575.                                ------>                    
  576.                                                                 :start                     
  577.                                <-----------------------   1 - 0      SIO
  578.                                -----                      
  579.           1 - 0SIO              -----------------------                   
  580.                                ------>                    
  581.                                <-----------------------   1 - 0      SIN
  582.                                -----                      
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.           PAGE140 Fascicle VI.9 - Rec. Q.781
  639.  
  640.                                                                           eq \a\co1(╜,╜,╜) T3
  641.                                <-----------------------   1 - 0         SIOS
  642.                                ----                       
  643.                                                                                 
  644.           TEST DESCRIPTION                                                      
  645.            1.   Timer T3 shall be in the range 1 sec to 1.5                     
  646.                 secs.                                           
  647.                                                                                 
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.                                                          Fascicle VI.9 - Rec. Q.781 PAGE147
  710.  
  711.                                                  MTP, LEVEL 2
  712.  
  713.           TEST NUMBER:   1.4                                   PAGE:  1 OF 1   
  714.           REFERENCE:Q.703 S 7STD: Fig. 8; Fig. 9                                          
  715.           TITLE:Link State Control - Expected signal units/orders                         
  716.           SUB TITLE:Timer T1 & Timer T4 (Normal)                                          
  717.           PURPOSE:To check "Aligned ready" Timer T1 and "Proving period" Timer            
  718.           T4 (Normal)                                                               
  719.           PRE-TEST CONDITIONS:Link out of service                                         
  720.           CONFIGURATION:1                                      TYPE OF TEST:VAT           
  721.           EXPECTED SIGNAL UNIT SEQUENCE:                                                  
  722.                   SPB                                     SPA
  723.           Link                                            Link                            
  724.                                
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.           PAGE140 Fascicle VI.9 - Rec. Q.781
  781.  
  782.                                <-----------------------   1 - 0SIOS
  783.                                --                         
  784.           1 - 0SIOS            ------------------------   
  785.                                -->                        
  786.                                                                    : start
  787.                                <-----------------------   1 - 0       SIO
  788.                                --                         
  789.           1 - 0SIO              -----------------------   
  790.                                --->                       
  791.                                <-----------------------   1 - 0       SIN
  792.                                --                         
  793.           1 - 0SIN              -----------------------               eq \a\co1(|,|,|) T4 
  794.                                --->                       (Pn)
  795.                                <-----------------------   1 - 0       FISU
  796.                                --                         
  797.                                                                       eq \a\co1(╜,╜,╜) T1
  798.                                <-----------------------   1 - 0       SIOS
  799.                                --                         
  800.                                                           
  801.           TEST DESCRIPTION                     
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.                                                          Fascicle VI.9 - Rec. Q.781 PAGE147
  852.  
  853.                                                                     
  854.            1.   At 64 kbit/s Timer T4 shall be in the range 7.5 secs (nominally 8.2       
  855.                 secs) and Timer T1 shall be in the range 40 secs to 50 secs.              
  856.            2.   At 4.8 kbit/s Timer 74 shall be in the range 100 secs to 120 secs         
  857.                 (nominally 110 secs) and Timer T1 shall be in the range 500 secs to 600   
  858.                 secs.                                                                     
  859.                                                                                           
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.           PAGE140 Fascicle VI.9 - Rec. Q.781
  923.  
  924.