Skip to main content

LinkLayerStats

Counts bytes and packets per EtherType, keyed by the 4-digit hex EtherType.

PropertyValue
GUID{9F5AD3A9-C74D-46D8-A8A8-DCDD773730BA}
LayerL2 Link
InputPackets, Flows
Key typeEtherType (4 hex digits)
ImplementationNative C++ — CPICGLinkLayer (group), CPIMacStats (packet metering) (trisul_probe/src/sysplugs/counters); CPINetflowMeter (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 and 1 packet.
  • If the frame has one 802.1Q tag (8100), the key is the inner EtherType. Only one tag is skipped. QinQ (88A8) frames are keyed 88A8.
  • NetFlow/IPFIX (policy Meterv4v6, default on): each record adds its bytes to 0800 (IPv4) or 86DD (IPv6). Packets (meter 1) are not updated in flow mode.
  • sFlow does not update this group. Linux cooked (SLL) and raw IP captures do not update it.

Keys​

One key is the EtherType as 4 uppercase hex digits. Labels for known EtherTypes are preloaded from std-ethertypes.txt.

KeyMeaning
0800IPv4
86DDIPv6
0806ARP
8847MPLS unicast

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update in the interval. Each frame updates one key, so meter 0 equals total frame bytes.

Meter list​

IDNameTypeUnitsTopBottomDescription
0TotalVT_RATE_COUNTERBps100Frame bytes, or flow-record bytes in NetFlow mode.
1PacketsVT_RATE_COUNTERpps100Frames. Packet mode only.
2Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
3Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.