Встала задача собирать статистику в битах а не в пакетах.
Сам с маршрутизаторами CISCO знаком только второй день помогите люди добрые!Выполняю эту команду:
gw1>sh vlan
Virtual LAN ID: 1 (IEEE 802.1Q Encapsulation)
vLAN Trunk Interface: FastEthernet0/0/0
This is configured as native Vlan for the following interface(s) :
FastEthernet0/0/0Protocols Configured: Address: Received: Transmitted:
Virtual LAN ID: 2 (IEEE 802.1Q Encapsulation)
vLAN Trunk Interface: FastEthernet0/0/0.2
Protocols Configured: Address: Received: Transmitted:
IP 192.168.200.254 162039966 199651981Virtual LAN ID: 4 (IEEE 802.1Q Encapsulation)
vLAN Trunk Interface: FastEthernet0/0/0.4
Protocols Configured: Address: Received: Transmitted:
IP ххх.ххх.128.221 17049005 18245239
Получаю статистику в пакетах, но мне надо в битах!Вот на этом физическом интерфейсе
gw1>sh int FastEthernet0/0/0
FastEthernet0/0/0 is up, line protocol is up
Hardware is cyBus FastEthernet Interface, address is 0050.4456.7800 (bia 0030.4325.9700)
Description: ADSL NETWORK
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 49/255, rxload 9/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/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 1d01h
Input queue: 0/75/1377/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 3532000 bits/sec, 1959 packets/sec
5 minute output rate 19382000 bits/sec, 2662 packets/sec
177594759 packets input, 843386463 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 15 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
216482759 packets output, 3304495716 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped outМаршрутизатор такой:
gw1>sh version
Cisco Internetwork Operating System Software
IOS (tm) RSP Software (RSP-PV-M), Version 12.2(17b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Fri 17-Oct-03 00:56 by pwade
Image text-base: 0x60010948, data-base: 0x611B8000ROM: System Bootstrap, Version 11.1(8)CA1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
BOOTLDR: RSP Software (RSP-BOOT-M), Version 12.2(3), RELEASE SOFTWARE (fc1)avacomnet-cy-gw1 uptime is 5 days, 22 hours, 53 minutes
System returned to ROM by reload at 08:42:44 GTB Wed Jul 15 2009
System restarted at 01:56:02 GTB Fri Jul 31 2009
System image file is "slot0:rsp-pv-mz.122-17b.bin"cisco RSP4 (R5000) processor with 262144K/2072K bytes of memory.
R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache
Last reset from power-on
G.703/E1 software, Version 1.0.
G.703/JT2 software, Version 1.0.
X.25 software, Version 3.0.0.
Bridging software.
Chassis Interface.
2 FEIP2 controllers (4 FastEthernet).
2 VIP2 R5K controllers (1 FastEthernet)(4 Ethernet)(1 ATM).
4 Ethernet/IEEE 802.3 interface(s)
5 FastEthernet/IEEE 802.3 interface(s)
1 ATM network interface(s)
123K bytes of non-volatile configuration memory.16384K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
8192K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102Каие могут быть пути решения?
Нашел решение через SNMP. Отпишу подробнее позже.
>[оверквотинг удален]
>5 FastEthernet/IEEE 802.3 interface(s)
>1 ATM network interface(s)
>123K bytes of non-volatile configuration memory.
>
>16384K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
>
>8192K bytes of Flash internal SIMM (Sector size 256K).
>Configuration register is 0x2102
>
>Каие могут быть пути решения?Можно попробовать NetFlow, но незнаю как он себя поведет с vlan
Вот ссылка:
http://subnets.ru/blog/?p=124