<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: ifInOctets and ifOutOctets counters not increasing for vlans in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50708#M13659</link>
    <description>&lt;BR /&gt;
Hello Fabien,&lt;BR /&gt;
  &lt;BR /&gt;
I'll research this next week forward results. &lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Mike&lt;BR /&gt;
&lt;BR /&gt;
ps:&lt;BR /&gt;
Your request seems straightforward enough - but packet and byte counts make more sense to me at the port level.  What you see is what you get.  &lt;BR /&gt;
Vlan traffic on the other hand - thats a project.  &lt;BR /&gt;
Of interest are counters per vlan and per vlan per port. Counters for routed traffic, ACL activity, encapsulations, L3 checksum etc.  &lt;BR /&gt;
Local traffic into and out of the vlan needs calculation.  Flooded unicast will ingress once but replicate for n-1 vlan ports.  Similar issues with broadcast and multicast. Seems like all this should be possible but I cant picture how it might work.&lt;BR /&gt;
I'd be interested to hear others' experience with this info.   &lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Sat, 22 Aug 2015 00:50:00 GMT</pubDate>
    <dc:creator>Mike_D</dc:creator>
    <dc:date>2015-08-22T00:50:00Z</dc:date>
    <item>
      <title>ifInOctets and ifOutOctets counters not increasing for vlans</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50707#M13658</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;the traffic counters do not increase (all = 0) for all vlans I created on Summit X480-48t (EXOS 15.7.2.9)&lt;BR /&gt;&lt;BR /&gt;according to &lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000088473" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000088473&lt;/A&gt;&lt;BR /&gt;ifInUcastPkts and IfInNUcastPkts are not supported.&lt;BR /&gt;But nothing about ifInOctets and ifOutOctets&lt;BR /&gt;&lt;BR /&gt;On my Summit X480-48t, for example, the UP_MGW vlan is created with the following commands:&lt;BR /&gt;create vlan UP_MGW&lt;BR /&gt;configure vlan UP_MGW tag 651&lt;BR /&gt;configure vlan UP_MGW add ports 7 tagged&lt;BR /&gt;configure ports 7 monitor vlan UP_MGW&lt;BR /&gt;&lt;BR /&gt;In the snmpwalk printout, ifInOctets and ifOutOctets counters (among others) are not incremented for this vlan, although I am sure there is traffic on this vlan.&lt;BR /&gt;Same issue for all created vlans : their counters are frozen at 0.&lt;BR /&gt;&lt;BR /&gt;For instance for the UP_MGW vlan ;&lt;BR /&gt;IF-MIB::ifDescr.1000086 = STRING: VLAN 00651 (UP_MGW)&lt;BR /&gt;IF-MIB::ifInOctets.1000086 = Counter32: 0&lt;BR /&gt;IF-MIB::ifOutOctets.1000086 = Counter32: 0&lt;BR /&gt;&lt;BR /&gt;Indexes from 1000001 to 1000090 corresponds to the vlans I created by CLI commands (for instance "UP_MGW"). Those indexes are "dynamics".&lt;BR /&gt;&lt;BR /&gt;Indexes from 1001 to 1048 corresponds to the 48 physical ports of the switch.&lt;BR /&gt;For those indexes, IF-MIB::ifInOctets and IF-MIB::ifOutOctets work fine, they are increasing.&lt;BR /&gt;&lt;BR /&gt;But all ifInOctets and ifOutOctets are blocked to zero:&lt;BR /&gt;IF-MIB::ifInOctets.1000001 = Counter32: 0&lt;BR /&gt;...&lt;BR /&gt;IF-MIB::ifInOctets.1000111 = Counter32: 0&lt;BR /&gt;&lt;BR /&gt;IF-MIB::ifOutOctets.1000001 = Counter32: 0&lt;BR /&gt;...&lt;BR /&gt;IF-MIB::ifOutOctets.1000111 = Counter32: 0&lt;BR /&gt;&lt;BR /&gt;How to "activate" the counters related to user-created vlans that we can fetch with snmp ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Fabien-&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:55:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50707#M13658</guid>
      <dc:creator>Fabien_Brillard</dc:creator>
      <dc:date>2015-08-21T20:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: ifInOctets and ifOutOctets counters not increasing for vlans</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50708#M13659</link>
      <description>&lt;BR /&gt;
Hello Fabien,&lt;BR /&gt;
  &lt;BR /&gt;
