hi all! У меня есть каталист 2950. Через него включено соединение с нетом. Очень хотелось бы снимать данные о полученом из инета трафике.
Если выполнить на нем команду
LRTPC2950#show interfaces fastEthernet 0/5
FastEthernet0/5 is up, line protocol is up
Hardware is Fast Ethernet, address is 000c.3106.5c85 (bia 000c.3106.5c85)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
880914 packets input, 89082931 bytes, 0 no buffer
Received 324 broadcasts, 0 runts, 0 giants, 0 throttles
1 input errors, 1 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
1851617 packets output, 1424226900 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
LRTPC2950#
И в строке:
880914 packets input, 89082931 bytes, 0 no buffer
вроде бы указывается значение принятого трафика. Но возникает вопрос:
Насколько это число соответствует кол-ву принятого трафика на самом деле?
И еще как проще можно снимать эти данные?
|