Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: Bald_Eagle1 on June 09, 2014, 02:02:08 PM

Title: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 02:02:08 PM
Do any of you know a telnet command that will provide Signal Attenuation (SATN) & Line Attenuation (LATN) data from Broadcom routers/modems?


I can already obtain this information via the adsl/xdslcmd info -linediag command, but it is only a tiny part of the whole linediag data that runs to thousands of rows of unneeded data.

Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 09, 2014, 02:35:03 PM
Perhaps they could be calculated from the pbParams data, but I don't know how. This would apply to VDSL2 only of course.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 04:55:42 PM
I was meaning more for ADSL connections as LATN & SATN data for VDSL2 connections is useless.

The line & signal attenuation per band from pbParams is fine, but nobody has yet sussed how that would translate to a single overall value.

VDSL2:-

Code: [Select]
Down Up
SNR (dB): 6.0 5.9
Attn(dB): 24.8 0.0
Pwr(dBm): 12.6 7.0

Code: [Select]
Down Up
SNRM(dB): 6.0 5.9
LATN(dB): 24.8 0.0
SATN(dB): 0.0 0.0

Code: [Select]
xdslcmd info --pbParams
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 4027 Kbps, Downstream rate = 21400 Kbps
Bearer: 0, Upstream rate = 4124 Kbps, Downstream rate = 19066 Kbps

Discovery Phase (Initial) Band Plan
US: (7,32) (871,1205) (1972,2782)
DS: (33,859) (1216,1961) (2793,3970)
Medley Phase (Final) Band Plan
US: (7,32) (871,1194)
DS: (33,859) (1216,1852)
  VDSL Port Details   Upstream   Downstream
Attainable Net Data Rate:      4027 kbps     21400 kbps
Actual Aggregate Tx Power:        7.0 dBm      12.6 dBm
====================================================================================
  VDSL Band Status U0 U1 U2 U3 U4 D1 D2 D3
  Line Attenuation(dB): 8.2 54.9   N/A   N/A   N/A 22.0 67.4   N/A
Signal Attenuation(dB): 8.2 54.1   N/A   N/A   N/A 31.1 67.4   N/A
SNR Margin(dB): 6.0 5.9   N/A   N/A   N/A 5.9 6.0   N/A
TX Power(dBm): 0.6 5.8   N/A   N/A   N/A 11.5 6.0   N/A





ADSL (G.DMT) (a bit more informative):-

Code: [Select]
Down Up
SNRM(dB): 4.0 16.0
LATN(dB): 47.5 27.5
SATN(dB): 47.5 0.0


ADSL2:-

Code: [Select]
Down Up
SNRM(dB): 5.5 6.6
LATN(dB): 65.0 37.2
SATN(dB): 71.4 37.5


ADSL2+:-

Code: [Select]
Down Up
SNRM(dB): 6.1 5.8
LATN(dB): 49.0 27.3
SATN(dB): 49.0 27.4


The ADSL examples are from different users' connections.

Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 09, 2014, 06:42:23 PM
I've waded through all the CLI commands I can find which look as though they might have the information, but I can't find it (if it exists). I tried adsl info --linediag | grep atten but it didn't return any information.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 06:50:41 PM
This is the start of the linediag data from an ADSL2 connection, using a HG612 (pre-update firmware version):-

Code: [Select]
# xdslcmd info --linediag
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Max: Upstream rate = 964 Kbps, Downstream rate = 6036 Kbps
Path: 0, Upstream rate = 1007 Kbps, Downstream rate = 5319 Kbps

Down Up
SNRM(dB): 6.1 5.5
LATN(dB): 45.5 27.3
SATN(dB): 45.5 27.6
TxPwr(dBm): 19.6 12.8
ATTNDR(Kbps): 6036 964
Tone number      SNR
   0 0.0000
   1 0.0000
   2 0.0000
   3 0.0000
 


Maybe grep LATN or SATN would have provided some details.

However, linediag contains an awful ot of 'other' data.
I was looking for a 'quicker', more efficient way to report Line Attenuation & Signal Attenuation every minute.


Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 09, 2014, 07:25:45 PM
Code: [Select]
> adsl info --linediag | grep LATN
LATN(dB):        43.0            23.8
 > adsl info --linediag | grep SATN
SATN(dB):        46.8            24.6

You're right (on both counts), although it only seems to take a tiny fraction of a second to produce the output.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 08:33:03 PM
Is that ADSL2 or ADSL2+?

Saving ALL the linediag data to files produces these (approximate) filesizes:-

G.DMT & ADSL2    19 KB
ADSL2+               36 KB
VDSL2                278 KB

It takes around 1.7 seconds to grab the data on my VDSL2 connection, so as you say, it must be significantly quicker for any of the ADSL mode connections.

It seems like I'll have to stick with the linediag data for ADSL connections then as I couldn't find  any other way to get the data via Googling for clues & it's worthless info for VDSL2 connections anyway.
 
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: burakkucat on June 09, 2014, 09:16:26 PM
The following may not be relevant to what you wish to achieve (or know  :P  ) but with a Huawei HG622 and an ADSL2 service the following is seen --

Code: [Select]
# xdslcmd info --linediag
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 8000
Max: Upstream rate = 1040 Kbps, Downstream rate = 6240 Kbps
Channel: INTR, Upstream rate = 1016 Kbps, Downstream rate = 5641 Kbps

ACTPSDds = 0 ACTPSDus = 0 ACTATPds = 0 ACTATPus = 128 HLINSCds = 416
HLINpsds 0,1,0,1,0,1,5,216,105,-105,-221,0,0,1,0,1,-100,-100,0,1,0,1,0,1,0,1,100,-100,0,1,0,1,0,-180,0,1,95,-95,0,1,175,5,-160,-160,-5,447,346,-487,-814,190,979,407,-688,-1221,-346,1904,1784,-1703,-3161,45,3090,2407,-1095,-4703,-2688,5231,6518,-2738,-8066,-2568,5332,8558,1758,-11850,-10624,9367,16654,-482,-15438,-11860,5447,21851,10302,-23469,-24901,13925,30656,4040,-23263,-22670,4844,32767,16438,-28560,-30163,11317,29203,10729,-14051,-26374,-7332,27676,23369,-14312,-25600,-5859,13388,21338,5613,-23544,-20042,11880,21650,6060,-10106,-19233,-6915,19851,18660,-8176,-18087,-7955,6141,18182,9071,-16318,-17685,4085,14453,10161,-2010,-17107,-11156,12543,16383,30,-10553,-11991,-1990,15448,12629,-8488,-14363,-3839,6367,13041,5543,-13051,-13167,4241,11558,7025,-2150,-13036,-8287,9875,12609,-135,-8096,-9282,-1769,11890,9975,-6216,-10925,-3507,4286,10357,5025,-9719,-10428,2377,8337,6297,-527,-10186,-7292,6779,9649,1196,-5136,-7980,-2759,8850,8362,-3457,-7824,-4115,1789,8432,5226,-6603,-8211,180,5241,6055,1306,-7709,-6618,3804,6975,2623,-2341,-6875,-3729,6030,6849,-919,-4925,-4603,-427,6558,5221,-3734,-6040,-1648,2477,5583,2683,-5307,-5673,1241,4417,3522,-50,-5518,-4146,3432,5141,1040,-2367,-4528,-1985,4578,4683,-1296,-3849,-2754,266,4608,3337,-3025,-4337,-688,2135,3713,1517,-3879,-3879,1216,3286,2211,-331,-3849,-2728,2598,3638,492,-1844,-3070,-1216,3266,3231,-1060,-2779,-1824,301,3226,2271,-2191,-3050,-397,1547,2573,1025,-2743,-2708,879,2321,1537,-241,-2703,-1924,1824,2558,366,-1276,-2181,-899,2286,2296,-708,-1934,-1321,150,2281,1653,-1502,-2150,-361,1025,1859,809,-1924,-1949,542,1598,1165,-75,-1934,-1432,1231,1819,361,-844,-1608,-728,1603,1668,-412,-1316,-1025,10,1638,1241,-1000,-1527,-361,653,1377,673,-1336,-1422,296,1085,914,40,-1387,-1090,809,1276,341,-502,-1186,-587,1100,1211,-206,-889,-809,-75,1170,944,-653,-1070,-336,391,1025,552,-924,-1035,130,728,708,110,-1005,-829,517,889,316,-291,-884,-502,753,889,-75,-593,-633,-120,834,718,-407,-743,-301,211,753,447,-628,-748,35,477,557,130,-703,-613,321,623,281,-160,-643,-397,517,633,0,-391,-492,-140,593,532,-251,-522,-261,120,552,351,-422,-537,-15,311,422,130,-502,-462,201,432,231,-80,-482,-311,351,462,20,-261,-371,-125,427,402,-160,-366,-206,65,407,266,-296,-391,-20,221,321,110,-361,-341,140,316,185,-55,-346,-231,261,336,15,-190,-271,-85,316,296,-125,-276,-145,60,301,190,-231,-296,-5,185,226,55,-276,-251,130,246,115,-75,-256,-145,216,256,-25,-180,-180,-20,241,195,-135,-226,-55,95,206,90,-201,-201,60,175,105,-30,-190,-120,140,175,5,-115,-125
QLNpsds -149.0000,-149.0000,-149.0000,-149.0000,-149.0000,-149.0000,-121.0000,-117.5000,-115.0000,-115.0000,-116.0000,-116.0000,-117.0000,-117.0000,-118.5000,-119.5000,-117.5000,-117.5000,-116.0000,-116.0000,-117.5000,-116.0000,-117.5000,-117.0000,-118.5000,-118.5000,-119.5000,-119.5000,-118.0000,-118.5000,-117.0000,-116.5000,-150.5000,-138.0000,-140.5000,-141.5000,-139.0000,-136.0000,-135.5000,-135.0000,-134.5000,-133.5000,-131.0000,-131.0000,-131.5000,-130.5000,-129.0000,-129.0000,-130.5000,-130.0000,-131.5000,-130.5000,-129.0000,-131.5000,-131.0000,-131.5000,-130.0000,-131.0000,-132.0000,-131.0000,-131.0000,-131.0000,-132.5000,-131.5000,-131.5000,-131.0000,-131.0000,-131.5000,-131.0000,-131.5000,-131.5000,-131.0000,-132.5000,-131.0000,-131.0000,-131.0000,-131.0000,-131.0000,-132.5000,-131.0000,-132.0000,-132.5000,-133.0000,-133.5000,-132.5000,-132.5000,-133.5000,-133.5000,-133.5000,-133.5000,-132.0000,-133.5000,-132.0000,-132.0000,-133.0000,-134.5000,-133.0000,-133.0000,-133.0000,-133.0000,-133.0000,-133.5000,-133.5000,-133.5000,-134.5000,-134.0000,-135.5000,-134.5000,-134.5000,-135.5000,-136.5000,-135.5000,-134.0000,-134.0000,-135.0000,-135.5000,-135.0000,-136.5000,-135.5000,-135.0000,-135.0000,-135.0000,-136.0000,-136.0000,-136.0000,-136.0000,-136.5000,-136.0000,-135.0000,-136.5000,-135.0000,-135.0000,-135.5000,-136.0000,-135.0000,-136.5000,-136.0000,-136.5000,-136.5000,-136.5000,-135.0000,-136.5000,-135.5000,-136.5000,-132.5000,-136.5000,-134.0000,-137.5000,-137.5000,-135.0000,-134.5000,-131.5000,-130.5000,-131.5000,-132.0000,-130.0000,-123.5000,-122.0000,-128.5000,-126.5000,-119.5000,-112.0000,-122.0000,-126.0000,-130.5000,-131.0000,-133.5000,-131.0000,-134.0000,-131.5000,-130.5000,-126.0000,-125.0000,-126.0000,-131.5000,-133.0000,-132.5000,-125.5000,-128.5000,-131.0000,-130.0000,-129.5000,-128.5000,-129.0000,-131.0000,-133.0000,-135.0000,-136.5000,-137.0000,-136.5000,-134.0000,-132.5000,-129.0000,-131.0000,-133.0000,-134.5000,-135.5000,-133.5000,-121.0000,-129.5000,-132.5000,-132.0000,-131.5000,-132.5000,-133.5000,-134.5000,-135.5000,-134.0000,-133.0000,-131.5000,-124.0000,-114.0000,-128.5000,-132.5000,-132.0000,-134.5000,-135.0000,-135.0000,-136.0000,-137.0000,-136.5000,-135.0000,-137.0000,-136.5000,-137.5000,-136.0000,-136.0000,-137.0000,-136.0000,-135.0000,-137.0000,-136.0000,-137.5000,-137.5000,-135.0000,-137.5000,-136.5000,-133.0000,-119.0000,-133.0000,-135.5000,-135.0000,-133.0000,-130.5000,-115.0000,-127.0000,-133.5000,-133.5000,-132.0000,-131.0000,-130.5000,-125.0000,-117.5000,-116.0000,-125.0000,-130.5000
SNRpsds 0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,37.8125,39.3125,40.5625,40.9375,41.8750,42.4375,43.0625,43.5625,43.8125,43.6875,43.7500,44.4375,44.7500,35.2500,45.4375,45.5625,46.0000,45.8125,45.5625,46.0000,46.6250,46.2500,45.6250,45.7500,46.1250,46.3125,46.1250,45.6875,45.3750,45.1875,44.8125,45.4375,44.9375,45.0625,45.0000,44.4375,44.6875,44.0000,44.2500,44.5000,43.6875,43.8750,43.5000,43.5000,43.1250,42.6875,42.7500,42.9375,42.5625,42.7500,42.5625,42.6875,42.3125,42.0000,42.0000,41.5000,41.1250,41.8125,41.3125,40.4375,40.8125,40.6875,40.5625,41.1875,41.0000,40.8750,40.1875,40.1875,39.3125,38.9375,39.6875,39.6250,39.1875,40.1875,40.2500,39.4375,39.5000,40.1875,39.0000,39.5625,39.1250,38.7500,38.5625,38.1250,37.8125,37.3125,38.1250,38.0000,38.4375,38.1250,37.6875,37.8125,36.0000,37.1875,34.5625,36.4375,36.1875,36.2500,34.8125,35.8125,35.9375,35.9375,35.6875,35.8125,34.5625,34.3750,34.1875,33.3750,33.9375,33.5000,33.6250,28.8750,33.0000,29.8750,22.1250,22.1250,30.2500,30.6875,28.7500,27.6875,27.6875,27.0625,26.1250,19.3125,18.3125,23.0625,20.0625,13.5000,15.4375,15.4375,17.9375,22.1250,22.3750,25.0625,25.1250,26.4375,21.9375,23.2500,20.5000,19.1875,16.6250,20.5000,20.0625,17.5000,13.7500,16.6875,21.4375,20.9375,20.2500,19.7500,18.8750,19.4375,21.6875,18.2500,22.0000,17.6250,20.8750,18.3750,15.4375,14.5000,17.2500,18.0625,20.9375,21.0000,18.6250,9.0625,16.1250,19.5625,19.0625,17.3750,17.4375,16.8125,15.4375,14.8750,15.3750,16.3125,13.8125,8.5000,10.8750,10.8750,14.6250,16.3750,15.6875,17.5625,17.8125,17.7500,13.3750,14.8125,4.3750,12.4375,15.3125,16.7500,11.3125,13.7500,16.0000,16.6875,16.3125,17.5625,16.5000,14.8125,15.7500,14.8750,15.6875,15.0000,13.2500,13.3750,13.3750,14.3750,14.3750,13.1875,9.3750,11.0000,11.0000,11.0000,11.8750,11.6875,10.3125,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000
BITSpsds 0,0,0,1287,2058,3084,3084,3340,3084,3084,3084,3084,2827,2570,2313,2054,10,2827,2827,2828,3084,3084,3084,2317,3341,3341,3341,3341,3341,3341,3341,3340,3084,3340,3084,3084,3084,3084,3084,3084,3084,3084,3084,2827,2827,2827,2827,2827,2827,2827,2827,2571,2818,2827,2827,2827,2826,2570,2570,2570,2570,2570,2569,2569,2569,2313,2304,2313,2313,2313,2313,2312,1800,1792,1288,2055,7,1542,1027,1284,512,771,1285,1542,1797,1541,771,1028,770,773,1028,1027,1029,773,773,1026,771,772,1283,515,1028,771,771,771,770,512,515,771,771,770,769,515,770,515,771,771,771,771,770,2,771,513,0,514,257,0,0,0,583,579,580,557,573,575,575,571,573,553,550,547,534,543,536,538,462,528,478,354,354,484,491,460,443,443,433,418,309,293,369,321,216,247,247,287,354,358,401,402,423,351,372,328,307,266,328,321,280,220,267,343,335,324,316,302,311,347,292,352,282,334,294,247,232,276,289,335,336,298,145,258,313,305,278,279,269,247,238,246,261,221,136,174,174,234,262,251,281,285,284,214,237,70,199,245,268,181,220,256,267,261,281,264,237,252,238,251,240,212,214,214,230,230,211,150,176,176,176,190,187,165,0,0,0,0,0,0
GAINSpsds 0.0000,-54.2500,-54.2500,-54.2500,-54.2500,-54.2500,-2.5000,-2.5000,-2.5000,-2.5000,2.0000,0.2500,0.7500,-1.3750,1.8750,1.8750,-1.6250,0.0000,0.2500,0.2500,0.1250,0.5000,1.2500,2.0000,0.5000,1.5000,0.2500,0.7500,0.3750,1.3750,1.6250,-1.5000,-2.0000,0.3125,1.0000,0.1875,0.4375,-1.4375,-1.8750,0.5000,0.0625,0.1875,0.6250,0.3125,-1.1250,-1.2500,0.8750,1.0625,0.7500,0.5000,0.5625,0.8125,0.6250,0.0000,0.0625,0.3125,0.1875,0.2500,0.1875,0.5000,0.7500,0.8125,1.3125,-1.6250,-1.8125,-1.8750,1.0625,-1.4375,-1.3125,-1.1875,0.5000,0.0000,0.8750,0.2500,0.3750,0.0625,0.1250,0.4375,0.7500,0.8125,0.3750,0.5000,0.8750,0.5000,0.8125,1.0000,-1.5625,-1.6875,-1.5000,0.5000,-1.1875,0.8750,0.3750,0.3125,0.6250,0.2500,0.6250,0.3750,0.2500,0.2500,0.3125,0.7500,-1.3750,0.6250,0.8125,0.0000,0.3125,0.3125,0.6875,0.4375,0.2500,1.0000,0.8125,-1.7500,-1.3125,-1.6250,-1.0625,0.4375,0.1875,-1.0625,0.8750,0.0000,-1.0625,0.7500,0.3125,-1.0000,0.0625,0.2500,0.9375,-1.6250,-1.0000,0.7500,-1.7500,-2.0000,-1.4375,-1.6250,-1.5000,0.1250,0.0000,0.3750,0.6250,0.5000,0.8750,-2.1250,0.5625,-1.5000,-1.3125,-2.0000,0.1250,0.7500,0.5625,0.1875,-2.0000,0.6875,-1.0000,0.7500,0.1875,-1.3125,-1.2500,0.8750,-1.3125,-2.0000,1.3750,-1.1250,0.1250,0.1250,0.1875,0.2500,1.5625,0.3125,2.1250,1.8750,-2.3125,0.1875,-1.3125,-1.3125,0.6875,-1.5000,0.1250,0.3750,-1.8750,-1.1875,0.7500,-1.0000,0.2500,0.5625,-1.3125,0.2500,0.6250,1.5000,0.7500,-2.5000,2.3125,0.3125,-1.0625,-1.7500,1.2500,-1.8125,2.5000,0.8125,0.5625,0.0625,0.3750,0.5000,0.0000,1.3750,2.1250,1.4375,0.6875,-1.6875,2.5000,-2.0000,0.6250,2.3750,0.5625,0.9375,0.7500,0.8125,0.8125,-1.4375,2.0000,2.5000,0.8125,1.5625,0.0625,0.9375,-1.5625,0.3750,0.2500,0.6875,0.6250,0.4375,2.0000,1.1250,1.9375,0.8125,1.8125,-2.2500,-2.0000,-1.1250,2.0000,2.5000,0.0000,0.4375,-2.0000,-2.0000,1.1250,0.2500,-2.5000,-1.7500,-2.0000,-2.0000,-2.0000,-2.0000,-2.0000,-2.0000
# xdslcmd info --linediag1
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 8000
Max: Upstream rate = 1040 Kbps, Downstream rate = 6272 Kbps
Channel: INTR, Upstream rate = 1016 Kbps, Downstream rate = 5641 Kbps

Currently not in VDSL modulation --linediag1 is only for VDSL mode
#
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 09:34:26 PM
Is Signal Attenuation reported anywhere else in the HG622 when on an ADSL connection?


I assume the Attenuation reported via xdslcmd info --stats will be Line Attenuation?


It was reported as 0.0 DS & 0.0 US when I tried one on my VDSL2 connection.

I did however have the pbParams data to study.




Title: Re: Telnet commands to obtain SATN & LATN data
Post by: burakkucat on June 09, 2014, 09:38:54 PM
Code: [Select]
# xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 8000
Max: Upstream rate = 1036 Kbps, Downstream rate = 6260 Kbps
Channel: INTR, Upstream rate = 1016 Kbps, Downstream rate = 5641 Kbps

Link Power State: L0
Mode: ADSL2
TPS-TC: ATM Mode
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 5.4 6.1
Attn(dB): 47.0 28.1
Pwr(dBm): 0.0 12.8

ADSL2 framing
Bearer 0
MSGc: 40 10
B: 246 145
M: 1 1
T: 1 1
R: 8 0
S: 1.3953 4.5625
L: 1462 256
D: 32 1

Counters
Bearer 0
SF: 23074381 64071
SFErr: 23276 480
RS: 1061421474 2232269
RSCorr: 891230 0
RSUnCorr: 366940 0

