72.3. ADSL/HDSL lines

72.3.1. How can I verify if an ADSL line is active?

Verify the state of the USB modem: “USB” and “ADSL” LEDs must be green and continuous (not blinking!).

[Warning]Warning

ADSL” LED is green and continuous even if the logical layer is down.

[Warning]Warning

When “USB” LED is red, the USB connection is not active!

Type the d d adsl command and verify that:

  • the modem is connected and correctly working: MODEM:CONNECTED;

  • ADSL carrier is active: ADSL-STATE:UP;

  • there is traffic on the line: Trh-OUT and Trh-IN columns with values different from zero and increasing over time.

For example:

[10:08:48] ABILIS_CPX:d d adsl

RES:Adsl-1 --------------------------------------------------------------------
       MODEM-STATE:CONNECTED           MODEM-TYPE:Abilis-ADSL2+
       MODEM-FAILURE:NONE              MODEM-USB-RX-MODE:BULK
       MODEM-MAC:00-26-75-84-2E-75     MODEM-USB-RX-BW:N/A
       ------------------------------------------------------------------------
       ADSL-STATE:UP                   ADSL-TYPE:Annex-A
       ADSL-TX-SPEED:320000            ADSL-RX-SPEED:1504000
       ADSL-TX-SN-MARGIN:28            ADSL-RX-SN-MARGIN:31
       ADSL-TX-ATTENUATION:10          ADSL-RX-ATTENUATION:18
       ADSL-TX-INTERLEAVE:0.25         ADSL-RX-INTERLEAVE:0.25         
       - ATM level virtual channel diagnostics --------------------------------
       VPI  VCI    QoS    State      Bw-Out      Bw-In 5sec-Thr-Out 5sec-Thr-In
                                                       5min-Thr-Out 5min-Thr-In
       ------------------------------------------------------------------------
       8    35     NORMAL UP         289811    1362113        35480       35400
                                                              31264       33792
       ------------------------------------------------------------------------
[Note]Note

Statistics are shown only if a Starmodem is used

It is possible to restart USB modem, using the command debug res:adsl-1 lsn:255. By typing the command debug res:adsl-1 lsn:0, it is possible to display all available debug commands.

[10:08:48] ABILIS_CPX:debug res:adsl-1 lsn:255

RES:Adsl-1 --------------------------------------------------------------------
       BufferLength:57     Date/Time:23/05/2015 12:37:50 TraceTime:<NotRunning>

ADSL restart has been queued, it will be executed ASAP.

72.3.2. How can I verify if a HDSL line is active?

Verify the state of DCE3 modem: if alarm LEDs (Alarm, KO,...) are on and blinking, there can be a fault on public network.

Type the d de fr command and verify that:

  • LMI state is active: STATE:LMI-UP

  • DLCI state is active: DLCI STATE: ACT

  • there is traffic on the line: Trh-OUT and Trh-IN columns with values different from zero and increasing over time.

For example:

[10:41:37] ABILIS_CPX:d de fr-1

RES:Fr-1 - FR over Dedicated Line (DL) ----------------------------------------
       - Frame Relay ----------------------------------------------------------
       STATE:LMI-UP
       DLCI     State     Cong       MaxThr CurMaxThr  5sec-Thr-Out 5sec-Thr-In
                Cir       Bc      StepConst   MaxThr%  5min-Thr-Out 5min-Thr-In
                Tc        Be           Step      Cir%  MaxFrame-Out MaxFrame-In
       ------------------------------------------------------------------------
       20       ACT       NO         256000    256000         37488       51392
                256000    256000          4      100%         52968       51976
                1.000     0               5      100%          1504        1504
       ------------------------------------------------------------------------
       - Link -----------------------------------------------------------------
       +--------+--- Global ----+------- P-Link -------+------- S-Link -------+
       | STATE: |     READY     |        READY         |   LINK-NOT-PRESENT   |
       +--------+---------------+----------------------+----------------------+

72.3.3. Why the xDSL line is slow?

If an ADSL/HDSL line is too slow, you have to do the following verifications.

  1. Verify that the ERRORS parameter in the ADSL resource is not increasing over time.

    [10:08:48] ABILIS_CPX:d s adsl
    
    RES:Adsl-2 --------------------------------------------------------------------
           --- Cleared 3 days 12:58:30 ago, on 05/06/2015 at 20:34:28 -------------
           -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
           ADSL-DOWN  |          0|           |MODEM-DISC |          0|           |
           ADSL-UP    |          1|           |MODEM-CONN |          1|           |
           AUTORST-A  |          0|           |AUTORST-U  |          0|           |
           MANUALRST  |          0|           |MISALIGNED |          0|           |
           ATM-INV-CEL|          0|           |ATM-VC-UNK |          0|           |
           DROPPED    |          0|           |AAL5-ERR   |          1|           |
           ------------------------------------------------------------------------
           VPI:8    VCI:35     
           -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
           CELLS      |    9636703|    8746441|AAL5-SDU   |    4709799|    4167222|
           AAL5-CHAR  |  286494129|  274734626|ERRORS     |       8352|          0|
  2. Verify the bandwidth occupation with the d d adsl command.

    [10:08:48] ABILIS_CPX:d d adsl
    
    RES:Adsl-1 --------------------------------------------------------------------
           MODEM-STATE:CONNECTED           MODEM-TYPE:Abilis-ADSL2+
           MODEM-FAILURE:NONE              MODEM-USB-RX-MODE:BULK
           MODEM-MAC:00-26-75-84-2E-75     MODEM-USB-RX-BW:N/A
           ------------------------------------------------------------------------
           ADSL-STATE:UP                   ADSL-TYPE:Annex-A
           ADSL-TX-SPEED:320000            ADSL-RX-SPEED:1504000
           ADSL-TX-SN-MARGIN:28            ADSL-RX-SN-MARGIN:31
           ADSL-TX-ATTENUATION:10          ADSL-RX-ATTENUATION:18
           ADSL-TX-INTERLEAVE:0.25         ADSL-RX-INTERLEAVE:0.25         
           - ATM level virtual channel diagnostics --------------------------------
           VPI  VCI    QoS    State      Bw-Out      Bw-In 5sec-Thr-Out 5sec-Thr-In
                                                           5min-Thr-Out 5min-Thr-In
           ------------------------------------------------------------------------
           8    35     NORMAL UP         289811    1362113        35480       35400
                                                                  31264       33792
           ------------------------------------------------------------------------

    If the input and/or output throughput has a value near to the maximum Bandwidth available, the line is saturated.

    [Note]Note

    Statistics are shown only if a Starmodem is used

  3. With the d nat maps command it is possible to display the IP addresses and ports of the current NAT sessions.

    [12:48:33] ABILIS_CPX:d nat maps
    
    Number of records in standard table: 4
    
    S A TYPE SRC-ADDRESS     SP/ID DST-ADDRESS     DP/ID ALS-ADDRESS     ALIAS  TM
    -------------------------------------------------------------------------------
    I S UDP  192.168.000.008 45379 128.006.229.020 57333 080.080.080.080 7668   164
    I S TCP  192.168.000.008 1521  193.205.079.111 5542  080.080.080.080 52450  132
    I S UDP  192.168.000.008 45379 140.078.149.003 31782 080.080.080.080 7630    70
    I S FTPd 192.168.000.003 4551  212.029.147.233 20    080.080.080.080 7455   172
    I S UDP  192.168.000.008 45379 143.225.070.229 35236 080.080.080.080 7631    70
    I S UDP  192.168.000.008 45379 221.250.120.075 42197 080.080.080.080 7659   136
    I S UDP  192.168.000.008 45379 069.246.011.036 32876 080.080.080.080 7645   104
    ...

    In this case there is a FTP session that could use a lot of bandwidth.

72.3.4. Why can't I reach any website?

Verify the number of current NAT sessions with the d d nat command.

[12:48:33] ABILIS_CPX:d d nat

RES:Nat -----------------------------------------------------------------------
       Network_Address_Translator
       STATE:READY
       -----------|--- CUR ---|-- PEAK ---|--- MAX ---|
       LINKS      |        998|       1000|       1000|
       ------------------------------------------------

If the value of CUR (current) parameter is near to the value of MAX parameter, probably some sessions could be discarded.

[Tip]Tip

Remember to check also the IPACL table.