Statistics for multiple VLAN taggged interface instances do not show values per VLAN (Doc ID 1345827.1)

Last updated on DECEMBER 05, 2014

Applies to:

Sun Dual 10GbE XFP PCIe Card - Version Not Applicable and later
Solaris SPARC Operating System - Version 10 10/09 U8 and later
Sun Quad GbE x8 PCIe ExpressModule - Version Not Applicable and later
Information in this document applies to any platform.
***Checked for relevance on 07-May-2013***
***Checked for relevance on 05-Dec-2014***


If a system is configured with multiple tagged VLANs on its network interfaces, the statistics counters are not incremented per VLAN but show interface totals. Services like the SNMP agent report the same stats for all VLANs.

An interface with multiple tagged VLAN instance looks like this in the ifconfig -a output :

e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 16128 index 38
inet netmask ffffff00 broadcast ether 0:7:e9:1a:fa:ac
e1000g30000: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 16128 index 49
inet netmask ffffff00 broadcast ether 0:7:e9:1a:fa:ac
e1000g31000: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 16128 index 50
inet netmask ffffff00 broadcast ether 0:7:e9:1a:fa:ac
e1000g32000: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 16128 index 51
inet netmask ffffff00 broadcast ether 0:7:e9:1a:fa:ac

In this example we have an e1000g interface with non-tagged instance 0 and 3 VLAN tagged instances which use the same physical interface.

The symptom covered in this document is seen when checking the statistics per instance.
E.g. inbound packets kstat statistics shows the same number for all instances :

e1000g:0:e1000g0:ipackets64 3451619219
e1000g:30000:e1000g30000:ipackets64 3451619226
e1000g:31000:e1000g31000:ipackets64 3451619226
e1000g:32000:e1000g32000:ipackets64 3451619226

Other software using these counters (like the SNMP agent) act accordingly.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms