The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Не получаю информацию о GRE туннеле по SNMP, !*! Yeah, 03-Фев-15, 08:44  [смотреть все]
Столкнулся со следующей проблемой:

Имею Cisco 2811 (10.10.17.29), на ней подняты GRE туннели, необходимо мониторить их состояние.
По snmp получаю информацию о всех интерфейсах, кроме одного туннеля.

То есть на маршрутизаторе:
Router#show snmp mib ifmib ifindex tunnel 900
Interface = Tunnel900, Ifindex = 82

То есть нужный мне туннель 900 имеет индекс 82.

На машине:
root@monitoring:~# snmpget -c public 10.10.17.29 -v 2c 1.3.6.1.2.1.2.2.1.2.82
IF-MIB::ifDescr.82 = No Such Instance currently exists at this OID

При этом "соседний" туннель с индексом 83:
root@monitoring:~# snmpget -c public 10.10.17.29 -v 2c 1.3.6.1.2.1.2.2.1.2.83
IF-MIB::ifDescr.83 = STRING: Tunnel800

Конфиги туннелей

interface Tunnel900
bandwidth 128
ip address 10.22.26.2 255.255.255.252
ip mtu 1500
snmp ifindex persist
keepalive 20 3
tunnel source 172.16.0.118
tunnel destination 172.17.0.1
end

interface Tunnel800
ip address 10.24.26.2 255.255.255.252
ip accounting output-packets
qos pre-classify
keepalive 7 3
tunnel source 10.22.45.2
tunnel destination 10.20.60.30
end

Router#show version
Cisco IOS Software, 2800 Software (C2800NM-ADVSECURITYK9-M), Version 12.4(8), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 15-May-06 14:54 by prod_rel_team

ROM: System Bootstrap, Version 12.4(1r) [hqluong 1r], RELEASE SOFTWARE (fc1)

Router uptime is 9 weeks, 3 days, 23 hours, 31 minutes
System returned to ROM by power-on
System restarted at 17:36:48 KAMCH Fri Nov 28 2014
System image file is "flash:c2800nm-advsecurityk9-mz.124-8.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 2811 (revision 53.51) with 247808K/14336K bytes of memory.
Processor board ID FCZ0951724F
6 FastEthernet interfaces
2 Serial(sync/async) interfaces
8 Low-speed serial(sync/async) interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

Подскажите, в чем может быть причина?

  • Не получаю информацию о GRE туннеле по SNMP, !*! ShyLion, 09:08 , 03-Фев-15 (1)
    • Не получаю информацию о GRE туннеле по SNMP, !*! Yeah, 00:37 , 04-Фев-15 (2)
      > snmpbulkwalk ..... ifDescr

      root@monitoring:~# snmpbulkwalk -c public 10.10.17.29 -v 2c 1.3.6.1.2.1.2.2.1.2
      IF-MIB::ifDescr.1 = STRING: FastEthernet0/0
      IF-MIB::ifDescr.2 = STRING: FastEthernet0/1
      IF-MIB::ifDescr.3 = STRING: FastEthernet0/1/0
      IF-MIB::ifDescr.4 = STRING: FastEthernet0/1/1
      IF-MIB::ifDescr.5 = STRING: FastEthernet0/1/2
      IF-MIB::ifDescr.6 = STRING: FastEthernet0/1/3
      IF-MIB::ifDescr.7 = STRING: Serial0/0/0
      IF-MIB::ifDescr.8 = STRING: Serial0/0/1
      IF-MIB::ifDescr.9 = STRING: Serial1/0
      IF-MIB::ifDescr.10 = STRING: Serial1/1
      IF-MIB::ifDescr.11 = STRING: Serial1/2
      IF-MIB::ifDescr.12 = STRING: Serial1/3
      IF-MIB::ifDescr.13 = STRING: Serial1/4
      IF-MIB::ifDescr.14 = STRING: Serial1/5
      IF-MIB::ifDescr.15 = STRING: Serial1/6
      IF-MIB::ifDescr.16 = STRING: Serial1/7
      IF-MIB::ifDescr.17 = STRING: Null0
      IF-MIB::ifDescr.18 = STRING: Vlan1
      IF-MIB::ifDescr.29 = STRING: Vlan10
      IF-MIB::ifDescr.67 = STRING: Tunnel4171
      IF-MIB::ifDescr.72 = STRING: Vlan30
      IF-MIB::ifDescr.74 = STRING: Vlan11
      IF-MIB::ifDescr.75 = STRING: Tunnel101
      IF-MIB::ifDescr.76 = STRING: Tunnel3171
      IF-MIB::ifDescr.77 = STRING: Vlan40
      IF-MIB::ifDescr.78 = STRING: Tunnel4172
      IF-MIB::ifDescr.81 = STRING: FastEthernet0/0.372
      IF-MIB::ifDescr.83 = STRING: Tunnel800
      IF-MIB::ifDescr.84 = STRING: Tunnel802

      Т.е. он выдает Tunnel 4171, 3171, 4172, 101, 800, 802, но нет 900 с индексом 82. При этом сам туннель работает без проблем.

    • Не получаю информацию о GRE туннеле по SNMP, !*! eek, 04:48 , 04-Фев-15 (3)
      Бывало такое на каком-то софте не помню уже.
      Полечилось как не странно очень просто.
      Грохнул и пересоздал, все увидилось.
  • Не получаю информацию о GRE туннеле по SNMP, !*! ShyLion, 14:20 , 04-Фев-15 (4)
    > Подскажите, в чем может быть причина?

    Софт на роутере у тебя аж 2006 года выпуска. Вполне себе может быть баг.

    Из ветки 12.4 есть 12.4(25)g от 2012 года.
    Вообще под твой склероз и advsecurityk9 есть рекомендованый 15.1(4)M9 от сентября 2014.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру