From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolay Kichukov Date: Tue, 25 Sep 2007 08:45:47 +0000 Subject: Re: [LARTC] How to delete DSCP setting using iptable command. Message-Id: <46F8CABB.5010005@oldum.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello, You can just add --line-numbers at the end of the command you use to see the results you posted and then use iptables -D tableName ruleNumber, i.e. iptables -D OUTPUT 5 HTH, -Nikolay Raghuvendra Kumar wrote: > > Hi, > > Can anybody tell me how to delete DSCP or TOS setting using iptable command. > > iptables --list OUTPUT --table mangle Chain OUTPUT (policy ACCEPT) > target prot opt source destination > DSCP tcp -- anywhere anywhere tcp spt:http DSCP s et 0x08 > DSCP udp -- anywhere anywhere DSCP set 0x08 > DSCP udp -- anywhere anywhere DSCP set 0x18 > DSCP all -- anywhere anywhere DSCP set 0x08 > DSCP all -- anywhere anywhere DSCP set 0x08 > DSCP all -- anywhere anywhere DSCP set 0x06 > DSCP all -- anywhere anywhere DSCP set 0x01 > DSCP all -- anywhere anywhere DSCP set 0x02 > DSCP udp -- anywhere anywhere DSCP set 0x08 > TOS udp -- anywhere anywhere TOS set Maximize-Th roughput > TOS all -- anywhere anywhere TOS set Maximize-Th roughput > > Regards, > > Raghuvendra Kumar | BTSL > 414 | Ext > 011-41619770 | Desk > +91-9818143739 | Mobile > raghuvendra.kumar@bhartitelesoft.com | EMail > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc