Skip to main content

VLANStats

Counts bytes per 802.1Q VLAN, keyed by the VLAN ID in 4-digit hex.

PropertyValue
GUID{0EC72E9E-3AD2-43FD-8173-74693EEA08D0}
LayerL2 Link
InputPackets, Flows
Key typeVLAN ID (4 hex digits)
ImplementationNative C++ — CPICGVLAN (group), CPIMacStats (packet metering) (trisul_probe/src/sysplugs/counters); CPISFlowMeter (sysplugs/flowhandlers)
Bucket / Topper60 s / 300 s
Enabled by defaultYes

What it measures​

  • Packets: every Ethernet II frame updates one key with its wire length. A frame with EtherType 8100 goes to its VLAN ID. Any other frame goes to UNTG.
  • Only the outer 802.1Q tag is counted. A double-tagged 8100 frame counts under its outer VLAN ID. QinQ frames with an outer EtherType of 88A8 or 9100 count as UNTG.
  • The key is the full 12-bit VLAN ID (0–4095).
  • sFlow (policy MeterVLAN, default on): each sample adds its bytes to the input VLAN (meters 0 and 1) and to the output VLAN (meters 0 and 2). The full 12-bit ID is used.
  • NetFlow/IPFIX does not update this group.

Keys​

One key is the VLAN ID as 4 uppercase hex digits. No labels are preloaded.

KeyMeaning
0064VLAN 100
000AVLAN 10
01F4VLAN 500

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update in the interval. In packet mode meter 0 equals total frame bytes. In sFlow mode each sample updates two keys, so meter 0 is 2× sampled bytes.
UNTGFrames without an 802.1Q tag (packet mode).
0000sFlow samples with no VLAN on that side.

Meter list​

IDNameTypeUnitsTopBottomDescription
0Total bytes/secVT_RATE_COUNTERBps200Bytes on this VLAN.
1Recv-Into-VLANVT_RATE_COUNTERBps200sFlow only. Bytes where this is the input VLAN.
2Xmit-To-VLANVT_RATE_COUNTERBps200sFlow only. Bytes where this is the output VLAN.
3Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
4Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.