Перейти до

villagenet

Маглы
  • Всього повідомлень

    12
  • Приєднався

  • Останній візит

Все, що було написано villagenet

  1. villagenet

    Нужна прошивка ZTE ZXHN F601

    hi who is upgrade on onu f601v6.0.1p1t11 ? t10? or you have new?
  2. villagenet

    ZTE OLT - опрос по SNMP - уровни

    maybe you will share with us?
  3. villagenet

    ZTE OLT - опрос по SNMP - уровни

    snmpwalk -v 2c -cxxxxxxx -On 192.168.10.10 1.3.6.1.4.1.3902.1012.3.13.3.1.2 .1.3.6.1.4.1.3902.1012.3.13.3.1.2.268567040.1 = Hex-STRING: 43 4E 31 38 09 08 16 37 .1.3.6.1.4.1.3902.1012.3.13.3.1.2.268567040.2 = Hex-STRING: 5A 54 45 47 C1 71 FB 81 i want to know olt index and SN How to get from Hex-STRING SN ? i use perl and mysql and write this mysql> select * from zte_olt; +----+----------+------------+-------+------------------+--------------+-------+ | id | location | profil_onu | ports | uncfg | sn | state | +----+----------+------------
  4. villagenet

    ZTE OLT - опрос по SNMP - уровни

    <?php function serial2txt($hex) { $str = ''; for($i=0;$i<4;$i++) $str .= substr($hex,$i,2); $str .= "-"; for($i=4;$i<strlen($hex);$i++) $str .= dechex(ord(substr($hex,$i,1))); return $str; } $hex = "5A 54 45 47 C1 71 FB 81"; $return_value = serial2txt($hex); echo "Returned value from the function :$return_value\n"; ?> Returned value from the function :5AA 554-34203435203437204331203731204642203831 .1.3.6.1.4.1.3902.1012.3.13.3.1.2.268567040.1 = Hex-STRING: 43 4E 31 38 09 08 16 37 .1.3.6.1.4.1.3902.1012.3.13.3.1.2.
  5. villagenet

    ZTE OLT - опрос по SNMP - уровни

    is notn work givme error syntax error near unexpected token `(' line 1: syntax error near unexpected token `(' /usr/lib/cgi-bin/pppoe_server/sn_onu.php: line 1: `public static function serial2txt($hex) {'
  6. villagenet

    ZTE OLT - опрос по SNMP - уровни

    hi with 1.3.6.1.4.1.3902.1012.3.13.3.1.2 iso.3.6.1.4.1.3902.1012.3.13.3.1.2.268567040.1 = Hex-STRING: 43 4E 31 38 09 08 16 37 iso.3.6.1.4.1.3902.1012.3.13.3.1.2.268567040.2 = Hex-STRING: 5A 54 45 47 C1 71 FB 81 but what is this ? i want this show gpon onu uncfg OnuIndex Sn State --------------------------------------------------------------------- gpon-onu_1/2/2:1 CN1809081637 unknown gpon-onu_1/2/2:2 ZTEGC171FB81 unknown i want to get onuindex and sn also gpon onu state with snmp not with telnet?
  7. villagenet

    ZTE OLT - опрос по SNMP - уровни

    Hi I want to know how I get whitch index from onu is uncfg under snmp without i have login in telnet ?
  8. villagenet

    ZTE OLT - опрос по SNMP - уровни

    Здрасти, искам да питам нещо , как мога с snmp да взема кой индекси на онута са нерегистрирани?
×
×
  • Створити нове...