folko Posted August 14, 2013 Posted August 14, 2013 Приветствую! Столкнулся с проблемой по опросу коммутаторов Huawei Quidway S2326 по SNMP на предмет ifindex. На части свитчей отображается ifindex первого клиентского порта с значением 4, на части свитчей с значением 5. Явно видно по ветке IF-MIB::ifType IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: other(1) IF-MIB::ifType.4 = INTEGER: propVirtual(53) IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.9 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.10 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.11 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.12 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.13 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.14 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.15 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.16 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.17 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.18 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.19 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.20 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.21 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.22 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.23 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.24 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.25 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.26 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.27 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.28 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.29 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.30 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: other(1) IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.9 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.10 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.11 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.12 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.13 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.14 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.15 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.16 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.17 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.18 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.19 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.20 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.21 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.22 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.23 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.24 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.25 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.26 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.27 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.28 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.29 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.31 = INTEGER: propVirtual(53) Никто не сталкивался с подобной проблемой? Софт одинаковый, конфигурация однообразная, HW версия та же. Вставить ник Quote
s.lobanov Posted August 14, 2013 Posted August 14, 2013 Есть такая неприятность. Зависит от того в каком порядке конфигурировать, когда сохранять и когда произойдёт первый snmp-запрос с индексом интерфейса. Появилось в V1R5, в V1R5 индексы были статическими и считались по формуле Вставить ник Quote
folko Posted August 14, 2013 Author Posted August 14, 2013 Как-то все устаканить можно? Вставить ник Quote
s.lobanov Posted August 14, 2013 Posted August 14, 2013 отформатировать флеш, залить софт и патч, сохранить конфиг. после этого индексы перестроятся Вставить ник Quote
folko Posted August 14, 2013 Author Posted August 14, 2013 Немного пошерстил , нашел командочку - которая не меняет ifindex при реконфигурациях или перезаливках софта(софт кстати v100r006c01spc100) system-view ifindex constant Вставить ник Quote
s.lobanov Posted August 15, 2013 Posted August 15, 2013 И смысл? Эта команда и так введена по умолчанию By default, the constant interface index feature is enabled. display constant-ifindex configuration ifindex constant : Enable ifindex max-number : 131070 current ifindex subinterface mode : dense-mode next ifindex subinterface mode : dense-mode current ifindex allocation : multi-chassis Вставить ник Quote
folko Posted August 20, 2013 Author Posted August 20, 2013 Удалось имитировать ситуацию с назначениями индексов , то 4 то 5. Так же удалось все преобразить к общему виду. Спасибо! Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.