<div dir="ltr">Mike.  Arista 7280R/R2 and 7500R/R2 series can support per port/vlan counters via Layer 2 subinterface (packets, bytes and rates).  The feature TOI is here (the egress counter restriction is resolved in the latest EOS release):<div><a href="https://eos.arista.com/eos-4-21-1f/l2-sub-interfaces/">https://eos.arista.com/eos-4-21-1f/l2-sub-interfaces/</a></div><div><br></div><div>L2 subinterfaces are a different config model than a trunk interface (benefiting from things like counters among others).  There are also scale and feature interaction considerations (see TOI).  The counters are exposed via SNMP as well.<br><div><br></div><div>There is also the ability to match vlan as part of a policy map for which class matches can be counted (but this is ingress only with packet wise counting):</div><div><a href="https://eos.arista.com/eos-4-17-0f/per-port-per-vlan-qos/">https://eos.arista.com/eos-4-17-0f/per-port-per-vlan-qos/</a><br></div></div><div><br></div><div>There is of course sFlow for which many platforms support aggressive sampling rates which may provide the granularity you require.</div><div><br></div><div>Regards.</div><div><br></div><div>david</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 9, 2019 at 2:09 PM Patrik Olsson via arista-nsp <<a href="mailto:arista-nsp@puck.nether.net">arista-nsp@puck.nether.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: Patrik Olsson <<a href="mailto:darkiesan@me.com" target="_blank">darkiesan@me.com</a>><br>To: Mike Hammett <<a href="mailto:arista-nsp@ics-il.net" target="_blank">arista-nsp@ics-il.net</a>>, Doug McIntyre <<a href="mailto:merlyn@geeks.org" target="_blank">merlyn@geeks.org</a>>, Patrik Olsson via arista-nsp <<a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a>><br>Cc: <br>Bcc: <br>Date: Mon, 9 Dec 2019 20:09:24 +0100<br>Subject: Re: [a-nsp] VLAN in SNMP Interface Table<br><div style="overflow-wrap: break-word;">Counting packets gives no insight, not even per VLAN.<div>I would rather get a good free (or cheap) sFlow probe, like InMons.</div><div>There you can get graphs in anyway you like it. Per port, Per VLAN etc.</div><div>And it also gives graphs and insight to application layer (i.e. L3 and L4 headers in the packet).</div><div>And sFlow is supported in Arista gear.</div><div><br></div><div>Just my 50 cent</div><div>Patrik</div><div><br></div><div><div><br><blockquote type="cite"><div>On 9 Dec 2019, at 15:35, Mike Hammett <<a href="mailto:arista-nsp@ics-il.net" target="_blank">arista-nsp@ics-il.net</a>> wrote:</div><br><div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:arial,helvetica,sans-serif;font-size:10pt">Except VLANs are touched by the layer 2 switch and routed accordingly. Using the mail\post office analogy, it would be like a suite or apartment number at a given address.<div><br></div><div><br></div><div>I'm not going to try to force Arista into my need. If Arista doesn't do it, then I'll move on. It doesn't seem like they do.<br><br><div><span name="x"></span><br style="font-family:"times new roman";font-size:12px;line-height:normal"><br style="font-family:"times new roman";font-size:12px;line-height:normal"><span style="font-family:"times new roman";font-size:12px;line-height:normal">-----</span><br style="font-family:"times new roman";font-size:12px;line-height:normal"><span style="font-family:"times new roman";font-size:12px;line-height:normal">Mike Hammett</span><br style="font-family:"times new roman";font-size:12px;line-height:normal"><a href="http://www.ics-il.com/" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank">Intelligent Computing Solutions</a><br style="font-family:"times new roman";font-size:12px;line-height:normal"><a href="https://www.facebook.com/ICSIL" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/fbicon.png"></a><a href="https://plus.google.com/+IntelligentComputingSolutionsDeKalb" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/googleicon.png"></a><a href="https://www.linkedin.com/company/intelligent-computing-solutions" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/linkedinicon.png"></a><a href="https://twitter.com/ICSIL" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/twittericon.png"></a><br style="font-family:"times new roman";font-size:12px;line-height:normal"><a href="http://www.midwest-ix.com/" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank">Midwest Internet Exchange</a><br style="font-family:"times new roman";font-size:12px;line-height:normal"><a href="https://www.facebook.com/mdwestix" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/fbicon.png"></a><a href="https://www.linkedin.com/company/midwest-internet-exchange" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/linkedinicon.png"></a><a href="https://twitter.com/mdwestix" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/twittericon.png"></a><br style="font-family:"times new roman";font-size:12px;line-height:normal"><a href="http://www.thebrotherswisp.com/" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank">The Brothers WISP</a><br style="font-family:"times new roman";font-size:12px;line-height:normal"><a href="https://www.facebook.com/thebrotherswisp" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/fbicon.png"></a><a href="https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg" rel="nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="font-family:"times new roman";font-size:12px;line-height:normal" target="_blank"><img src="http://www.ics-il.com/images/youtubeicon.png"></a><span name="x"></span><br></div><hr id="gmail-m_3787319948776963376zwchr"><div style="font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From:<span> </span></b>"Doug McIntyre" <<a href="mailto:merlyn@geeks.org" target="_blank">merlyn@geeks.org</a>><br><b>To:<span> </span></b><a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a><br><b>Sent:<span> </span></b>Monday, December 9, 2019 8:32:07 AM<br><b>Subject:<span> </span></b>Re: [a-nsp] VLAN in SNMP Interface Table<br><br><br>I'd count the packets exiting a port as doing some work.<br><br>Maybe a better analogy would be you have a bunch of envelopes sent<br>through the post office. You are asking a counter to see how many<br>pieces of paper are in each envelope. The post office only delivers<br>the envelopes, so we have a total count of envelopes. Only if we need<br>to burst open the envelopes (layer-3) and start routing the pieces of paper<br>based on their top tag, will we have counters on them. As long as the<br>post office keeps forwarding intact envelopes (ie. layer-2), we won't have<br>visibility into inside.<br><br><br><br><br>On Mon, Dec 09, 2019 at 07:40:00AM -0600, Mike Hammett wrote:<br>> If the first paragraph were true, we'd never have port counters on a switch.<span> </span><br>><span> </span><br>><span> </span><br>><span> </span><br>><span> </span><br>> -----<span> </span><br>> Mike Hammett<span> </span><br>> Intelligent Computing Solutions<span> </span><br>><span> </span><br>> Midwest Internet Exchange<span> </span><br>><span> </span><br>> The Brothers WISP<span> </span><br>><span> </span><br>> ----- Original Message -----<br>><span> </span><br>> From: "Doug McIntyre" <<a href="mailto:merlyn@geeks.org" target="_blank">merlyn@geeks.org</a>><span> </span><br>> To:<span> </span><a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a><span> </span><br>> Sent: Monday, December 9, 2019 7:36:05 AM<span> </span><br>> Subject: Re: [a-nsp] VLAN in SNMP Interface Table<span> </span><br>><span> </span><br>> On Sun, Dec 08, 2019 at 06:02:47PM -0600, Mike Hammett wrote:<span> </span><br>> > This looks like it's only on layer 3 interfaces, which doesn't do me a whole lot of good.<span> </span><br>><span> </span><br>><span> </span><br>> I don't know of any hardware that keeps track of layer-2 VLAN packet<span> </span><br>> counts going through the switch. Generally, stats are updated on times<span> </span><br>> when switches have to _do_ something. Forwarding along layer-2 is<span> </span><br>> usually done in ASICs and the switch doesn't do anything special for<span> </span><br>> decoding the VLAN headers. OOTH, doing a layer-3 routing termination<span> </span><br>> is doing something, which is where I measure everything, on the<span> </span><br>> layer-3 edge. And every type of hardware I touch can monitor that.<span> </span><br>><span> </span><br>> As posted before, if you need this sort of thing, you'll probably have<span> </span><br>> to go to sflow type collectors in order to get what you want. Or<span> </span><br>> consider making your network do layer-3 VLAN terminations somewhere so<span> </span><br>> that you can measure it.<span> </span><br>><span> </span><br>> Perhaps there is some weird EVPN/vxlan setup you could make that the<span> </span><br>> switch will have to do punting of traffic out to a VTEP, and you could<span> </span><br>> measure those counts, but I have zero experience monitoring such a setup.<span> </span><br>><span> </span><br>> --<span> </span><br>> arista-nsp mailing list<span> </span><br>><span> </span><a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a><span> </span><br>><span> </span><a href="https://puck.nether.net/mailman/listinfo/arista-nsp" target="_blank">https://puck.nether.net/mailman/listinfo/arista-nsp</a><span> </span><br>><span> </span><br>--<span> </span><br>arista-nsp mailing list<br><a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/arista-nsp" target="_blank">https://puck.nether.net/mailman/listinfo/arista-nsp</a><br></div><br></div></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">--<span> </span></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">arista-nsp mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><a href="mailto:arista-nsp@puck.nether.net" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">arista-nsp@puck.nether.net</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><a href="https://puck.nether.net/mailman/listinfo/arista-nsp" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://puck.nether.net/mailman/listinfo/arista-nsp</a></div></blockquote></div><br></div></div><br><br><br>---------- Forwarded message ----------<br>From: Patrik Olsson via arista-nsp <<a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a>><br>To: Mike Hammett <<a href="mailto:arista-nsp@ics-il.net" target="_blank">arista-nsp@ics-il.net</a>>, Doug McIntyre <<a href="mailto:merlyn@geeks.org" target="_blank">merlyn@geeks.org</a>>, Patrik Olsson via arista-nsp <<a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a>><br>Cc: <br>Bcc: <br>Date: Mon, 9 Dec 2019 20:09:24 +0100<br>Subject: Re: [a-nsp] VLAN in SNMP Interface Table<br>-- <br>
arista-nsp mailing list<br>
<a href="mailto:arista-nsp@puck.nether.net" target="_blank">arista-nsp@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/arista-nsp" rel="noreferrer" target="_blank">https://puck.nether.net/mailman/listinfo/arista-nsp</a><br>
</blockquote></div>