Jump to content
Local

solarbg

Muggles
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Обычный

About solarbg

  • Rank
    Пролетал Мимо

Recent Profile Visitors

122 profile views
  1. solarbg

    BDCOM P3310C и multicast IPTV

    Hello, if your multicast vlan is 4001 so you need to add in this interface "interface GigaEthernet0/5"
  2. solarbg

    BDCOM 3310C + Multicast

    interface EPON0/1 epon pre-config-template sprint binded-onu-llid 1-64 epon bind-onu mac 8479.7399.cba9 1 epon bind-onu mac 8479.7399.d74f 2 filter dhcp switchport trunk vlan-allowed MNG,IPTV switchport mode trunk switchport protected 1 flow-control on ! interface EPON0/1:1 ! interface EPON0/1:2 switchport port-security dynamic maximum 10 switchport port-security mode dynamic epon onu port 1 ctc vlan mode tag 64 priority 0 epon onu port 1 ctc mcst tag-stripe enable epon onu port 1 ctc mcst mc-vlan add IPTV epon sla upstream pir 1000000 cir 19200 epon sla downstream pir 1000000 cir 19200 ! interface EPON0/1 epon pre-config-template sprint binded-onu-llid 1-64 epon bind-onu mac 8479.7399.cba9 1 epon bind-onu mac 8479.7399.d74f 2 filter dhcp switchport trunk / remove this switchport mode trunk switchport protected 1 flow-control on ! interface EPON0/1:1 ! interface EPON0/1:2 switchport port-security dynamic maximum 10 switchport port-security mode dynamic epon onu port 1 ctc vlan mode tag 64 priority 0 epon onu port 1 ctc mcst tag-stripe enable epon onu port 1 ctc mcst mc-vlan add IPTV-vlan / IPTV-vlan number epon sla upstream pir 1000000 cir 19200 epon sla downstream pir 1000000 cir 19200 !
  3. solarbg

    Default BDCOM onu login

    Hello, anyone knows default telnet login username and password for BDCOM onu. For version who i have always username and password is admin This is the version who work logins 10.0.16A 1023, 10.0.16A 1047, 10.0.16A 1051, 10.0.16A 1054 All is 4 port bdcom onu Now i have new version on 4 port bdcom onu Software Version : 10.0.24B.418 and don`t know default user and pass
  4. solarbg

    Мониторинг OLT по snmp

    Well i need to be on web not in windows software.
  5. solarbg

    Мониторинг OLT по snmp

    <html> <head> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } tr:nth-child(even) { background-color: #dddddd; } </style> </head> <body> <?php $time1= date("Y-m-d H:i:s"); $ip='172.30.30.30'; $ro='public'; $session = new SNMP(SNMP::VERSION_2C, $ip, $ro); $ifDescr = $session->walk(".1.3.6.1.2.1.2.2.1.2", TRUE); $ifAlias = $session->walk("IF-MIB::ifAlias", TRUE); $ifSpeed = $session->walk(".1.3.6.1.2.1.2.2.1.5", TRUE); $ifAdminStatus = $session->walk(".1.3.6.1.2.1.2.2.1.7", TRUE); $ifOperStatus = $session->walk(".1.3.6.1.2.1.2.2.1.8", TRUE); $ifInErrors = $session->walk(".1.3.6.1.2.1.2.2.1.14", TRUE); $ifOutErrors = $session->walk(".1.3.6.1.2.1.2.2.1.20", TRUE); $ONUMAC = $session->walk("1.3.6.1.4.1.3320.101.10.1.1.3", TRUE); $ONURxLevel = $session->walk("1.3.6.1.4.1.3320.101.10.5.1.5", TRUE); $ONUTemp = $session->walk("1.3.6.1.4.1.3320.101.10.5.1.2", TRUE); $ONUDist = $session->walk("1.3.6.1.4.1.3320.101.10.1.1.27", TRUE); $ONUVendor = $session->walk("1.3.6.1.4.1.3320.101.10.1.1.1", TRUE); $ONUModel = $session->walk("1.3.6.1.4.1.3320.101.10.1.1.2", TRUE); foreach ($ifDescr as $key => $value) { $iface[$key]['IfId']=$key; $value=explode(' ', $value); $value=end($value); $value=trim($value); $value = str_replace("\"", "", $value); $iface[$key]['IfDescr']=$value; } foreach ($ifAlias as $key => $value) { $iface[$key]['IfId']=$key; $value=explode(' ', $value); $value=end($value); $value=trim($value); $value = str_replace("\"", "", $value); $iface[$key]['ifAlias']=$value; } foreach ($ifSpeed as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['IfSpeed']=$value; } foreach ($ifAdminStatus as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['IfAdminStatus']=$value; } foreach ($ifOperStatus as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['IfOperStatus']=$value; } foreach ($ifInErrors as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['IfInErrors']=$value; } foreach ($ifOutErrors as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['IfOutErrors']=$value; } foreach ($ONUMAC as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $value = str_replace (" ", ":", $value); $iface[$key]['ONUMAC']=$value; } foreach ($ONURxLevel as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['ONURxLevel']=$value; } foreach ($ONUTemp as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $value = $value/256; $value = round($value, 2); $iface[$key]['ONUTemp']=$value; } foreach ($ONUDist as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $iface[$key]['ONUDist']=$value; } foreach ($ONUVendor as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $value = str_replace("\"", "", $value); $iface[$key]['ONUVendor']=$value; } foreach ($ONUModel as $key => $value) { $value=explode(':', $value); $value=end($value); $value=trim($value); $value = str_replace("\"", "", $value); $iface[$key]['ONUModel']=$value; } echo "$time1.<h2></h2>"; echo '<table>'; foreach ($iface as $key){ $date=date("Y-m-d H:i:s"); $IfId=$equipment_id.'_'.$key['IfId']; $IfDescr=$key['IfDescr']; $ifAlias=$key['ifAlias']; $IfSpeed=$key['IfSpeed']; $IfAdminStatus=$key['IfAdminStatus']; $IfOperStatus=$key['IfOperStatus']; $IfInErrors=$key['IfInErrors']; $IfOutErrors=$key['IfOutErrors']; if(isset( $key['ONUMAC'])){ $ONUMAC=$key['ONUMAC'];}else{$ONUMAC=NULL;} if(isset( $key['ONURxLevel'])){ $ONURxLevel=$key['ONURxLevel']/10;}else{$ONURxLevel=NULL;} if(isset( $key['ONUTemp'])){ $ONUTemp=$key['ONUTemp'];}else{$ONUTemp=NULL;} if(isset( $key['ONUDist'])){ $ONUDist=$key['ONUDist'];}else{$ONUDist=NULL;} // if(isset( $key['ONUVendor'])){ // $ONUVendor=$key['ONUVendor'];}else{$ONUVendor=NULL;} // if(isset( $key['ONUModel'])){ // $ONUModel=$key['ONUModel'];}else{$ONUModel=NULL;} // $ONUVendorModel=$ONUVendor.'/'.$ONUModel; // echo '<td>IfId: '.$IfId.'</td>'; echo '<td>Интерфейс: '.$IfDescr.'</td>'; echo '<td>Адрес: '.$ifAlias.'</td>'; // echo '<td>IfSpeed: '.$IfSpeed.'</td>'; // echo '<td>IfAdminStatus: '.$IfAdminStatus.'</td>'; echo '<td>Състояние: '.$IfOperStatus.'</td>'; // echo '<td>IfInErrors: '.$IfInErrors.'</td>'; // echo '<td>IfOutErrors: '.$IfOutErrors.'</td>'; // echo '</br>'; $epon=stripos($IfDescr, 'pon'); $eponslash=stripos($IfDescr, '/'); $eponcolon=stripos($IfDescr, ':'); if($epon !== false and $eponslash!== false and $eponcolon !== false){ echo '<td>MAC: '.$ONUMAC.'</td>'; echo '<td>Сигнал: '.$ONURxLevel.'</td>'; echo '<td>Температура: '.$ONUTemp.'</td>'; echo '<td>Растояние: '.$ONUDist.'</td>';} // echo '<td>ONUVendor: '.$ONUVendor.'</td>'; // echo '<td>ONUModel: '.$ONUModel.'</td>'; } // echo '</br>'; echo '</tr>'; } echo '</table>'; ?> </body> </html> Can anyone help? When you click on "onu" a given window in a small window, the state of the ports will go out
  6. solarbg

    BDCOM P3310C

    Полезные ссылки ОЛТ BDCOM P3310C firmware #last 11.7.2017 ftp://ftp.romsat.ua/pub/Lan/BDCOM/P3310C/BD_3310C_10.1.0E_43480_en.bin ( Работает без проблем | dhcp, pppoe, multicast ) #old Firmware ftp://ftp.romsat.ua/pub/Lan/BDCOM/P3310C/ ONU #last P1504C1 ftp://ftp.romsat.ua/pub/Lan/BDCOM/P1504C1/P1504C1_10.0.16A_1054.zblob ( fix bug - 4 port switch in 10 MB some time ) BDCOM P3310C Software, Version 10.1.0D Build 33463 uptime is 486:08:41:00, The current time: 2017-9-15 19:23:2 BDCOM P3310C Software, Version 10.1.0E Build 43480 uptime is 58:08:36:42, The current time: 2017-9-15 20:20:24
×