I'll research this next week forward results. &lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Mike&lt;BR /&gt;
&lt;BR /&gt;
ps:&lt;BR /&gt;
Your request seems straightforward enough - but packet and byte counts make more sense to me at the port level.  What you see is what you get.  &lt;BR /&gt;
Vlan traffic on the other hand - thats a project.  &lt;BR /&gt;
Of interest are counters per vlan and per vlan per port. Counters for routed traffic, ACL activity, encapsulations, L3 checksum etc.  &lt;BR /&gt;
Local traffic into and out of the vlan needs calculation.  Flooded unicast will ingress once but replicate for n-1 vlan ports.  Similar issues with broadcast and multicast. Seems like all this should be possible but I cant picture how it might work.&lt;BR /&gt;
I'd be interested to hear others' experience with this info.   &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Aug 2015 00:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50708#M13659</guid>
      <dc:creator>Mike_D</dc:creator>
      <dc:date>2015-08-22T00:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: ifInOctets and ifOutOctets counters not increasing for vlans</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50709#M13660</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
That part of the interface MIB has never worked, as far as I can remember (back to Extremeware days).  We wanted to use it in 1999 for data centre customer billing and failed!&lt;BR /&gt;
&lt;BR /&gt;
The good news is that you can use per-vlan statistics to see this information via the CLI - however, there is more bad news in that there's a bug that stops that from working properly in SNMP on some platforms.  I have made this work on an X670V, but couldn't do it on an X460 - it may work out OK on an X480.&lt;BR /&gt;
&lt;BR /&gt;
Repeat this commans for all the ports/VLANs you want to get stats for:&lt;BR /&gt;
configure port X monitor vlan &lt;VLANNAME&gt;&lt;BR /&gt;
&lt;BR /&gt;
Then look in the EXTREME-VLAN-MIB - specifically, extremePortVlanTotalReceivedBytesCounter and extremePortVlanTotalTransmittedBytesCounter entries.&lt;BR /&gt;
&lt;BR /&gt;
On the CLI you can see things with: show port X vlan statistics&lt;BR /&gt;
&lt;BR /&gt;
Michael - I have an open case 01095802 about this issue.&lt;BR /&gt;
&lt;BR /&gt;
Paul.&lt;BR /&gt;
&lt;BR /&gt;&lt;/VLANNAME&gt;</description>
      <pubDate>Sun, 23 Aug 2015 18:46:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50709#M13660</guid>
      <dc:creator>Paul_Thornton</dc:creator>
      <dc:date>2015-08-23T18:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: ifInOctets and ifOutOctets counters not increasing for vlans</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50710#M13661</link>
      <description>Hi,&lt;BR /&gt;
