Template for traffic on interface.vlan on HUAWEI router
Moderators: Developers, Moderators
Template for traffic on interface.vlan on HUAWEI router
Hello, sorry I am very new in cacti. I have a router HUAWEI NE40E-X16 in cacti with some traffic interfaces monitored ok, but when these interfaces are vlan interfaces the traffic graphs don´t work right. For instance:
Eth-Trunk12 works fine (traffic on interface)
Eth-Trunk12.6 does not work fine (traffic on Vlan ID 6)
Eth-Trunk12.7 does not work fine (traffic on Vlan ID 7)
I guess the problem is all of them are using a interface traffic template and I should import the proper template for the ones with vlanId. Could you help me with it? I searched on the forum but I wasn´t able to find the solution (probably my fault). Thanks in advance.
Eth-Trunk12 works fine (traffic on interface)
Eth-Trunk12.6 does not work fine (traffic on Vlan ID 6)
Eth-Trunk12.7 does not work fine (traffic on Vlan ID 7)
I guess the problem is all of them are using a interface traffic template and I should import the proper template for the ones with vlanId. Could you help me with it? I searched on the forum but I wasn´t able to find the solution (probably my fault). Thanks in advance.
Re: Template for traffic on interface.vlan on HUAWEI router
Many devices do NOT give out stats for sub interfaces, Cisco's are one such product known to give that warning. I'm not sure about HUAWEI but that is likely to be the same. Only the physical interfaces tend to have the full stats.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Template for traffic on interface.vlan on HUAWEI router
Firstly, Thanks for the quick reply.
Are you sure? I have been told by some IP colleagues that it is indeed posible, but there is something that must be done with the template, that is why I was asking.
Regards
Are you sure? I have been told by some IP colleagues that it is indeed posible, but there is something that must be done with the template, that is why I was asking.
Regards
Re: Template for traffic on interface.vlan on HUAWEI router
Best way to be sure, check out the OID's for those sub interfaces, do they give a value or not?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Template for traffic on interface.vlan on HUAWEI router
Sorry, I am not sure how to do it, I am a beginner on this issues...
Re: Template for traffic on interface.vlan on HUAWEI router
i managed to check it, and indeed it should be possible as the value is returned:
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.160
IF-MIB::ifName.160 = STRING: Eth-Trunk50
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.161
IF-MIB::ifName.161 = STRING: Eth-Trunk50.650
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.163
IF-MIB::ifName.163 = STRING: Eth-Trunk50.651
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.160
IF-MIB::ifInOctets.160 = Counter32: 2170823636
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.161
IF-MIB::ifInOctets.161 = Counter32: 19843097
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.163
IF-MIB::ifInOctets.163 = Counter32: 17499219
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.160
IF-MIB::ifOutOctets.160 = Counter32: 1813395372
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.161
IF-MIB::ifOutOctets.161 = Counter32: 97925622
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.163
IF-MIB::ifOutOctets.163 = Counter32: 9949194
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.160
IF-MIB::ifName.160 = STRING: Eth-Trunk50
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.161
IF-MIB::ifName.161 = STRING: Eth-Trunk50.650
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.163
IF-MIB::ifName.163 = STRING: Eth-Trunk50.651
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.160
IF-MIB::ifInOctets.160 = Counter32: 2170823636
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.161
IF-MIB::ifInOctets.161 = Counter32: 19843097
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.163
IF-MIB::ifInOctets.163 = Counter32: 17499219
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.160
IF-MIB::ifOutOctets.160 = Counter32: 1813395372
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.161
IF-MIB::ifOutOctets.161 = Counter32: 97925622
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.163
IF-MIB::ifOutOctets.163 = Counter32: 9949194
Re: Template for traffic on interface.vlan on HUAWEI router
For the records, I managed to solve the issue. I was not related with cacti but also the subinterface configuration, it was neccesary to apply the "statistics enable" command to get the right ones.
Re: Template for traffic on interface.vlan on HUAWEI router
for the interface vlan you need add "statistic enable" in to de vlan configuration, not into de interface vlan configuration. the statistics is not a default parameter for some interfaces created manually like sub interfaces o eth-trunks.
Who is online
Users browsing this forum: No registered users and 12 guests