<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">You're welcome.<br><br>Slight correction, you would need to use the correct AVPair to apply the policy INBOUND. The one I gave below was for outbound policy. The one to use for inbound is:<br><br>cisco-avpair = "ip:sub-qos-policy-in=in-policy-name"<br><br>Here is some reading if you wish:<br>http://www.cisco.com/en/US/docs/ios/12_4t/12_4t2/htipmaaa.html<br><br>I'd suggest you try the solution from Arie first. It appears much simpler/easier and so is less likely to cause pain for you if you're not worried about doing it for all users.<br><br><br><br>regards,<br>Tony.<br><br><br>--- On <b>Thu, 2/9/10, Andy Saykao <i><andy.saykao@staff.netspace.net.au></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Andy Saykao <andy.saykao@staff.netspace.net.au><br>Subject: RE: [cisco-bba]
How to reset DSCP/TOS on LNS?<br>To: "Tony" <td_miles@yahoo.com>, cisco-bba@puck.nether.net, "Arie Vayner" <ariev@vayner.net><br>Received: Thursday, 2 September, 2010, 6:41 PM<br><br><div id="yiv1384751221">
<div dir="ltr" align="left"><span class="yiv1384751221735034108-02092010"><font color="#0000ff" face="Calibri">Many thanks to Tony and Arie...and Jason
too...</font></span></div>
<div dir="ltr" align="left"><span class="yiv1384751221735034108-02092010"><font color="#0000ff" face="Calibri"></font></span> </div>
<div dir="ltr" align="left"><span class="yiv1384751221735034108-02092010"><font color="#0000ff" face="Calibri">Will definitely give it a shot.</font></span></div><br>
<div class="yiv1384751221OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Tony [mailto:td_miles@yahoo.com]
<br><b>Sent:</b> Thursday, 2 September 2010 5:29 PM<br><b>To:</b>
cisco-bba@puck.nether.net; Andy Saykao<br><b>Subject:</b> Re: [cisco-bba] How to
reset DSCP/TOS on LNS?<br></font><br></div>
<div></div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top">Hi Andy,<br><br>You could do it by applying a QoS policy
via Cisco-AVPair RADIUS attributes,
eg:<br><br>ip:sub-qos-policy-out=qos-policy-reset0<br><br>You would then
have a policy on the 7200 something like this:<br>!<br>ip access-list
extended match-ip-any<br> permit ip any any<br>!<br>class-map
match-any class-ip-any<br> match access-group name
match-ip-any<br>!<br>policy-map qos-policy-reset0<br> class
class-ip-any<br> set ip dscp 0<br>!<br><br>You might be able to
achieve the same without all the class-map stuff by just using
"class-default" to match and set that to zero, eg:<br><br>policy-map
qos-policy-reset0<br> class class-default<br> set ip dscp
0<br><br>You would have to test. We have found result vary depending on
platform and features and so we use the "longer" way as we know it works
more consistently.<br><br>Reset the users session and you should be good
to go when they next connect.<br><br>Results can be seen using the normal
"show policy-map" command, eg:<br><br>LNS#show policy-map int
virtual-access 2053<br><br>We are doing this on 7204 running 12.2(33)SRD1
without any problems.<br><br>If you want to do some actual queuing/shaping
then you should look to use a parent shaper to shape to the DSL link speed
with a child policy to implement your actual
QoS.<br><br><br>regards,<br>Tony.<br><br><br>--- On <b>Thu, 2/9/10, Andy
Saykao <i><andy.saykao@staff.netspace.net.au></i></b> wrote:<br>
<blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(16, 16, 255);"><br>
<div id="yiv1384751221yiv662267960">
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">Hi
All,</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri"></font></span> </div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">I'm
looking for a way to re-mark customer packets as it enters/hits the LNS.
</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri"></font></span> </div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">Eg: cust_1
--upload-->> [ LNS ] --download-->>
cust_2</font></span></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri"></font></span></span> </div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">- In
my example cust_1 and cust_2 are both on the same
LNS.</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">- cust_1 is uploading a file to
cust_2.</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">- Is
there a way to reset the DSCP/TOS value of packets coming from
cust_1?</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri"></font></span> </div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">LNS
is a Cisco 7301 running 12.2(31)SB14.</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"></span><span class="yiv1384751221yiv662267960678091406-02092010"></span><span class="yiv1384751221yiv662267960678091406-02092010"></span><font face="Calibri"></font> </div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">Thanks.</font></span></div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri"></font></span> </div>
<div><span class="yiv1384751221yiv662267960678091406-02092010"><font face="Calibri">Andy</font></span></div></div><br></blockquote></td></tr></tbody></table><br> <br></div></blockquote></td></tr></table><br>