IF-MIB question

Johan Huysmans <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

For monitoring purposes I want to read out interface statistics of a 
linux device (CentOS 5 - net-snmp-5.3.2.2-9).

When performing a walk I get following information:
# snmpwalk -v 2c -c public localhost
...
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: eth0.10
IF-MIB::ifDescr.5 = STRING: eth0.11
IF-MIB::ifDescr.6 = STRING: eth0.14
...
IF-MIB::ifInOctets.1 = Counter32: 168254669
IF-MIB::ifInOctets.2 = Counter32: 3560008929
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 2817298629
IF-MIB::ifInOctets.5 = Counter32: 145439114
IF-MIB::ifInOctets.6 = Counter32: 674806691
...

It seems that the information of the vlan interfaces (4-5-6) are 
included in the main interface (2).
Is this correct?

I notice this that when large amount of traffic is send through eth0.14, 
the eth0 also counts a large amount of traffic.

Can someone explain the relation between the eth0 and eth0.x devices?

How can I monitor the traffic send on eth0 without any vlan traffic?

Thanks in advance!
Johan Huysmans



Discover our world of Innovation and Product leadership - Be efficient, end-to-end with FlexACM  Find out more @ www.newtec.eu/flexacm Meet us @ www.newtec.eu/events   *** e-mail confidentiality footer ***  This message and any attachments thereto are confidential. They may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the content of 
 this message, which may arise as a result of e-mail transmission. If verification is required, please request a hard copy.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.