thanks both for your replies., I appreciate your feedback&lt;BR /&gt;
&lt;BR /&gt;
@ Mike :&lt;BR /&gt;
I need counters on vlans , not on ports, because traffic types on vlan#1, vlan2, etc from a same equimement (getting in he Summit on a same port) are different, and I need to build KPI's with counters for the different traffic types.&lt;BR /&gt;
&lt;BR /&gt;
I already have the in/out unicast counters for vlans, with CLI. &lt;BR /&gt;
So EXOS is already counting bytes on each vlans. To me it does not seem so hard, in the code, to duplicate those counters into snmp.&lt;BR /&gt;
(for information, for my current project, I do the same (I fetch user-created vlans counters by snmp) on Ericsson routers and it worls fine.)&lt;BR /&gt;
&lt;BR /&gt;
@Paul :&lt;BR /&gt;
you're right, I do have the in/out unicast counters for vlans, with CLI ("show port X vlan statistics",  initialized by "configure port X monitor vlan..."), and they work fine.&lt;BR /&gt;
&lt;BR /&gt;
But not with snmp : I went through the entire snmpwalk printout , found the counters that have been dynamically created by EXOS (OID IF-MIB::ifInOctets.&lt;I&gt; with index=1000001..1000090), but values are blocked to zero. &lt;BR /&gt;
&lt;BR /&gt;
(for comparision, the same counters for the physical ports have fixed indexes, from 1001 to 1048, under the same OID. &lt;BR /&gt;
Extract of  swmpwalk printout :&lt;BR /&gt;
IF-MIB::ifInOctets.1001 = Counter32: 14124053           &amp;lt;-- port 1  (counter OK)&lt;BR /&gt;
IF-MIB::ifInOctets.1002 = Counter32: 6511416             &amp;lt;-- port 2  (counter OK)&lt;BR /&gt;
...&lt;BR /&gt;
IF-MIB::ifInOctets.1048 = Counter32: 6259359             &amp;lt;-- port 48  (counter OK)&lt;BR /&gt;
IF-MIB::ifInOctets.1049 = Counter32: 56854                &amp;lt;-- port management  (counter OK)&lt;BR /&gt;
IF-MIB::ifInOctets.1000001 = Counter32: 0                 &amp;lt;-- vlan #1 created by user (counter=0)&lt;BR /&gt;
IF-MIB::ifInOctets.1000002 = Counter32: 0                  &amp;lt;-- vlan #2 created by user (counter=0)&lt;BR /&gt;
IF-MIB::ifInOctets.1000003 = Counter32: 0&lt;BR /&gt;
...&lt;BR /&gt;
same for ifOutOctets)&lt;BR /&gt;
&lt;BR /&gt;
I will look deeper in your comments regarding " EXTREME-VLAN-MIB , , extremePortVlanTotalReceivedBytesCounter , extremePortVlanTotalTransmittedBytesCounter", I haven't seen such counters so far.&lt;BR /&gt;
&lt;BR /&gt;
Maybe, user-created vlans dynamic counters fetchable by snmp are not completely implemented (counters are successfully created, but not updated with values).&lt;BR /&gt;
But I found a post, on a different subject, but with a snapshot showing ifInOctets *NON zero* under  .1.3.6.1.2.1.2.2.1.10 (IF-MIB::ifInOctets) with index = 12001.&lt;BR /&gt;
As the index with rather big (&amp;gt; 1049), I believe this corresponds to a dynamic counters (I mean created by EXOS, besides the fixed counters for the physical ports), and I guess this is for a vlan (what else could it be ?):&lt;BR /&gt;
 &lt;A href="https://community.extremenetworks.com/extreme/topics/oid_for_interface_counters?topic-reply-list%5bsettings%5d%5bfilter_by%5d=all" target="_blank" rel="nofollow noreferrer noopener"&gt;https://community.extremenetworks.com/extreme/topics/oid_for_interface_counters?topic-reply-list[settings][filter_by]=all&lt;/A&gt;  &lt;BR /&gt;
&lt;BR /&gt;
So  now I understand it must be working, somehow ... ?&lt;BR /&gt;
Maybe we have to initialize something, exactly as we have to do get those counters by CLI ("configure port X monitor vlan...")&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Fabien-&lt;/I&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50710#M13661</guid>
      <dc:creator>Fabien_Brillard</dc:creator>
      <dc:date>2015-08-24T14:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: ifInOctets and ifOutOctets counters not increasing for vlans</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50711#M13662</link>
      <description>&lt;P&gt;Hi Fabien,&lt;BR /&gt;&lt;BR /&gt;I took a look at your query and following some tests in the lab I can confirm that the article below is correct.&lt;BR /&gt;&lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000088473" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000088473&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;From my lab, the MIB "ifDesc" shows port 13 and the VLAN named mib as below respectively:-&lt;BR /&gt;&lt;BR /&gt;x.x.0.38 ifDescr 1013 Display String X460-48p Port 13 X460-48p Port 13&lt;BR /&gt;&lt;BR /&gt;x.x.0.38 ifDescr 1000023 Display String VLAN 00333 (mib) VLAN 00333 (mib)&lt;BR /&gt;&lt;BR /&gt;And when I get those MIBs on the switch the output is as you described.&lt;BR /&gt;&lt;BR /&gt;* X460-48p.3 # show snmp get 1.3.6.1.2.1.2.2.1.10.1013&lt;BR /&gt;ifTable.1.10.1013 = 14058399&lt;BR /&gt;&lt;BR /&gt;* X460-48p.3 # show snmp get 1.3.6.1.2.1.2.2.1.10.1000023&lt;BR /&gt;ifTable.1.10.1000023 = 0&lt;BR /&gt;&lt;BR /&gt;The confusion may be because the tab in the link you mentioned; where this looks to be working, is for our S-Series Product.&lt;BR /&gt;&lt;BR /&gt;However a "feature request" has been opened with our Product Management to consider adding those counter for VLANs on EXOS Products.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andy Vaughan.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 21:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ifinoctets-and-ifoutoctets-counters-not-increasing-for-vlans/m-p/50711#M13662</guid>
      <dc:creator>Anderson_Vaugha</dc:creator>
      <dc:date>2015-08-26T21:06:00Z</dc:date>
    </item>
  </channel>
</rss>

