[cisco] Re: Alegere router cisco - am adaugat si scriptul
"Laurentiu Matei" <[email protected]> Thu, 2 Oct 2003 16:00:48 +0300
| Newsgroups | gmane.org.user-groups.rlug.general,gmane.org.user-groups.rlug.cisco |
|---|---|
| Message-ID | <004501c388e5$338e2db0$9e00a8c0@admin> |
Acesta este scriptul pe care il folosesc impreuna cu HTB:
Ps: am facut shaping atat pentru traficul care intra cat si pt cel care iese
(cineva spunea ca merge numai pentru ceea ce intra....). Banda disponibila
este 512kbps.
# simple config file
class class_1 {
bandwidth 320;
limit 500;
burst 2;
priority 1;
client client_0_in {
bandwidth 100;
limit 105;
burst 2;
priority 1;
dst {
real IP voip/32;
};
};
client client_0_out {
bandwidth 100;
limit 110;
burst 2;
priority 1;
src {
real IP voip/32;
};
};
client client_1_in {
bandwidth 42;
limit 136;
burst 2;
priority 2;
dst {
LAN IP/32;
};
};
client client_1_out {
bandwidth 42;
limit 136;
burst 2;
priority 2;
src {
LAN IP/32;
};
};
client client_2_in {
bandwidth 40;
limit 96;
burst 2;
priority 3;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_2_out {
bandwidth 40;
limit 96;
burst 2;
priority 3;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_3_in {
bandwidth 20;
limit 24;
burst 2;
priority 4;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_3_out {
bandwidth 20;
limit 24;
burst 2;
priority 4;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_4_in {
bandwidth 24;
limit 48;
burst 2;
priority 5;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_4_out {
bandwidth 24;
limit 48;
burst 2;
priority 5;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_5_in {
bandwidth 20;
limit 24;
burst 2;
priority 6;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_5_out {
bandwidth 20;
limit 24;
burst 2;
priority 6;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_6_in {
bandwidth 24;
limit 32;
burst 2;
priority 7;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_6_out {
bandwidth 24;
limit 32;
burst 2;
priority 7;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_7_in {
bandwidth 20;
limit 20;
burst 2;
priority 8;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_7_out {
bandwidth 20;
limit 20;
burst 2;
priority 8;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_8_in {
bandwidth 10;
limit 10;
burst 2;
priority 9;
dst {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
client client_8_out {
bandwidth 10;
limit 10;
burst 2;
priority 9;
src {
LAN IP/32;
LAN IP/32;
LAN IP/32;
};
};
};
class default { bandwidth 5; };
# end of testcfg
Laurentiu.