- 论坛徽章:
- 0
|
请教~~~~~~
怎么把下面的linux命令实施在cisco的2600路由器上,主要是关于QOS的内容,
急啊~~~~~~~
echo "Init CBQ and Class"
tc qdisc del dev eth1 root handle 1:0
tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8
tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 100Mbit weight 10Mbit prio 5 cell 8 maxburst 20 avpkt 1000
echo "Class NC,Port 3389 "
tc class add dev eth1 parent 1:1 classid 1:10 cbq bandwidth 100Mbit rate 50Mbit weight 5Mbit prio 1 cell 8 maxburst 20 avpkt 1000
echo "Class Web Port "
tc class add dev eth1 parent 1:1 classid 1:20 cbq bandwidth 100Mbit rate 40Mbit weight 4Mbit prio 2 cell 8 maxburst 20 avpkt 1000
echo "Email Port, HPIC ServerS "
tc class add dev eth1 parent 1:1 classid 1:30 cbq bandwidth 100Mbit rate 5Mbit weight 500Kbit prio 3 cell 8 maxburst 20 avpkt 1000
echo "Else Use"
tc class add dev eth1 parent 1:1 classid 1:40 cbq bandwidth 100Mbit rate 4500Kbit weight 450Kbit prio 4 cell 8 maxburst 20 avpkt 1000
echo " ing & Virus"
tc class add dev eth1 parent 1:1 classid 1:50 cbq bandwidth 100Mbit rate 500Kbit weight 50Kbit prio 5 cell 8 maxburst 20 avpkt 1000 bounded
echo " ing & Virus"
tc class add dev eth1 parent 1:1 classid 1:50 cbq bandwidth 100Mbit rate 500Kbit weight 50Kbit prio 5 cell 8 maxburst 20 avpkt 1000 bounded |
|