Bearer 0
HEC: 219040 206
OCD: 1086 0
LCD: 1086 0
Total Cells: 631171519 886553163
Data Cells: 89599909 6963592
Drop Cells: 0
Bit Errors: 16388545 25987

ES: 8234 321
SES: 196 0
UAS: 31 31
AS: 370225

Bearer 0
INP: 0.50 0.00
INPRein: 0 0
delay: 11 1
PER: 16.04 18.25
OR: 22.93 7.01

Bitswap: 166564/166635 69/69

Total time = 1 days 6 hours 51 min 48 sec
FEC: 891230 0
CRC: 23276 480
ES: 8234 321
SES: 196 0
UAS: 31 31
LOS: 19 0
LOF: 0 0
Latest 15 minutes time = 6 min 48 sec
FEC: 424 0
CRC: 6 0
ES: 4 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Previous 15 minutes time = 15 min 0 sec
FEC: 851 0
CRC: 14 0
ES: 8 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Latest 1 day time = 6 hours 51 min 48 sec
FEC: 64773 0
CRC: 893 42
ES: 570 30
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Previous 1 day time = 24 hours 0 sec
FEC: 282654 0
CRC: 5030 100
ES: 2963 64
SES: 5 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Since Link time = 4 days 6 hours 51 min 8 sec
FEC: 891230 0
CRC: 23276 480
ES: 8234 321
SES: 196 0
UAS: 0 0
LOS: 19 0
LOF: 0 0
#

Code: [Select]
# xdslcmd info --show
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 8000
Max: Upstream rate = 1036 Kbps, Downstream rate = 6316 Kbps
Channel: INTR, Upstream rate = 1016 Kbps, Downstream rate = 5641 Kbps

Link Power State: L0
Mode: ADSL2
TPS-TC: ATM Mode
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 5.6 6.2
Attn(dB): 47.0 28.1
Pwr(dBm): 0.0 12.8

ADSL2 framing
Bearer 0
MSGc: 40 10
B: 246 145
M: 1 1
T: 1 1
R: 8 0
S: 1.3953 4.5625
L: 1462 256
D: 32 1

Counters
Bearer 0
SF: 23082696 71327
SFErr: 23278 480
RS: 1061803933 2348265
RSCorr: 891332 0
RSUnCorr: 366966 0

Bearer 0
HEC: 219052 206
OCD: 1086 0
LCD: 1086 0
Total Cells: 632946706 886873659
Data Cells: 89601028 6964124
Drop Cells: 0
Bit Errors: 16389820 25987

ES: 8235 321
SES: 196 0
UAS: 31 31
AS: 370359

Bearer 0
INP: 0.50 0.00
INPRein: 0 0
delay: 11 1
PER: 16.04 18.25
OR: 22.93 7.01

Bitswap: 166619/166689 69/69

#
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 09:56:10 PM
Thanks, b*cat.


That doesn't look too rpomising regarsing the separate LATN & SATN data.

On another note, I see your Interleaving depths are 32 DS & 1 US.

Is 32 classed as high, medium or low on an ADSL connection?


Title: Re: Telnet commands to obtain SATN & LATN data
Post by: burakkucat on June 09, 2014, 10:05:57 PM
Thanks, b*cat.


That doesn't look too rpomising regarsing the separate LATN & SATN data.

I've now captured the output from every separate xdslcmd info --foo command line and greped the resultant file. All I see is --

Code: [Select]
[Duo2 tmp]$ grep -i att typescript
Attn(dB): 47.0 28.1
Attn(dB): 47.0 28.1
[Duo2 tmp]$

Quote
On another note, I see your Interleaving depths are 32 DS & 1 US.

Is 32 classed as high, medium or low on an ADSL connection?

To tell the truth, I have no idea. I have never bothered about it!  :D

My TalkTalk provided service profile is 6 dB target SNRM, interleaved, with DLM off.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 10:30:04 PM
Thanks, b*cat.


That doesn't look too promising regarding the separate LATN & SATN data.

I've now captured the output from every separate xdslcmd info --foo command line and greped the resultant file. All I see is --

Code: [Select]
[Duo2 tmp]$ grep -i att typescript
Attn(dB): 47.0 28.1
Attn(dB): 47.0 28.1
[Duo2 tmp]$



Thanks or that.
It even fixed the poor spelling from my original message  ;)

I presume those 2 instances are from info--stats & info--show?

If you still have the file, could I ask that you grep again, but using 'LATN' & 'SATN' rather than 'att'?
 


Quote
On another note, I see your Interleaving depths are 32 DS & 1 US.

Is 32 classed as high, medium or low on an ADSL connection?

Quote
To tell the truth, I have no idea. I have never bothered about it!  :D

My TalkTalk provided service profile is 6 dB target SNRM, interleaved, with DLM off.


O.K. maybe someone else will know the answer.


Just for curiosity (I hope it doesn't kill the cat), is your preference for the HG622 rather than the HG612 plus a router simply due to the number of available ports within a single unit?


Title: Re: Telnet commands to obtain SATN & LATN data
Post by: burakkucat on June 09, 2014, 10:55:49 PM
Thanks or that.
It even fixed the poor spelling from my original message  ;)

Cough! (Pesky fur-ball.) "or that"?  :-X

Quote
I presume those 2 instances are from info--stats & info--show?

Indeedy.

Quote
If you still have the file, could I ask that you grep again, but using 'LATN' & 'SATN' rather than 'att'?

The result followeth --

Code: [Select]
[Duo2 tmp]$ grep -i LATN typescript
[Duo2 tmp]$ grep -i SATN typescript
[Duo2 tmp]$

Quote
Just for curiosity (I hope it doesn't kill the cat), is your preference for the HG622 rather than the HG612 plus a router simply due to the number of available ports within a single unit?

You may recall that I have an HG610, an HG612 and an HG622. I prefer the latter because: it stands up by itself, has four ports, has a USB port, is wireless capable, has never been associated with Beattie . . .
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 09, 2014, 11:02:19 PM
Concerning some of the points above:

The info I reported from --linediag was on my ADSL2+ connection. The modem/router is the Billion 7800DXL. This is a high end model, so it's quite possible that it processes commands more quickly than some others.

The attenuation values reported in the main stats correspond with the LATN (line attenuation) values in --linediag.

My interleave values are the same as b*cat's (32 down, 1 up), but if I tweak the SNRM down by 3 dB the downstream interleave level increases to 64, and sometimes the upstream will become 2. Over the years these values have always been in that region, so I consider them to be 'normal'.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 09, 2014, 11:54:30 PM
Concerning some of the points above:

The info I reported from --linediag was on my ADSL2+ connection. The modem/router is the Billion 7800DXL. This is a high end model, so it's quite possible that it processes commands more quickly than some others.



Quite possibly the speed of the modem will have an impact, as will the PC's speed & the vastly reduced amount of data produced via an ADSL connection.

Pro-rata, I estimate my setup would produce the linediag data in about 0.22 seconds for an ADSL2+ connection



Quote
The attenuation values reported in the main stats correspond with the LATN (line attenuation) values in --linediag.


Thanks for confirming that.


Line attenuation shouldn't really change much at each resync, apart from a slight increase during warmer weather or if there is indeed a physical change to the cable properties (such as a permanent or intermitent HR issue).


Signal attenuation is a dynamic measure of 'interference' probably such as equipment being switched on/off or even increased crosstalk.

Quite small changes in Signal attenuation (less than 0.5dB) appear to make quite a difference (2 to 3 Mbps) to sync speeds if resyncing when signal attenuation has changed.
That's on my own connection, where I can't achieve anywhere near the 40 Mbps service cap.

Other achieving the their service cap, with further spare attainable rates/SNRM probably wouldn't see any differences from such small changes in signal attenuation.


I can see those changes in my pbParams data, but they aren't reported in LATN & SATN data.

As we now know there is a difference between Line & Signal attenuation reported by some modems on ADSL connections, plotting changes in SATN along with the already plotted LATN data might just be useful.



Quote
My interleave values are the same as b*cat's (32 down, 1 up), but if I tweak the SNRM down by 3 dB the downstream interleave level increases to 64, and sometimes the upstream will become 2. Over the years these values have always been in that region, so I consider them to be 'normal'.


It seems that interleaving depth adjustments are far more granular for VDSL2 connections, possibly down to an adjustment of 1.
It certainly can be adjusted by less than 10, as seen on my connection.

I have no idea what constitutes low medium or high depths for VDSL2, but perhaps the smaller adjustments allow more flexibility when DLM determines whether or not to apply the next (more severe) stage of delay & INP?

Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 10, 2014, 10:08:54 AM
If you do want to use the --linediag method, you can get both LATN and SATN in a single command:

Code: [Select]
> adsl info --linediag | grep "LATN\|SATN"
LATN(dB):        43.0            23.8
SATN(dB):        46.8            24.6
 >
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 10, 2014, 06:19:01 PM
Cheers Eric,


grep isn't actually included in the compiler I use, but extracting the data isn't a problem.

It just seems a waste of resources/time to have to obtain thousands of rows of data from the modem/router just to get the LATN & SATN data.

Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 10, 2014, 06:36:37 PM
I was suggesting that you get the modem to do the job for you. Send the command above to the modem, and all you get back is those two lines. If the modem doesn't support the --linediag option, then you just get a "too many parameters" type of response. I've experimentally implemented this in DSLstats, and it works well, although it does take an extra quarter of a second or so to complete the sampling.

Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 11, 2014, 07:54:11 AM
Thanks Eric,

I have now added the LATN & SATN data to my ongoing logging program (for ADSL connections only).

I started obtaining the additional data last night on an ADSL2 connection that I monitor remotely & it is indeed much, much quicker than on VDSL2 as the linediag data contains far fewer rows.

The xdslcmd info --linediag command still obtains the whole set of data to a temporary memory buffer though.
The LATN & SATN (& ATTNDR) data is then extracted & the allocated memory is then freed again.

Unexpectedly, SATN data doesn't change, but ATTNDR does, despite a significant change in SNRM as per the attached graph.

I have not yet added graphs for LATN & SATN, but I will be doing so as soon as I get chance.

 
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 11, 2014, 10:01:26 AM
Quote
Unexpectedly, SATN data doesn't change, but ATTNDR does, despite a significant change in SNRM as per the attached graph.

That is slightly surprising. At the moment I'm testing a different modem which doesn't support the --linediag command, but later I'll put the Billion back and see if my results are similar to yours.

ATTNDR presumably matches the max attainable speed values.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 11, 2014, 06:30:16 PM
ATTNDR presumably matches the max attainable speed values.


It does indeed match & it changes dynamically in line with Max rates:-

xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason:   0
Last initialization procedure status:   0
Max:   Upstream rate = 776 Kbps, Downstream rate = 1444 Kbps
Bearer:   0, Upstream rate = 772 Kbps, Downstream rate = 1244 Kbps

Link Power State:   L0
Mode:         ADSL2 Annex A
TPS-TC:         ATM Mode(0x0)
Trellis:      U:ON /D:ON
Line Status:      No Defect
Training Status:   Showtime
      Down      Up
SNR (dB):    1.3       6.4
Attn(dB):    65.0       37.2
Pwr(dBm):    0.0       12.7


      Down      Up
SNRM(dB):    1.3       6.4
LATN(dB):    65.0       37.2
SATN(dB):    71.4       37.5
TxPwr(dBm):    0.0       12.7
ATTNDR(Kbps):   1444      776
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 11, 2014, 06:39:01 PM
I've put my Billion 8800NL back, and it behaves in exactly the same way - SATN never seems to change, but ATTNDR tracks the max attainable speeds.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 11, 2014, 06:51:15 PM
I suppose that even when SNRM changes, Signal Attenuation remains static (crosstalk will still be present to the same extent).

SATN might only change if say one or more of the crosstalk disturbers switches off/on their modem/router, thus reducing/increasing crosstalk?

In other words, SATN could be partly used as a measure of crosstalk.
For VDSL2 connections, I have seen some users with very little or no difference between Line & Signal attenuation & others with quite a difference (e.g. my connection):-

Code: [Select]
  VDSL Band Status U0 U1 U2 U3 U4 D1 D2 D3
  Line Attenuation(dB): 8.2 54.9   N/A   N/A   N/A 22.0 67.4   N/A
Signal Attenuation(dB): 8.2 54.3   N/A   N/A   N/A 31.1 67.4   N/A

Although Signal Attenuation does occasionally change dynamically (slightly) on VDSL2 connections between resyncs.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 13, 2014, 11:43:01 AM
I've been pondering this some more, and I realised that I didn't really have a proper understanding of the difference between line and signal attenuation. This article on the Whirlpool site (http://whirlpool.net.au/wiki/ADSL_Theory_Attenuation) has clarified it a bit: line attenuation is measured by the DSLAM for a fixed range of parameters including the noise frequency distribution; signal attenuation is measured by the modem for the actual parameters of the connection at the time of the measurement.

So, it's quite possible that the modem only measures the signal attenuation at the time of negotiating the connection, which would explain why it doesn't seem to change between resyncs. On my ADSL2 connection, it does change from one resync to the next; with the Billion 8800NL the previous and current values are:

Code: [Select]
Previous: Down 45.9  Up 24.6
Current:  Down 45.1  Up 24.7
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: Bald_Eagle1 on June 13, 2014, 05:33:34 PM
So, it's quite possible that the modem only measures the signal attenuation at the time of negotiating the connection, which would explain why it doesn't seem to change between resyncs. On my ADSL2 connection, it does change from one resync to the next; with the Billion 8800NL the previous and current values are:

Code: [Select]
Previous: Down 45.9  Up 24.6
Current:  Down 45.1  Up 24.7


I believe Signal attenuation is supposed to be reported dynamically (at least for VDSL2 connections).

I do see 'small' fluctuations between resyncs on my connection (see attached graphs)

Perhaps the ADSL standard doesn't have dynamic Signal attenuation reporting?


Title: Re: Telnet commands to obtain SATN & LATN data
Post by: roseway on June 13, 2014, 06:41:57 PM
On my ADSL2+ connection I've never seen any change in signal attenuation between resyncs, but I don't plot it, so it may have changed without my noticing it.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: kitz on June 13, 2014, 08:00:09 PM
Ive refrained from commenting because this is something I went over with time and time and time again with konrado and Im now weary to a point you wont believe about making any posts about anything.

AIUI this is what's been on the site for a while What is the difference between Line Attenuation and Signal Attenuation? (http://www.kitz.co.uk/adsl/linestats.htm#Signal_v_Line_Attenuation) (although I did change the layout some time last year)

Quote
~ What is the difference between Line Attenuation and Signal Attenuation?

Routers that display two sets of attenuation figures are usually reporting the Signal Attenuation and Line Attenuation.   In these cases it can be taken to mean:-

    Line (or Loop) Attenuation is an average of all the tones available for use in the relevant dsl spectrum - regardless of if the tones are in use or not.
    Loop attenuation is calculated during the transceiver training phase of the sync process and is an estimation of the line attenuation averaged through all the upstream or downstream subcarriers.
    Signal Attenuation is monitored and reported as an ongoing process and can sometimes be affected by ongoing changes in line conditions. Calculation is performed as the difference between the power transmitted at the far end and the power received at the near end.
    Signal attenuation is based an average of the frequency bins actually in use


Read more: http://www.kitz.co.uk/adsl/linestats.htm#Signal_v_Line_Attenuation#ixzz34Xng8Wht



During the time when he was asking questions elsewhere, he got practically the same answer from Phil (yarwell) on TBB about SATN.
Yes LATN is measured by the DSLAM during sync process.   SATN is ongoing and will change.  The bitswap process could affect SATN, as well as SNR (which is what triggers changes to bitswap)

When I had a line fault last year my SATN would change - and quite often -  which is why I asked eric if he could put it into dslstats.
Since the fault has been fixed it seldom, if ever, changes - at least not that Ive noticed.

>>> Perhaps the ADSL standard doesn't have dynamic Signal attenuation reporting

My guess would be its more like something to do with the required diagnostic parameters of G.997.1 which which hopefully standardise the reporting of attenuation, rather than the mix-match that we previously had where router A would report attenuation in an entirely different manner than router B.  Thats not to say that some adsl routers may not already report LATN and SATN separately.

I'd be a bit wary of using SATN to gauge crosstalk, because it can be affected by other factors.   Your LATN & SATN figures intrigue me..  I think I commented a couple of months ago that they were odd (iirc I may have said 'nagged at me'), but why they are like that Ive no idea.

FWIW Ive lost near 20Mb from my max headline speed due to crosstalk (although the Zyxel gave me 3.5Mb back) - yet my attenuation figures havent really changed much over the past year.  Both my LATN & SATN were 36.4 in D3, now its 37.0 for both.   I certainly dont see that wide discrepancy that you do.

------
ETA

>> Quite small changes in Signal attenuation (less than 0.5dB) appear to make quite a difference (2 to 3 Mbps) to sync speeds if resyncing when signal attenuation has changed.

I dont know for certain, but could that be more to do with bit your bitloading.   ie signal atten measuring atten from only tones in use?
To know for sure we'd need to see individual attenuation per tone figures - which arent reported :/




Title: Re: Telnet commands to obtain SATN & LATN data
Post by: kitz on June 13, 2014, 08:25:24 PM
PS

Quote
Loop attenuation is calculated during the transceiver training phase of the sync process and is an estimation of the line attenuation averaged through all the upstream or downstream subcarriers.

I should really clarify on that when it comes to VDSL2 - by adding 'bins in each subcarrier band'.
Title: Re: Telnet commands to obtain SATN & LATN data
Post by: konrado5 on June 24, 2014, 01:33:45 PM
I see signal attenuation changes only for upstrem (only after bitswap). For downstream my signal attenuation is always the same as line attenuation. I've seen it also on JDSU, therefore it is normal. I suspect it is caused by fact that router doesn't report upstream power output fluctuations while reports downstrem power output fluctuations.