Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: digitalnemesis on April 20, 2016, 09:39:42 PM

Title: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 20, 2016, 09:39:42 PM
Is it better to unplug the power cable or the RJ11 cable when switching modems?

Wait 30 minutes or more to be safe?
Title: Re: Best way to change modem without DLM intervention?
Post by: William Grimsley on April 20, 2016, 09:49:49 PM
Is it better to unplug the power cable or the RJ11 cable when switching modems?

Wait 30 minutes or more to be safe?

Well, coming from someone who wanted to induce it, you probably won't trust me. :lol:

Anyway, I always power off the modem then switch modems and yes leave it for 30 minutes just incase, though 1 disconnection won't evoke DLM.
Title: Re: Best way to change modem without DLM intervention?
Post by: Weaver on April 20, 2016, 10:50:53 PM
I would say that it is best to pull the power lead. If you only do one reboot then it probably isn't necessary, but otherwise it is a wise idea to wait 30 mins with the modem off, to get over the next 15 min time period boundary.
Title: Re: Best way to change modem without DLM intervention?
Post by: skyeci on April 21, 2016, 05:54:46 AM
Is it better to unplug the power cable or the RJ11 cable when switching modems?

Wait 30 minutes or more to be safe?

Always pull the dsl lead first. Never had an issue that way provided I go with the 31 minute rule.
Title: Re: Best way to change modem without DLM intervention?
Post by: roseway on April 21, 2016, 07:15:05 AM
I have to disagree with the above. If you only do it occasionally it will probably make no difference, but the safest from a DLM point of view is to power down the modem.
Title: Re: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 21, 2016, 08:23:37 AM
I have to disagree with the above. If you only do it occasionally it will probably make no difference, but the safest from a DLM point of view is to power down the modem.

Is there a shutdown command for the HG612?
Title: Re: Best way to change modem without DLM intervention?
Post by: PhilipD on April 21, 2016, 01:34:50 PM
Hi

I have to disagree with the above. If you only do it occasionally it will probably make no difference, but the safest from a DLM point of view is to power down the modem.

Is there a shutdown command for the HG612?

If you can telnet in to a modem and it's Broadcom then:

Code: [Select]
xdslctl connection --down
Feels like a nice way to disconnect, then power down or reboot the modem.  On rebooting or restarting the connection will come back up.

Regards

