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

doubt in tc script



HI,
   I am unable to do detach reservations with the following script. pls
help me in this regard. Due to this I am unable to proceed on my work.


The probelm is when ever i run detach sript , system will goes to hang
state. So pls help me in this regard.

The following is the script which I am using for making reservations
-------------------

tc q a dev eth0 root handle 20: cbq bandwidth 30Mbit avpkt 1500 mpu 64
tc c a dev eth0 parent 20:0 classid 20:1 cbq bandwidth 30Mbit rate \
30Mbit maxburst 20 avpkt 1500
tc c a dev eth0 parent 20:1 classid 20:100 cbq bandwidth 30Mbit rate \
30Mbit maxburst 20 avpkt 1500
tc q a dev eth0 parent 20:100 tbf limit 65536 burst 2048 rate 30Mbit
tc f a dev  eth0 parent 20:0 protocol mpls prio 100 handle 200 tcindex \
classid 20:100

-----------------------------------------

the following one which is nothing but above script with del and reverse
in oreder , using for detaching reservations





tc f d dev  eth0 parent 20:0 protocol mpls prio 100 handle 200 tcindex \
classid 20:100
tc q d dev eth0 parent 20:100 tbf limit 65536 burst 2048 rate 30Mbit
tc c d dev eth0 parent 20:1 classid 20:100 cbq bandwidth 30Mbit rate \
30Mbit maxburst 20 avpkt 1500
tc c d dev eth0 parent 20:0 classid 20:1 cbq bandwidth 30Mbit rate \ 
30Mbit maxburst 20 avpkt 1500
tc q d dev eth0 root handle 20: cbq bandwidth 30Mbit avpkt 1500 mpu 64

---------------------------------------

			Thanks in advance,
                                         
                                         Regards
                                        Ramanjaneyulu Y.T. 
 
 " A real friend is one who walks in when the rest of the world walks
 out."
 ------------------------------------------------------------------------------ 
Y.T.RAMANJANEYULU                        |   My other mail Ids:
E-70,INDIAN INSTITUTE OF SCIENCE         |         ytr@123india.com
BANGALORE - 560012                       |         kingytr@excite.com
PH: 91 - 80 - 3092622 ( HOSTEL )         |
    91 - 80 - 3092658 ( HFCL LAB )       |
                   visit my home page:www2.csa.iisc.ernet.in/~ytr
--------------------------------------------------------------------------------