[ixpmanager] Graph MRTG Sub Interface IXP Manager

Nick Hilliard (INEX) nick at inex.ie
Sat Sep 5 09:38:41 IST 2020


It looks like Cisco report the interface as type l2vlan instead of 
l3ipvlan.  Every vendor does something different here - it's a real 
nuisance.

Can you temporarily apply the attached patch and see if it fixes the 
problem?

% cd /srv/ixpmanager
% patch -p1 < iftype.patch
% ./artisan switch:snmp-poll


Nick
> Hersan Yudhaprana <mailto:hersan_firman at biznetnetworks.com>
> 5 September 2020 at 01:42
> Dear Nick,
>
> The sub interface still doesn't appears. So this is result of snmpwalk.
>
> https://pastebin.ibn.ie/?6c43954a0ee6c4ef#9MEQHsRKEo5VmjAMNhCihup391NuYJZWHXo6KssgXejY
>
> -- 
> Regards,
>
> Hersan Yudhaprana Firman
> Internet Network Engineer
> ---------------------------------------------------------------
> PT. Supra Primatama Nusantara (Biznet)
> MidPlaza 2, 8th Floor. Jl. Jend. Sudirman Kav 10-11.
> Jakarta 10220 - Indonesia.
> Phone: +62-21-57998888 Fax: +62-21-5700580
> Call Biznet: 1500988 Web: www.biznetnetworks.com.
> ---------------------------------------------------------------
> Biznet is an integrated digital infrastructure company in Indonesia, 
> providing Internet, Data Center, Cloud Computing and IPTV services. We 
> have a strong commitment to build modern infrastructure to reduce 
> digital gap between Indonesia and other developing countries. Biznet 
> has been operating thousands of KM state of the art Fiber Optic 
> Network and the largest data center in Indonesia since 2000.
>
> Biznet Internet + IPTV services are available in 110+ cities in Java, 
> Bali, Sumatra, Batam, Kalimantan and Sulawesi islands, please visit 
> http://www.biznetnetworks.com/fiber for complete city list.
>
> Biznet GIO Cloud is The Newest Generation of Cloud Computing Service, 
> please visit www.biznetgiocloud.com for details.
>
> This message including any attachments, is intended only for the 
> person authorized to receive it, therefore the recipient must maintain 
> the confidentiality of this information in accordance with the 
> provisions and / or policies of PT. Supra Primatama Nusantara 
> (Biznet). If you are not the person authorized to receive this message 
> then you must remove from your system and destroy all material or 
> information derived from this information together with all copies and 
> immediately notify the sender. Please note also that any disclosure, 
> copy, distribute and / or other actions based on this information is 
> prohibited and may violate the rule of law.
> On 05/09/2020 3:49, Nick Hilliard (INEX) wrote:
>
> Nick Hilliard (INEX) <mailto:nick at inex.ie>
> 4 September 2020 at 21:49
> Ok. Can you run from the IXP Manager directory:
>
> % ./artisan switch:snmp-poll
> % systemctl restart memcached.service
>
> Then check if the interface appears in "View / Edit Ports" in either 
> the Database Actions or the SNMP Actions in 
> https://bix.biznetnetworks.com/switch/list ?
>
> If it doesn't appear, can you run:
>
> snmpwalk -v 2c -c COMMUNITY SWITCHIPADDRESS .1.3.6.1.2.1.2.2.1.1
> snmpwalk -v 2c -c COMMUNITY SWITCHIPADDRESS .1.3.6.1.2.1.2.2.1.2
> snmpwalk -v 2c -c COMMUNITY SWITCHIPADDRESS .1.3.6.1.2.1.2.2.1.3
>
> and post the output on pastebin.ibn.ie?
>
> Nick
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Hersan Yudhaprana <mailto:hersan_firman at biznetnetworks.com>
> 4 September 2020 at 18:26
> Dear Nick,
>
> Yep its does.
>
>
>
> -- 
> Regards,
>
> Hersan Yudhaprana Firman
> Internet Network Engineer
> ---------------------------------------------------------------
> PT. Supra Primatama Nusantara (Biznet)
> MidPlaza 2, 8th Floor. Jl. Jend. Sudirman Kav 10-11.
> Jakarta 10220 - Indonesia.
> Phone: +62-21-57998888 Fax: +62-21-5700580
> Call Biznet: 1500988 Web: www.biznetnetworks.com.
> ---------------------------------------------------------------
> Biznet is an integrated digital infrastructure company in Indonesia, 
> providing Internet, Data Center, Cloud Computing and IPTV services. We 
> have a strong commitment to build modern infrastructure to reduce 
> digital gap between Indonesia and other developing countries. Biznet 
> has been operating thousands of KM state of the art Fiber Optic 
> Network and the largest data center in Indonesia since 2000.
>
> Biznet Internet + IPTV services are available in 110+ cities in Java, 
> Bali, Sumatra, Batam, Kalimantan and Sulawesi islands, please visit 
> http://www.biznetnetworks.com/fiber for complete city list.
>
> Biznet GIO Cloud is The Newest Generation of Cloud Computing Service, 
> please visit www.biznetgiocloud.com for details.
>
> This message including any attachments, is intended only for the 
> person authorized to receive it, therefore the recipient must maintain 
> the confidentiality of this information in accordance with the 
> provisions and / or policies of PT. Supra Primatama Nusantara 
> (Biznet). If you are not the person authorized to receive this message 
> then you must remove from your system and destroy all material or 
> information derived from this information together with all copies and 
> immediately notify the sender. Please note also that any disclosure, 
> copy, distribute and / or other actions based on this information is 
> prohibited and may violate the rule of law.
> On 04/09/2020 23:49, Nick Hilliard (INEX) wrote:
>
> Nick Hilliard (INEX) <mailto:nick at inex.ie>
> 4 September 2020 at 17:49
> Does the subinterface appear when you run snmpwalk on that switch:
>
> snmpwalk -v 2c -c COMMUNITYSWITCHIPADDRESS  .1.3.6.1.2.1.2.2.1.2
>
> Nick
>
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Hersan Yudhaprana <mailto:hersan_firman at biznetnetworks.com>
> 4 September 2020 at 16:27
> Dear Nick,
>
> Still the same, sub interface still not appear. I already tried cisco 
> and huawei router, the result is same.
>
> -- 
> Regards,
>
> Hersan Yudhaprana Firman
> Internet Network Engineer
> ---------------------------------------------------------------
> PT. Supra Primatama Nusantara (Biznet)
> MidPlaza 2, 8th Floor. Jl. Jend. Sudirman Kav 10-11.
> Jakarta 10220 - Indonesia.
> Phone: +62-21-57998888 Fax: +62-21-5700580
> Call Biznet: 1500988 Web: www.biznetnetworks.com.
> ---------------------------------------------------------------
> Biznet is an integrated digital infrastructure company in Indonesia, 
> providing Internet, Data Center, Cloud Computing and IPTV services. We 
> have a strong commitment to build modern infrastructure to reduce 
> digital gap between Indonesia and other developing countries. Biznet 
> has been operating thousands of KM state of the art Fiber Optic 
> Network and the largest data center in Indonesia since 2000.
>
> Biznet Internet + IPTV services are available in 110+ cities in Java, 
> Bali, Sumatra, Batam, Kalimantan and Sulawesi islands, please visit 
> http://www.biznetnetworks.com/fiber for complete city list.
>
> Biznet GIO Cloud is The Newest Generation of Cloud Computing Service, 
> please visit www.biznetgiocloud.com for details.
>
> This message including any attachments, is intended only for the 
> person authorized to receive it, therefore the recipient must maintain 
> the confidentiality of this information in accordance with the 
> provisions and / or policies of PT. Supra Primatama Nusantara 
> (Biznet). If you are not the person authorized to receive this message 
> then you must remove from your system and destroy all material or 
> information derived from this information together with all copies and 
> immediately notify the sender. Please note also that any disclosure, 
> copy, distribute and / or other actions based on this information is 
> prohibited and may violate the rule of law.
> On 04/09/2020 18:16, Nick Hilliard (INEX) wrote:
>
> ------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200905/0b060ac9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 1907 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200905/0b060ac9/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7375 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200905/0b060ac9/attachment-0003.png>
-------------- next part --------------
diff --git a/database/Entities/Switcher.php b/database/Entities/Switcher.php
index 4b8b3cc5..88f31594 100644
--- a/database/Entities/Switcher.php
+++ b/database/Entities/Switcher.php
@@ -768,7 +768,9 @@ class Switcher
         foreach( $host->useIface()->indexes() as $index ) {
 
             // we're only interested in Ethernet ports here (right?)
-            if( $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_ETHERNETCSMACD && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_L3IPVLAN ) {
+            if( $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_ETHERNETCSMACD
+                && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_L2VLAN
+                && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_L3IPVLAN ) {
                 continue;
             }
 


More information about the ixpmanager mailing list