Re: How to delete DSCP setting using iptable command.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx | EMail
> _______________________________________________
> LARTC mailing list
> LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux