01-13-2017 09:30 AM - edited 03-05-2019 07:50 AM
Hi Experts,
doeas anybody know if it is possible to limit the line rate of an ADSL line ?
What I need is to establish an upper limit to the "speed" negotiated between router (C887VA-K9) and DSLAM. Any idea ?
Thanks in advance,
enrico
Solved! Go to Solution.
01-13-2017 10:41 AM
Enrico,
try a simple policy on the dialer interface:
class-map match-all LIMIT_ADSL
match any
!
policy-map BW_LIMIT
class LIMIT_ADSL
police 10000 conform-action transmit exceed-action drop
!
interface Dialer1
service-policy output BW_LIMIT
01-14-2017 12:52 AM
Hello,
I googled around...there seems to be a hidden command which lets you set the noise margin and hence indirectly influence the speed, the idea being that the higher the noise margin, the slower the speed:
service internal
int atm 0
dsl noise-margin (a value between -3 and 3)
I don't want to plagiarize, so here is the link to the article:
http://wiki.mundy.co/Cisco_Logging,_Debugging_and_ADSL_Troubleshooting#CISCO_877_SNR_Adjustment
01-13-2017 10:41 AM
Enrico,
try a simple policy on the dialer interface:
class-map match-all LIMIT_ADSL
match any
!
policy-map BW_LIMIT
class LIMIT_ADSL
police 10000 conform-action transmit exceed-action drop
!
interface Dialer1
service-policy output BW_LIMIT
01-13-2017 01:29 PM
Hello
When "upper limit" do you mean the negotiated committed interface rate (CIR) you have agreed with your ISP.?
If so,I would suggest to shape rather then police outbound on your wan link if you think you may over utilise your rate limit.
Policing is more severe and would begin to drop packets when they reach there defined limit as such you would see more of an uneven connection as you would if you used shaping.
Shaping "buffers" it excess packets unitl the next tc interval ( this is a time interval when each burst of traffic can be sent) thus over a average time (1000ms-1sec) you should get the CIR rate you have specified and with that a much smoother connection than policing would offer but the down side is probably more latency due to the queuing of these excess packets.
The reason why shaping is in an outbound direction is, you have not control over the traffic being forwarded to you, as by the time it has reached you it already traversed the wan link.
Policing is preferable Inbound from you LAN interfaces as such when packets dont conform to your policing limits they can be remarked instead of dropped and these remarked packets can then be placed in a less preferred shape class prior to being forwarded out on the wan link>
Fair queuing can then be applied so packets would get some degree of fairness wan leaving the wan link as apposed to the default FIFO queuing method (FIrst In First Out) which doesn't provided this fairness thus less preferred class packets can be staved of bandwidth.
res
Paul
01-14-2017 12:33 AM
Hi Paul, Hi gpauwen
first of all thank you both for your replies. My goal isn't to shape or police the traffic but limit the physical line rate. What I mean is to limit the data line rate negotiated between ADSL card and DSLAM ("ADSL training"). As you know ADSL can use different "speed" based on line quality in term of S/N ratio and attenuation margin.
I'm deploying a new network with 250 branches with primary and backup lines. Most of these lines are ADSL. In many area of my country copper lines are old so they are effected by two kind of problems: cross talking and "low isolation" (not sure of this translation: I'm mean the electrical isolation is bad, so in case of rain or bad whether, electrical signal degrades and become very low and full of errors). Due to the spotty nature of this problems you can deploy a branch with a high speed line but later it can suddenly degrade causing line failure. My goal is to lower the speed because lower speed garantee a higher availability of lines.
What I need to limit is the following parameter:
......#show control vdsl 0 | i Noise Margin|Attenuation|DS Channel|Speed
Line Attenuation: 16.5 dB 9.9 dB
Signal Attenuation: 16.5 dB 9.8 dB
Noise Margin: 19.8 dB 16.5 dB
DS Channel1 DS Channel0 US Channel1 US Channel0
Speed (kbps): 0 11998 0 999
Previous Speed: 0 11998 0 999
Obviously I will also shape traffic to the negotiated line rate but first of all I need to limit the line. Any idea or suggestion ?
Thanks
enrico
01-14-2017 12:52 AM
Hello,
I googled around...there seems to be a hidden command which lets you set the noise margin and hence indirectly influence the speed, the idea being that the higher the noise margin, the slower the speed:
service internal
int atm 0
dsl noise-margin (a value between -3 and 3)
I don't want to plagiarize, so here is the link to the article:
http://wiki.mundy.co/Cisco_Logging,_Debugging_and_ADSL_Troubleshooting#CISCO_877_SNR_Adjustment
01-14-2017 06:20 AM
Great gpauwen,
that's what I need, thx so much.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide