Skip to main content

Mac

Counts bytes sent and received per Ethernet MAC address.

PropertyValue
GUID{4B09BD22-3B99-40FC-8215-94A430EA0A35}
LayerL2 Link
InputPackets, Flows
Key typeMAC address
ImplementationNative C++ — CPICGMac (group), CPIMacStats (packet metering) (trisul_probe/src/sysplugs/counters); CPINetflowMeter, CPISFlowMeter (sysplugs/flowhandlers)
Bucket / Topper60 s / 300 s
Enabled by defaultYes

What it measures​

  • Packets: every Ethernet II frame updates two keys: the source MAC (Transmit) and the destination MAC (Receive), each with the frame's wire length.
  • NetFlow/IPFIX (policy MeterMAC, default on): uses the source and destination MAC fields of the record, if the template exports them. An all-zero MAC is skipped. Off in IPDR mode.
  • sFlow (policy MeterMAC, default on): uses the sampled header's Ethernet addresses.
  • SampleRate in MacCounterPolicy.xml meters 1 in N frames and scales the bytes up by N.
  • Linux cooked (SLL) and raw IP captures carry no MAC header, so they do not update this group.

Keys​

One key is a MAC address in uppercase colon-hex. The label comes from the OUI database (oui-database.txt, policy LookupOUI). It is the vendor name cut to 12 characters plus the last three octets. Some multicast and virtual-router MACs get a protocol label instead.

KeyMeaning
00:00:0C:12:34:56Cisco NIC. Label Cisco System:12:34:56
01:00:5E:00:00:FBIPv4 multicast group 224.0.0.251. Label IPMulticast_0.0.251
00:00:5E:00:01:0AVRRP virtual router. Label VRRP-VRID-10
00:00:0C:07:AC:01HSRP v1 virtual MAC. Label HSRP-v1-Group-1

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update in the interval. Each frame updates Transmit on one key and Receive on another, so meter 0 and meter 1 of the totals each equal total frame bytes.
FF:FF:FF:FF:FF:FFBroadcast. Appears with Receive bytes only.
01:00:5E:xx:xx:xxIPv4 multicast MACs. Label IPMulticast_a.b.c from the low three octets.
00:00:0C:9F:Fx:xxHSRP v2 virtual MAC. Label HSRP-v2-Group-N.

Meter list​

IDNameTypeUnitsTopBottomDescription
0TransmitVT_RATE_COUNTERBps200Bytes in frames where this MAC is the source.
1ReceiveVT_RATE_COUNTERBps200Bytes in frames where this MAC is the destination.
2Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
3Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.