alexabak-ml Posted June 5, 2013 (edited) Всем привет! Коллеги! Да вот столкнулся с проблемой сбора информации по загрузки с Eth-Trunk через SNMP. Есть на сети коммутатор LS2326 c Software Version V100R005C01. На нем организован Eth-Trunk interface Eth-Trunk1 port link-type trunk port trunk pvid vlan 998 port trunk allow-pass vlan 53 62 to 63 67 to 68 85 247 326 335 404 881 to 888 998 to 999 ntdp enable ndp enable и в него входят два порта interface Ethernet0/0/4 eth-trunk 1 undo ntdp enable undo ndp enable interface Ethernet0/0/15 eth-trunk 1 undo ntdp enable undo ndp enable Хочется собирать статистику загрузки данного Trunk-а. но при сборе с него информации по SNMP получаю 0 вот что вижу на этих портах по команде di interface Ethernet0/0/4 current state : UP Line protocol current state : UP Description: Switch Port,The Maximum Frame Length is 2044 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 101b-54be-4532 Port Mode: COMMON COPPER Speed : 100, Loopback: NONE Duplex: FULL, Negotiation: ENABLE Mdi : AUTO Last 300 seconds input rate 1054144 bits/sec, 634 packets/sec Last 300 seconds output rate 4143112 bits/sec, 653 packets/sec Input peak rate 4798792 bits/sec,Record time: 2013-05-31 03:51:42 Output peak rate 12823016 bits/sec,Record time: 2013-05-25 01:56:43 Input: 558839531 packets, 106904091479 bytes Unicast : 548594058,Multicast : 8432794 Broadcast : 1812679,Jumbo : 0 CRC : 0,Giants : 0 Jabbers : 0,Throttles : 0 Runts : 0,DropEvents : 0 Alignments : 0,Symbols : 0 Ignoreds : 0,Frames : 0 Discard : 0,Total Error : 0 Output: 613557764 packets, 455192265945 bytes Unicast : 589475338,Multicast : 18757590 Broadcast : 5324836,Jumbo : 0 Collisions : 0,Deferreds : 0 Late Collisions: 0,ExcessiveCollisions: 0 Buffers Purged : 0 Discard : 0,Total Error : 0 Input bandwidth utilization threshold : 100.00% Output bandwidth utilization threshold: 100.00% Input bandwidth utilization : 1.05% Output bandwidth utilization : 4.14% <S2326_mill_285>di interface Ethernet0/0/15 Ethernet0/0/15 current state : UP Line protocol current state : UP Description: Switch Port,The Maximum Frame Length is 2044 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 101b-54be-4532 Port Mode: COMMON COPPER Speed : 100, Loopback: NONE Duplex: FULL, Negotiation: ENABLE Mdi : AUTO Last 300 seconds input rate 521984 bits/sec, 325 packets/sec Last 300 seconds output rate 1828368 bits/sec, 315 packets/sec Input peak rate 5588952 bits/sec,Record time: 2013-05-25 06:22:20 Output peak rate 20577504 bits/sec,Record time: 2013-05-31 14:32:20 Input: 356502290 packets, 86162947342 bytes Unicast : 350847938,Multicast : 3634910 Broadcast : 2019442,Jumbo : 0 CRC : 0,Giants : 0 Jabbers : 0,Throttles : 0 Runts : 0,DropEvents : 0 Alignments : 0,Symbols : 0 Ignoreds : 0,Frames : 0 Discard : 0,Total Error : 0 Output: 393852762 packets, 291951116059 bytes Unicast : 379823568,Multicast : 8918044 Broadcast : 5111150,Jumbo : 0 Collisions : 0,Deferreds : 0 Late Collisions: 0,ExcessiveCollisions: 0 Buffers Purged : 0 Discard : 0,Total Error : 0 Input bandwidth utilization threshold : 100.00% Output bandwidth utilization threshold: 100.00% Input bandwidth utilization : 0.52% Output bandwidth utilization : 1.83% вроде трафик есть, а на Eth-Trunk1 пусто!!! Eth-Trunk1 current state : UP Line protocol current state : UP Description: Switch Port,PVID : 998,Hash arithmetic : According to SA-XOR-DA,Maximal BW: 200M, Current BW: 200M, The Maximum Frame Length is 2044 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 101b-54be-4532 Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.00% ----------------------------------------------------- PortName Status Weight ----------------------------------------------------- Ethernet0/0/4 UP 1 Ethernet0/0/15 UP 1 ----------------------------------------------------- The Number of Ports in Trunk : 2 The Number of UP Ports in Trunk : 2 хотя по команде вижу идет трафик display interface-statistics Eth-Trunk1 Display statistics of the interface at the interval of 10 seconds for up to 5 times. Press Ctrl + C to stop. 0 seconds left/ Times 1 Interface : Eth-Trunk1 ------------------------------------------------------------------------- Input rate : 1407019 bits/sec, 0 packets/sec Output rate : 7282256 bits/sec, 0 packets/sec Input : 193214265052 bytes, 0 packets Output : 747808484706 bytes, 0 packets Input error : 0 packets Output error : 0 packets Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.00% 0 seconds left| Times 2 Interface : Eth-Trunk1 ------------------------------------------------------------------------- Input rate : 1566548 bits/sec, 0 packets/sec Output rate : 7210260 bits/sec, 0 packets/sec Input : 193216223237 bytes, 0 packets Output : 747817497531 bytes, 0 packets Input error : 0 packets Output error : 0 packets Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.00% 0 seconds left| Times 3 Interface : Eth-Trunk1 ------------------------------------------------------------------------- Input rate : 2242909 bits/sec, 0 packets/sec Output rate : 10349345 bits/sec, 0 packets/sec Input : 193219026874 bytes, 0 packets Output : 747830434213 bytes, 0 packets Input error : 0 packets Output error : 0 packets Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.00% в секции snmp-agent прописано: snmp-agent snmp-agent local-engineid 000007DB7F0000010000733B snmp-agent community read nabludatel acl 2002 snmp-agent sys-info version v2c v3 Трафик с отдельных портов собирается а вот с trank-а ну не как. Может кто уже сталкивался с такой проблемой? Edited June 5, 2013 by alexabak-ml Share this post Link to post Share on other sites More sharing options...
martin74 Posted June 5, 2013 Собрать информацию с портов транка и сложить? Share this post Link to post Share on other sites More sharing options...