Jump to content
Калькуляторы

show ip traffic via snmp Получить счётчики по snmp

Приветствую.

Имеется Cisco 7600, появилось желание получать по snmp показания счётчиков аналогичных выводу sh ip traffic.

По запросу "show ip traffic snmp" гугл ничего полезного не выдаёт. Однако такой вопрос на форуме cisco уже поднимался.

 

Есть ли какой-то mib в котором эти самые значения сгруппированы ?

Share this post


Link to post
Share on other sites

Эм...

Даже не знаю что ответить...

 

1. Вы точно читали, что я написал ?

2. Советую Вам сменить у себя на оборудовании комюнити с "public" на что-то "своё" ...

3. С каких пор IF-MIB содержит всё то, что падает на процессор в 7600/6500 ?

Share this post


Link to post
Share on other sites

частично информацию можно получить из RFC'шных IP-MIB, TCP-MIB, UDP-MIB, частично из cisco'вских ънтерпрайзных мибов. В зависимости от того, что именно из вывода "sh ip traf" требуется.

Edited by agr

Share this post


Link to post
Share on other sites

В выводе в первую очередь интересуют те значения, которые косвенно могут быть связаны с нагрузкой на процессор.

IP statistics:
 Rcvd:  1978161854 total, 1813346799 local destination
        1 format errors, 0 checksum errors, 1016953479 bad hop count
        18 unknown protocol, 2600472 not a gateway
        0 security failures, 0 bad options, 8768709 with options
 Opts:  5432174 end, 287940 nop, 0 basic security, 0 loose source route
        2670 timestamp, 0 extended security, 260683 record route
        6904 stream ID, 0 strict source route, 3139375 alert, 0 cipso, 0 ump
        4915 other
 Frags: 32600 reassembled, 6705 timeouts, 8042 couldn't reassemble
        98764 fragmented, 0 couldn't fragment
 Bcast: 75172109 received, 263414 sent
 Mcast: 1059528490 received, 18483032 sent
 Sent:  996089274 generated, 2432281221 forwarded
 Drop:  3255 encapsulation failed, 0 unresolved, 0 no adjacency
        0 no route, 0 unicast RPF, 0 forced drop, 0 unsupported-addr
        0 options denied, 0 source IP address zero

...

ARP statistics:
 Rcvd: 463290238 requests, 58780 replies, 0 reverse, 0 other
 Sent: 3162477 requests, 30867480 replies (0 proxy), 0 reverse
 Drop due to input queue full: 0

...

OSPF statistics:
 Last clearing of OSPF traffic counters never

 Rcvd: 1065198037 total, 0 checksum errors
       248727382 hello, 97927 database desc, 12201 link state req
       405843960 link state updates, 410397176 link state acks

 Sent: 156803924 total
       7545635 hello, 98289 database desc, 681 link state req
       2550654 link state updates, 146608759 link state acks

...

BGP statistics:
 Rcvd: 455433575 total, 257 opens, 36 notifications, 452555480 updates
       2877785 keepalives, 17 route-refresh, 0 unrecognized
 Sent: 2650774 total, 274 opens, 207 notifications, 0 updates
       2650266 keepalives, 27 route-refresh

Жаль, если нет какого-либо единого MIB.

На "скорую" руку в OSPF-MIB я не нашёл такой статистики.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.