ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

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

[inet-admins] CBWFQ: результаты :)


  • To: inet-admins@info.east.ru
  • Subject: [inet-admins] CBWFQ: результаты :)
  • From: Dmitri Kalintsev <dek@hades.uz>
  • Date: Mon, 12 Jun 2000 11:13:00 +0200
  • Content-Disposition: inline
  • Mail-Followup-To: inet-admins@info.east.ru
  • User-Agent: Mutt/1.2i

Тек-с. Поехали:

Router#sh run
Building configuration...

Current configuration:
!
version 12.1
...
class-map test-map
  match access-group name test-acl
!
!
policy-map test-policy
  class test-map
   bandwidth 8
   random-detect
...
interface FastEthernet0/0
 ip address 196.22.173.13 255.255.255.224
 duplex auto
 speed auto
 service-policy output test-policy
!
...
ip access-list extended test-acl
 permit ip any any
!

Дальше, наливаем ей flood ping и видим:

Router#sh int f0/0
FastEthernet0/0 is up, line protocol is up 
  Hardware is AmdFE, address is 0030.1930.3be0 (bia 0030.1930.3be0)
  Internet address is 196.22.173.13/27
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, 
     reliability 255/255, txload 15/255, rxload 15/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Half-duplex, 10Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 00:05:58
  Input queue: 1/75/10955/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops) 
     Conversations  0/1/256 (active/max active/max total)
     Reserved Conversations 1/1 (allocated/max allocated)
  5 minute input rate 613000 bits/sec, 774 packets/sec
  5 minute output rate 612000 bits/sec, 773 packets/sec
     354786 packets input, 34764899 bytes
     Received 9 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog
     0 input packets with dribble condition detected
     354880 packets output, 34776830 bytes, 0 underruns
     0 output errors, 13723 collisions, 0 interface resets
     0 babbles, 0 late collision, 20105 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out

То есть льёт столько, сколько вообще в неё влазит. При этом:

Router#sh policy-map int f0/0
 FastEthernet0/0  output : test-policy
  Weighted Fair Queueing
    Class test-map
      Output Queue: Conversation 265
        Bandwidth 8 (kbps) Packets Matched 61517
        mean queue depth: 0
        drops: class  random   tail     min-th   max-th   mark-prob
               0      0        0        20       40       1/10
               1      0        0        22       40       1/10
               2      0        0        24       40       1/10
               3      0        0        26       40       1/10
               4      0        0        28       40       1/10
               5      0        0        30       40       1/10
               6      0        0        32       40       1/10
               7      0        0        34       40       1/10
               rsvp   0        0        36       40       1/10

То есть вроде всё работает.. Делаем вывод - при наличии свободной полосы в
неё переливатся.. 

Если я где-то глючу - стукните меня по голове, я постараюсь исправиться
(просто я слегка невыспан и не соображаю слишком хорошо).

SY,
-- 
   CCNP,CCDP (R&S)                                   Dmitri E. Kalintsev
   CDPlayer@irc            Senior network engineer at NetActive Internet
   dek @ hades.uz                phone: +27 (0)11 719-0333 fax: 444-8900
   http://hades.uz                 UIN:7150410  cell  +27 (0)82-336-1033
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.