Phil
Title: Re: Best way to change modem without DLM intervention?
Post by: Dray on April 21, 2016, 01:41:57 PM
No such command as XDSLCTL use XDSLCMD instead
Title: Re: Best way to change modem without DLM intervention?
Post by: ejs on April 21, 2016, 05:11:20 PM
It depends on the modem firmware, it may be called xdslctl on some devices.
Title: Re: Best way to change modem without DLM intervention?
Post by: roseway on April 21, 2016, 06:28:37 PM
There are several different command prefixes, depending on the hardware manufacturer. If you scroll down this page (http://www.s446074245.websitehome.co.uk/configuration.html) you'll see a selection of them.

(Note to self: it's time I updated that in respect of 'routers'.)
Title: Re: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 21, 2016, 07:57:33 PM
Hi

I have to disagree with the above. If you only do it occasionally it will probably make no difference, but the safest from a DLM point of view is to power down the modem.

Is there a shutdown command for the HG612?

If you can telnet in to a modem and it's Broadcom then:

Code: [Select]
xdslctl connection --down
Feels like a nice way to disconnect, then power down or reboot the modem.  On rebooting or restarting the connection will come back up.

Regards

Phil

What does that do exactly? Does it send a last gasp for DLM to pick up?
Title: Re: Best way to change modem without DLM intervention?
Post by: skyeci on April 21, 2016, 08:13:39 PM
Interestingly BT OR engineer was here yesterday. He did not power down the modem. Just removed the dsl lead. In fact he didn't even reboot the modem before plugging it back in or wait 30 mins before resyncing the modem without performing a dlm reset . The result actually resulted in a 1mb increase on the ds  :lol:
Title: Re: Best way to change modem without DLM intervention?
Post by: kitz on April 21, 2016, 10:07:02 PM
DLM itself does not use dying gasp.... 

However I read in some BT doc or other (cant recall for the life of me where) that dying gasp can be used by the ISPs to check that a customer has powered down a modem when told to do so as part of their fault finding process.
Title: Re: Best way to change modem without DLM intervention?
Post by: Black Sheep on April 21, 2016, 10:11:50 PM
I may be wrong ............ but I can't ever recall in all the years of BB faulting, receiving any info from the Chief Engineers Office regarding the 'Dying gasp', and/or unplugging the power first before working on the circuit ?.

I'm not saying whatsoever that it does or doesn't play a part, I'm simply surmising as to the impact of unplugging the DSL lead first as opposed to cutting the power, due to us not receiving any guidance from them above ?? They usually inform us rapido-style if something has been found that would seriously affect the circuit ?  :-\ :-\
Title: Re: Best way to change modem without DLM intervention?
Post by: NewtronStar on April 21, 2016, 10:16:04 PM
We forgot to mention this when you have done a 30 minute power off you must leave the modem on for another 30 minutes before the next power off

This should give you a retrain reason 0 each time if you don't you will see a retain reason 1 which is not good.
Title: Re: Best way to change modem without DLM intervention?
Post by: kitz on April 21, 2016, 10:17:52 PM
Openreach probably doesnt care, if it does not make any difference to the DLM or BT side of things.

Wish I could recall where I saw that ISP's may use it during troubleshooting  :(   :-[
Title: Re: Best way to change modem without DLM intervention?
Post by: kitz on April 21, 2016, 10:27:29 PM
Found something about it.

Is this new as its the first reference I've seen in SIN 498 about this.

Cant find a changelog but earliest ref I can see to SIN498v7p1 appears to be Feb 2016

SIN 498

Quote
Note:  “Dying  gasp”  is  not  a  mandatory  requirement  but  CP’s  are  encouraged  to
implement  this  in  their modems as  it  will  enable  the  Openreach  Test  &  Diagnostic
systems  to  differentiate  between  a  modem  being  turned  off  by  the  end  user
(loss  of power) or a loss of signal (loss of connectivity) caused by a potential network or home
wiring  issue.

This  will  support  CPs  in  their  diagnostic  approach  to  ensure  that  their
End  Users  have  checked the relevant  setup  prior  to  submitting  a  fault  to  Openreach,
thus avoiding a potentially chargeable engineering visit.
Title: Re: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 22, 2016, 09:31:48 AM
That's the one. Spot on!

Cheers love  :D
Title: Re: Best way to change modem without DLM intervention?
Post by: PhilipD on April 22, 2016, 10:51:42 AM
Hi

The 15 minute so waiting 30 minute before reconnecting doesn't matter surely for a few re-syncs in a row.  I've never waited any time before connecting and reconnecting and have made several connections/disconnections with minutes and it's made no difference.

Surely the DLM logic is clever enough to know what interventions are required based on error rates only?  If a plug is pulled so all VDSL signal is completely lost (or power turned off), surely it would know by a complete absence of signal that no matter what intervention it could apply in the way of interleaving, G.INP, banded profiles etc it isn't going to allow the VDSL signal to jump through the air and find it's way back into the RJ11 plug laying by the socket disconnected?  They must have something in place to know the lead has been pulled or power turned off and for that to be ignored by the DLM?

Is this an urban type myth thing, the 15 minute window, or do we know it really exists?  It sounds like something that would be a stupid thing if it was true.

Regards

Phil

Title: Re: Best way to change modem without DLM intervention?
Post by: William Grimsley on April 22, 2016, 10:56:35 AM
Hi Phil,

If you do 20 connections or more within 24 hours, DLM will then take action.
Title: Re: Best way to change modem without DLM intervention?
Post by: kitz on April 22, 2016, 05:00:57 PM
@PhilipD

I can guarantee that BT's use of 15 min bins to detect unforced retrains for DLM is absolutely true.

Theres more info about how DLM decides what is and what isnt an unforced retrain here, and how it uses the 15 min bins here:
DLM process - Detection of sync events (http://www.kitz.co.uk/adsl/DLM.htm#dlm_sync_events)  &
DLM process - Check for Unforced Retrains (http://www.kitz.co.uk/adsl/DLM.htm#unforced_retrains)

DLM uses the MTBR calculation to decide whether to take action on what it decides as too many unforced retrains.  MTBR = uptime/no of unforced retrains.

You are correct that it will ignore 'x' amounts of retrains per day.   'x' depends upon your days uptime and the stability level set by your ISP.

Title: Re: Best way to change modem without DLM intervention?
Post by: Chrysalis on April 23, 2016, 09:19:39 AM
yeah I got no doubt about the 15 min bin's.

Nice find on the dying gasp thing, I will continue to always pull power, and leave for 31mins+ process.
Title: Re: Best way to change modem without DLM intervention?
Post by: MrBelter on April 23, 2016, 10:52:08 AM
I have always swapped modems and modem/routers as and when i have liked even when i was on normal ADSL, i have never bothered waiting any time and i have never had any problems with the DLM playing up, i just don't think i'm doing it enough times in one to day to matter.
Title: Re: Best way to change modem without DLM intervention?
Post by: kitz on April 23, 2016, 11:10:22 AM
>> Nice find on the dying gasp thing,

Im sure Ive read SIN 498 numerous times and not spotted that paragraph before. 
I was trying to find a change-log to see the data of change and what they changed, but there didn't appear to be one.
The only thing I could find from a quick scan is that the first reference to SIN498v7p1 was Feb this year.

A search on that paragraph only pulls up SIN498v7p1, but that in itself isn't conclusive evidence that is when they added it. 

 
Title: Re: Best way to change modem without DLM intervention?
Post by: ejs on April 23, 2016, 11:35:44 AM
The change log for BT SIN 498 is in the SIN document itself, before the long annexes with the test procedures. It says it was added in v5 dated June 2013, which is the oldest version I have a copy of. The paragraph about dying gasp is in the Ethernet OAM section, the optional requirement to support dying gasp is R.OAM.4, perhaps it has seen little attention because most people concentrate on the VDSL2 requirements section.
Title: Re: Best way to change modem without DLM intervention?
Post by: kitz on April 24, 2016, 03:44:42 PM
Thanks ejs.
Title: Re: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 30, 2016, 10:36:23 AM
xdslcmd connection --down

works on HG612 after sh

Title: Re: Best way to change modem without DLM intervention?
Post by: roseway on April 30, 2016, 11:25:59 AM
On the HG612 the commands begin with 'xdslcmd', so 'xdslcmd connection --down' should work. Sorry if you know this perfectly well, but you do have to enter 'sh' at the ATP> prompt to get to the Busybox shell where you enter the xdslcmd commands.
Title: Re: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 30, 2016, 12:56:42 PM
We forgot to mention this when you have done a 30 minute power off you must leave the modem on for another 30 minutes before the next power off

This should give you a retrain reason 0 each time if you don't you will see a retain reason 1 which is not good.

What's the difference between retrain reason 0 and 1?
Title: Re: Best way to change modem without DLM intervention?
Post by: digitalnemesis on April 30, 2016, 06:37:35 PM
On the HG612 the commands begin with 'xdslcmd', so 'xdslcmd connection --down' should work. Sorry if you know this perfectly well, but you do have to enter 'sh' at the ATP> prompt to get to the Busybox shell where you enter the xdslcmd commands.

Thanks, I forgot to do that.  :lol: