[cisco-bba] How to reset DSCP/TOS on LNS?

Andy Saykao andy.saykao at staff.netspace.net.au
Thu Sep 2 04:41:58 EDT 2010

Many thanks to Tony and Arie...and Jason too...
Will definitely give it a shot.


From: Tony [mailto:td_miles at yahoo.com] 
Sent: Thursday, 2 September 2010 5:29 PM
To: cisco-bba at puck.nether.net; Andy Saykao
Subject: Re: [cisco-bba] How to reset DSCP/TOS on LNS?

Hi Andy,

You could do it by applying a QoS policy via Cisco-AVPair RADIUS
attributes, eg:


You would then have a policy on the 7200 something like this:
ip access-list extended match-ip-any
 permit ip any any
class-map match-any class-ip-any
 match access-group name match-ip-any
policy-map qos-policy-reset0
 class class-ip-any
  set ip dscp 0

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:

policy-map qos-policy-reset0
 class class-default
  set ip dscp 0

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

Reset the users session and you should be good to go when they next

Results can be seen using the normal "show policy-map" command, eg:

LNS#show policy-map int virtual-access 2053

We are doing this on 7204 running 12.2(33)SRD1 without any problems.

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.


--- On Thu, 2/9/10, Andy Saykao <andy.saykao at staff.netspace.net.au>

	Hi All,
	I'm looking for a way to re-mark customer packets as it
enters/hits the LNS. 
	Eg: cust_1 --upload-->> [ LNS ] --download-->> cust_2
	- In my example cust_1 and cust_2 are both on the same LNS.
	- cust_1 is uploading a file to cust_2.
	- Is there a way to reset the DSCP/TOS value of packets coming
from cust_1?
	LNS is a Cisco 7301 running 12.2(31)SB14.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed. 
Please notify the sender immediately by email if you have received this 
email by mistake and delete this email from your system. Please note that
 any views or opinions presented in this email are solely those of the
 author and do not necessarily represent those of the organisation. 
Finally, the recipient should check this email and any attachments for 
the presence of viruses. The organisation accepts no liability for any 
damage caused by any virus transmitted by this email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-bba/attachments/20100902/bbc4e5bb/attachment-0001.html>

More information about the cisco-bba mailing list