Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: bndwdthseekr on April 02, 2019, 09:19:21 PM

Title: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 02, 2019, 09:19:21 PM
I'm trying to get dsl stats to grab info from my cisco ISR with a VA-DSL-A modem card. Not sure if I'm missing something, but I haven't been able to get anything yet, accept custom commands showing in the log.

Below, you can see what my output looks like... any ideas? Is my line any good?  :) hoping for some of that sweet SWEET vdsl2, or atleast adsl2+ soon.

Also, is there a reason I don't see more people here with cisco hardware? I have been very pleased with this card, zero errors on my line now! Of course the shielded/grounded cat5e coming straight from the outdoor splitter/NID to the modem doesn't hurt... there's something to be said about properly terminating your shielded cable and plugging directly into the modem instead of stacking more connectors from a wall plug ;D

Code: [Select]
show controll vdsl 0/0/0 bit-alloc
Controller VDSL 0/0/0 is UP

Daemon Status: Up

XTU-R (DS) XTU-C (US)
Chip Vendor ID: 'BDCM' 'IFTN'
Chip Vendor Specific:   0x0000 0x71B0
Chip Vendor Country:    0xB500 0xB500
Modem Vendor ID: 'CSCO' '    '
Modem Vendor Specific:  0x4602 0x0000
Modem Vendor Country:   0xB500 0x0000
Serial Number Near:    xxxxxxxxxxx 2911/K9 15.7(3)M3
Serial Number Far:     
Modem Version Near:    15.7(3)M3
Modem Version Far:     0x71b0

Modem Status: TC Sync (Showtime!)

DSL Config Mode: AUTO
Trained Mode: G.992.1 (ADSL) Annex A
TC Mode: ATM
Selftest Result: 0x00
DELT configuration: enabled
DELT state: successful

Full inits: 1
Failed full inits: 0
Short inits: 0
Failed short inits: 1

-----------------cut firmware info

Modem FW  Version: 4.14L.04A
Modem PHY Version: A2pv6C039m.d24o_rc1
Trellis: ON   ON
SRA: enabled enabled
 SRA count: 1 1
Bit swap: enabled enabled
 Bit swap count: 0 331
Line Attenuation: 25.0 dB 14.0 dB
Signal Attenuation: 25.0 dB   0.0 dB
Noise Margin: 20.1 dB 17.0 dB
Attainable Rate: 10492 kbits/s 1356 kbits/s
Actual Power: 19.8 dBm 11.1 dBm
Total FECC: 0 0
Total ES: 0 0
Total SES: 0 0
Total LOSS: 0 0
Total UAS: 28 28
Total LPRS: 0 0
Total LOFS: 0 0
Total LOLS: 0 0


    DS Channel1   DS Channel0 US Channel1   US Channel0
Speed (kbps):           0         6944          0         1024
SRA Previous Speed:       0            0          0            0
Previous Speed:           0            0          0            0
Total Cells:           0    514079332          0            0
User Cells:           0     85138245          0            0
Reed-Solomon EC:          0            0          0            0
CRC Errors:           0            0          0            0
Header Errors:           0            0          0            0
Interleave (ms):       0.00         0.25       0.00         0.25
Actual INP:        0.00         0.00       0.00         0.00

Training Log : Stopped
Training Log Filename : usbflash0:ciscoext/DSLtrainlog


*****************************
* Subcarrier Bit Allocation *
*****************************


Downstream Subcarrier Bit Allocation --

measured data = 256, num_data = 256
0000 00 00 00 00 00 00 06 05 06 08 09 0A 0B 0B 0C 0C
0010 0C 0D 0D 0D 0D 0D 0C 0D 0C 0D 0B 0B 0B 0B 0A 0A
0020 00 00 02 02 02 02 03 03 03 04 04 05 05 05 05 06
0030 06 07 07 08 08 09 09 09 0A 0A 0A 0A 0A 0B 0A 0B
0040 00 0B 0B 0B 0B 0B 0B 0A 0B 0B 0B 0B 0B 0B 0B 0B
0050 0B 0B 0B 0B 0B 0B 0B 0B 0A 0A 0A 0A 0A 0B 0A 0A
0060 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A
0070 0A 0A 09 0A 0A 0A 0A 0A 09 09 0A 0A 0A 0A 09 09
0080 09 09 09 09 09 09 09 09 09 09 0A 09 09 0A 02 09
0090 09 09 08 09 09 09 09 09 09 09 09 09 09 09 09 09
00A0 08 08 09 09 08 09 09 09 09 09 09 09 09 09 09 08
00B0 09 09 08 08 08 08 09 09 09 09 09 08 08 08 08 08
00C0 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
00D0 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
00E0 08 08 08 07 08 07 07 07 07 07 07 07 07 07 07 07
00F0 07 07 07 07 07 06 06 06 06 05 05 05 04 04 03 00

BFR#show version | s uptime
BFR uptime is 8 hours, 45 minutes
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: roseway on April 03, 2019, 11:02:18 AM
I'm sorry, but I know absolutely nothing about the equipment you mention. It doesn't appear to have a Broadcom DSL chipset, in which case it wouldn't be possible to make DSLstats work with it.
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 03, 2019, 02:03:21 PM
Chip Vendor ID:      'BDCM'

looks like broadcom to me... I happen to know that the modem contains a broadcom bmips4350 chip. Doesn't DSLstats pull the info directly from the console anyway? is there a way I can specify which line each parameter appears on?
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: kitz on April 03, 2019, 02:06:04 PM
Code: [Select]
XTU-R (DS) XTU-C (US)
This ^ could be slightly confusing as XTU-R is remote (modem)  XTU-C is central office (dslam). 
The (DS) & (US) is reverse of what we would usually expect to see.

The  EHWIC-VA-DSL-A is "based on the Broadcom chipset" although it doesn't say which particular one.
I suspect it's using Cisco custom f/w in a similar way to what TP-link does, so that the standard BCM commands may not be available...  thus limited information what you can get using DSLstats. 


Ref (https://aproductiveday.wordpress.com/2013/09/12/cisco-dsl-wics-and-firmwares/)
Quote
EHWIC-VA-DSL-A (supporting multimode ADSL2/ADSL2+/VDSL technologies based on the Broadcom chipset):

Download firmware from – http://software.cisco.com/download/navigator.html                         

Title: Re: DSLstats 6.5 with cisco hardware?
Post by: kitz on April 03, 2019, 02:12:48 PM
Chip Vendor ID:      'BDCM'

looks like broadcom to me... I happen to know that the modem contains a broadcom bmips4350 chip. Doesn't DSLstats pull the info directly from the console anyway? is there a way I can specify which line each parameter appears on?


Our posts crossed.   I was typing my reply as you posted yours.

DSLstats uses the standard BCM CLI commands to get information.   
However, some manufacturers make their own custom f/w with their own custom commands.   TP-link do this with all/most of their modems, which unfortunately stops DLSstats from being able to get all the data it needs :(
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 03, 2019, 02:42:47 PM
ahh, thanks for clearing that up  :D

I am using ADSLmonitor and am able to grab stats from any command by specifying line number... its a shame I can't do the same with DSLstats... hopefully next release I can, I don't really care about setting transmit power or anything as I can do that manually.

Here's a snip of the modem card console log:
Code: [Select]
************************************
* VDSL Chipset Console Log (size - 38784 bytes)*
************************************
Linux version 3.4.11-rt19 (ragvasud@bgl-ads-1344) (gcc version 4.6.2 (Buildroot 2011.11) ) #2 SMP PREEMPT Fri Feb 3 10:55:28 IST 20    17


*** NVRAM Setup  ***


96368VVW prom init

CPU revision is: 0002a031 (Broadcom BMIPS4350)


anyway this is what I'm using, and how I have it hooked in to the service


(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Foi65.tinypic.com%2F2q00l7c.jpg&hash=a57a3c8202dd52d0f7c258f3f75b1e01f99044fe)
(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Foi63.tinypic.com%2F120tbol.jpg&hash=cad0a4918efc30dd2d67afb1a13ddc97939345b2)
(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Foi64.tinypic.com%2F2gx19b6.jpg&hash=649c73dcd389c88b5b55e54931eab7f46b6caf6e)
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: burakkucat on April 03, 2019, 10:01:26 PM
Interesting pictures (and maps) will always attract the attention of a curious kitteh!  :D 

I have to ask the two questions: Am I right to say that you are not located in the UK? And, if you won't mind disclosing the information, who is your service provider, please?

From the Cisco CLI via the console, are you able to drop back to an underlying (Busybox) shell? If yes, take a look to see if there is a command like "xdslcmd",  "xdslctl" or similar available.
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 04, 2019, 02:51:33 AM
Nope not in the UK, I'm across the pond  ;D and the provider (for everyone who isn't a moderator here and already looked it up) is Frontier. lol I'm not scared...

maps? ???

As for the avaliable commands... There's no access to to the modem console that I know of, except for a few things in the cisco config. in my first post you can see the output for 'sh controller vdsl 0/0/0' which should provide all the info needed for the graphing in  DSLstats

Next time I power the system off for something, Ill pull out the modem and check for a serial header, although I doubt cisco left me any
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: roseway on April 04, 2019, 07:22:40 AM
It's true that the output of the command which you showed in your first post seems to provide enough information for some useful graphs. However this would require a substantial rewrite of the parsing code in DSLstats, and I'm sorry to tell you that this isn't going to be possible. The time I spend in front of a screen is very limited by an eyesight difficulty, so I can't undertake anything more than minor tweaking.
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 04, 2019, 10:14:15 AM
aww too bad! I think ADSL monitor only goes up to 1,104khz and doesn't have the nice graphing or http server, not to mention the linux support...

On the up side, it sounds like I'm getting bumped up to ADSL2+ soon how much bandwidth do you all think I can expect with my stats? Are there any disadvantage besides loosing a couple mbps on the down side if I can convince the company to put me on annex M?


(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Foi67.tinypic.com%2Frt1dtt.jpg&hash=60165c004824d69cb30cd15c6baa6fbcd161ea3f)
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: jelv on April 04, 2019, 11:15:38 AM
I'd wait and see what you get on ADSL2+ before considering Annex M.
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 04, 2019, 03:36:17 PM
It's true that the output of the command which you showed in your first post seems to provide enough information for some useful graphs. However this would require a substantial rewrite of the parsing code in DSLstats, and I'm sorry to tell you that this isn't going to be possible. The time I spend in front of a screen is very limited by an eyesight difficulty, so I can't undertake anything more than minor tweaking.

Any chance you could get me the complete modem status layout that works? I could probably filter the output and make it work that way.
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: jelv on April 04, 2019, 03:57:53 PM
Here are dumps of the telnet data from my modem.

I've truncated some of the lists where it goes up to the tones in use as it bust the maximum message size on here.

Code: [Select]
xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 24947 Kbps, Downstream rate = 86484 Kbps
Bearer: 0, Upstream rate = 19999 Kbps, Downstream rate = 79999 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Link Power State: L0
Mode: VDSL2 Annex B
VDSL2 Profile: Profile 17a
TPS-TC: PTM Mode(0x0)
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 7.7 15.1
Attn(dB): 9.1 0.0
Pwr(dBm): 12.8 -6.5
VDSL2 framing
Bearer 0
MSGc: -6 26
B: 130 237
M: 1 1
T: 0 42
R: 8 16
S: 0.0518 0.3781
L: 21468 5374
D: 16 1
I: 139 127
N: 139 254
Q: 16 0
V: 14 0
RxQueue: 60 0
TxQueue: 20 0
G.INP Framing: 18 0
G.INP lookback: 20 0
RRC bits: 0 24
Bearer 1
MSGc: 186 -6
B: 0 0
M: 2 0
T: 2 0
R: 16 0
S: 5.3333 0.0000
L: 48 0
D: 3 0
I: 32 0
N: 32 0
Q: 0 0
V: 0 0
RxQueue: 0 0
TxQueue: 0 0
G.INP Framing: 0 0
G.INP lookback: 0 0
RRC bits: 0 0
Counters
Bearer 0
OHF: 0 3686622
OHFErr: 13 3389
RS: 3143412880 1895708
RSCorr: 196432 20635
RSUnCorr: 0 0
Bearer 1
OHF: 155492855 0
OHFErr: 0 0
RS: 1865913525 0
RSCorr: 13 0
RSUnCorr: 0 0

Retransmit Counters
rtx_tx: 7204155 0
rtx_c: 10876 0
rtx_uc: 15 0

G.INP Counters
LEFTRS: 131 0
minEFTR: 79999 0
errFreeBits: 3047634521 0

Bearer 0
HEC: 0 0
OCD: 0 0
LCD: 0 0
Total Cells: 1991463197 0
Data Cells: 1141327291 0
Drop Cells: 0
Bit Errors: 0 0

Bearer 1
HEC: 0 0
OCD: 0 0
LCD: 0 0
Total Cells: 0 0
Data Cells: 0 0
Drop Cells: 0
Bit Errors: 0 0

ES: 8 2957
SES: 0 0
UAS: 28 28
AS: 2497659

Bearer 0
INP: 48.00 0.00
INPRein: 0.00 0.00
delay: 0 0
PER: 0.00 3.98
OR: 0.01 64.22
AgR: 80614.82 20063.54

Bearer 1
INP: 4.00 0.00
INPRein: 4.00 0.00
delay: 3 0
PER: 16.06 0.01
OR: 95.62 0.01
AgR: 95.62 0.01

Bitswap: 261989/261999 7878/7878

Total time = 1 days 21 hours 48 min 7 sec
FEC: 196432 20635
CRC: 13 3389
ES: 8 2957
SES: 0 0
UAS: 28 28
LOS: 0 0
LOF: 0 0
LOM: 0 0
Latest 15 minutes time = 3 min 7 sec
FEC: 0 5
CRC: 0 1
ES: 0 1
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Previous 15 minutes time = 15 min 0 sec
FEC: 40 60
CRC: 0 6
ES: 0 4
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Latest 1 day time = 21 hours 48 min 7 sec
FEC: 3114 452
CRC: 0 109
ES: 0 98
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Previous 1 day time = 24 hours 0 sec
FEC: 3027 480
CRC: 0 98
ES: 0 90
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Since Link time = 28 days 21 hours 47 min 39 sec
FEC: 196432 20635
CRC: 13 3389
ES: 8 2957
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
#

Code: [Select]
xdslcmd info --Bits
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 24892 Kbps, Downstream rate = 86484 Kbps
Bearer: 0, Upstream rate = 19999 Kbps, Downstream rate = 79999 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Tone number      Bit Allocation
   0 0
   1 0
   2 0
   3 0
   4 0
   5 0
   6 0
   7 4
   8 6
   9 7
   10 8
   11 9
   12 10
   13 10
   14 11
   15 11
   16 11
   17 11
   18 10
   19 10
   20 10
   21 11
   22 10
   23 10
   24 10
   25 10
...
(goes up to tone 4095 on VDSL)
#

Code: [Select]
xdslcmd info --pbParams
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 24892 Kbps, Downstream rate = 86484 Kbps
Bearer: 0, Upstream rate = 19999 Kbps, Downstream rate = 79999 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Discovery Phase (Initial) Band Plan
US: (7,32) (871,1205) (1972,2782)
DS: (33,859) (1216,1961) (2793,3959)
Medley Phase (Final) Band Plan
US: (7,32) (871,1205) (1972,2782)
DS: (33,859) (1216,1961) (2793,3959)
  VDSL Port Details   Upstream   Downstream
Attainable Net Data Rate:     24892 kbps     86484 kbps
Actual Aggregate Tx Power:    -   6.5 dBm      12.8 dBm
====================================================================================
  VDSL Band Status U0 U1 U2 U3 U4 D1 D2 D3
  Line Attenuation(dB): 3.8 10.2 13.7 N/A N/A 5.1 11.2 17.1
Signal Attenuation(dB): 3.8 9.7 12.9 N/A N/A 5.9 11.1 17.1
        SNR Margin(dB): 15.0 15.1 15.1 N/A N/A 7.7 7.7 7.7
         TX Power(dBm): -20.6 -33.0 -6.7 N/A N/A 9.1 7.7 7.0
#

Code: [Select]
xdslcmd info --QLN
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 24995 Kbps, Downstream rate = 86484 Kbps
Bearer: 0, Upstream rate = 19999 Kbps, Downstream rate = 79999 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Tone number      QLN
   0 -160.0000
   1 -160.0000
   2 -160.0000
   3 -160.0000
   4 -160.0000
   5 -160.0000
   6 -160.0000
   7 -160.0000
   8 -120.0000
   9 -120.0000
   10 -120.0000
   11 -120.0000
   12 -120.0000
   13 -120.0000
   14 -120.0000
   15 -120.0000
   16 -121.0000
   17 -121.0000
   18 -121.0000
   19 -121.0000
   20 -121.0000
   21 -121.0000
   22 -121.0000
   23 -121.0000
   24 -118.5000
   25 -118.5000
...
(goes up to tone 4095 on VDSL)
#

Code: [Select]
xdslcmd info --Hlog
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 24995 Kbps, Downstream rate = 86484 Kbps
Bearer: 0, Upstream rate = 19999 Kbps, Downstream rate = 79999 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Tone number      Hlog
   0 -96.0000
   1 -96.0000
   2 -96.0000
   3 -96.0000
   4 -96.0000
   5 -96.0000
   6 -96.0000
   7 -96.2500
   8 -7.5000
   9 -7.5000
   10 -7.5000
   11 -7.5000
   12 -7.5000
   13 -7.5000
   14 -7.5000
   15 -7.5000
   16 -3.5625
   17 -3.5625
   18 -3.5625
   19 -3.5625
   20 -3.5625
   21 -3.5625
   22 -3.5625
   23 -3.5625
   24 -3.1875
   25 -3.1875
...
(goes up to tone 4095 on VDSL)
#

Code: [Select]
xdslcmd info --SNR
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 25055 Kbps, Downstream rate = 86484 Kbps
Bearer: 0, Upstream rate = 19999 Kbps, Downstream rate = 79999 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Tone number      SNR
   0 0.0000
   1 0.0000
   2 0.0000
   3 0.0000
   4 0.0000
   5 0.0000
   6 0.0000
   7 0.0000
   8 29.0000
   9 29.0000
   10 29.0000
   11 29.0000
   12 29.0000
   13 29.0000
   14 29.0000
   15 29.0000
   16 44.0000
   17 44.0000
   18 44.0000
   19 44.0000
   20 44.0000
   21 44.0000
   22 44.0000
   23 44.0000
   24 43.5000
   25 43.5000
...
(goes up to tone 4095 on VDSL)
#
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 05, 2019, 12:21:17 PM
Well... a little FYI to noobs like me who are using this hardware in the future... the following command allows direct console access to the card!

Code: [Select]
test vdsl 0/0/0 modem exec
I feel kinda dumb now....  :D atleast I found it though, right? I knew there had to be a way, but cisco doesn't make these types of things easy to google... NOT AT ALL!

I'm not even sure if cisco wants me posting this publicly as hard as it was to find lol, but jezus... I thought this was a cut down version, guess not!

Code: [Select]
The output of the command is :
adsl
adslctl
ash
bash
bcm_boot_launcher
bftpd
bpm
bpmctl
brctl
busybox
cat
chmod
consoled
cp
date
df
dhcpc
dhcpd
dsldiagd
dslmgmt
dumpmem
ebtables
echo
ethctl
ethswctl
false
gdbserver
ippd
iptables
kill
ln
ls
mkdir
mknod
mount
ping
pppd
ps
pwd
pwr
pwrctl
rm
send_cms_msg
setmem
sh
sleep
smd
sshd
ssk
swmdk
sync
telnetd
true
udhcpd
umount
xdslctl
xtables-multi
xtm
xtmctl


BFR#test vdsl 0/0/0 modem exec /bin/adsl
The output of the command is :
Usage: /bin/adsl start [--up] <configure command options>
       /bin/adsl stop
       /bin/adsl connection [--up] [--down] [--loopback] [--reverb]
           [--medley] [--noretrain] [--L3] [--diagmode] [--L0]
           [--tones <r1-r2,r3-r4,...>] [--normal] [--freezeReverb] [--freezeMedley]
       /bin/adsl configure/configure1 [--mod <a|d|l|t|2|p|e|m|M3|M5|v>] [--lpair <(i)nner|(o)uter>]
           [--trellis <on|off>] [--snr <snrQ4>] [--bitswap <on|off>] [--sesdrop <on|off>]
           [--sra <on|off>] [--CoMinMgn <on|off>] [--i24k <on|off>] [--phyReXmt <0xBitMap-UsDs>]
           [--Ginp <0xBitMap-UsDs>] [--TpsTc <0xBitMap-AvPvAaPa>] [--monitorTone <on|off>]
           [--profile <0x00 - 0xFF>|<"8a |8b |8c |8d |12a |12b |17a |30a">] [--us0 <on|off>]
           [--dynamicD <on|off>] [--dynamicF <on|off>] [--SOS <on|off>] [--maxDataRate <maxDsDataRateKbps maxUsDataRateKbps maxAggrDataRateKbps>]
           [--forceJ43 <on|off>] [--toggleJ43B43 <on|off>]
       /bin/adsl bert [--start <#seconds>] [--stop] [--show]
       /bin/adsl afelb [--time <sec>] [--tones] [--signal <1/2/8>]
       /bin/adsl qlnmntr [--time <sec>] [--freq <msec>]
       /bin/adsl inm [--start <INMIATO> <INMIATS><INMCC><INM_INPEQ_MODE><INM_INPEQ_FORMAT>] [--show]
       /bin/adsl snrclamp [--shape <shapeId>] [--bpshape [bpIndex-bpLevel,]]
       /bin/adsl nlnm [--show ] [--setThld <Thld_Num_Tones>]
       /bin/adsl diag [--logstart <nBytes>] [--logpause] [--logstop] [--loguntilbufferfull <nBytes>] [--loguntilretrain <nBytes>] [--dumpBuf <sizeKb>]
       /bin/adsl info [--state] [--show] [--stats] [--SNR] [--QLN] [--Hlog] [--Hlin] [--HlinS] [--Bits]
           [--pbParams] [--linediag] [--linediag1] [--reset] [--vendor] [--cfg]
       /bin/adsl profile [--show] [--save] [--restore]
       /bin/adsl --version
       /bin/adsl --help
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: krypton on April 05, 2019, 06:05:41 PM
And the most important question: Did you get DSLstats running?
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 05, 2019, 09:00:40 PM
sort of, something is causing to crash shortly after I start monitoring. Any ideas what could cause that to happen? I'm going to disable everything under 'items to monitor' and enable things one at a time to see if I can narrow it down.

Edit* seems to work great on the linux version, would like to have it working on the windows version though, so I'm for sure willing to help debug
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: burakkucat on April 05, 2019, 09:54:42 PM
An excellent result has been achieved.  :)
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 06, 2019, 02:59:46 AM
Is there a way to set a command prefix for traffic? It issues the command '/sbin/ifconfig' and I need to use 'test vdsl 0/0/0 modem exec' as the prefix. Is there a global prefix setting that I missed?

*edit* I created an alias for that command.... so problem solved.
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: bndwdthseekr on April 29, 2019, 04:48:49 PM
gdslstats.3utilities.com/index.htm

Here's my realtime stats take it easy on that please^ :)

as I posted in the other thread.... this is what I get when they enabled some kind of ADSL2+ for a second while working on the equipment:
Code: [Select]
BFR#sh control vdsl 0/0/0
Controller VDSL 0/0/0 is UP
 
Daemon Status:           Up
 
                        XTU-R (DS)              XTU-C (US)
Chip Vendor ID:         'BDCM'                   'IFTN'
Chip Vendor Specific:   0x0000                   0x71B0
Chip Vendor Country:    0xB500                   0xB500
Modem Vendor ID:        'CSCO'                   '    '
Modem Vendor Specific:  0x4602                   0x0000
Modem Vendor Country:   0xB500                   0x0000
Serial Number Near:    xxxxxxxxxxx 2911/K9 15.7(3)M3
Serial Number Far:
Modem Version Near:    15.7(3)M3
Modem Version Far:     0x71b0
 
Modem Status:            TC Sync (Showtime!)
 
DSL Config Mode:         AUTO
Trained Mode:   G.992.5 (ADSL2+) Annex A
TC Mode:                 ATM
Selftest Result:         0x00
DELT configuration:      enabled
DELT state:              successful
 
Full inits:             5
Failed full inits:      1
Short inits:            1
Failed short inits:     0
 
Firmware        Source          File Name
--------        ------          ----------
VDSL            user config     flash0:23mar2017_39m_B_38u_24o_rc1_sdk_4.14l.04a-j.bin
 
Modem FW  Version:      4.14L.04A
Modem PHY Version:      A2pv6C039m.d24o_rc1
Trellis:                 ON                       ON
SRA:                     disabled                disabled
 SRA count:              0                       0
Bit swap:                enabled                 enabled
 Bit swap count:         0                       165
Line Attenuation:        27.5 dB                 14.3 dB
Signal Attenuation:      26.9 dB                 14.4 dB
Noise Margin:            22.3 dB                 23.8 dB
Attainable Rate:        13672 kbits/s            1412 kbits/s
Actual Power:             0.0 dBm                10.9 dBm
Total FECC:             0                        0
Total ES:               13                       0
Total SES:              11                       0
Total LOSS:             1                        0
Total UAS:              1253                     1242
Total LPRS:             0                        0
Total LOFS:             9                        0
Total LOLS:             0                        0
 
                  DS Channel1     DS Channel0   US Channel1       US Channel0
Speed (kbps):             0             8159             0               891
SRA Previous Speed:       0                0             0                 0
Previous Speed:           0             6944             0              1024
Total Cells:              0          4280374             0            457941
User Cells:               0                0             0               256
Reed-Solomon EC:          0                0             0                 0
CRC Errors:               0              447             0                 0
Header Errors:            0                0             0                 0
Interleave (ms):       0.00             0.24          0.00              0.24
Actual INP:            0.00             0.00          0.00              0.00
 
Training Log :  Stopped
Training Log Filename : usbflash0:ciscoext/DSLtrainlog
 
BFR#

I would hope to get a little closer to 15 on a single line... but for anyone who reads this thread in the future, this is where I'm at.... back to my prevously posted stats, and the company states that if they enable more speed for me it will "cause a negative experience for other customers" even though its FTTC
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: burakkucat on April 29, 2019, 05:11:42 PM
Quote
Attainable Rate:        13672 kbits/s            1412 kbits/s

So a synchronisation rate of 13.6 Mbps DS & 1.4 Mbps US would be the absolute maximum across the metallic pathway between the cabinet DSLAM and your Cisco modem with Frontier's current deployment . . . if they were to allow it. They are clearly limited by the bandwidth over the fibre backhaul (the cabinet DSLAM to the CO OLT) and share it out by restricting their end users to ADSL/ADSL2.  :(
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: Silverback on July 26, 2020, 01:05:21 AM
Forgive me for dredging this one up.

This command does not work on the 887 with IOS 15.

I'm searching for a way to show the Broadcom chipset stats via the Cisco IOS.

I'm aware of 'sh controller VDSL 0' but it does not show the retransmit or G.INP stats and other like the xdslctl and xdslcmd commands do other Broadcom routers.

Does anybody know of a way to interrogate the chipset directly from the IOS CLI?
Title: Re: DSLstats 6.5 with cisco hardware?
Post by: Silverback on July 26, 2020, 03:14:44 PM
Ah, Silly me.  Needed Service Internal enabled first :)