Skip to main content

Dir Mac

Counts bytes per directed MAC pair (source MAC to destination MAC).

PropertyValue
GUID{79F60A94-44BD-4C55-891A-77823D59161B}
LayerL2 Link
InputPackets, Flows
Key typeMAC pair string
ImplementationNative C++ — CPICGDirMac (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 adds its wire length to the key <source MAC> -><destination MAC>. Policy MeterMACPairs in MacCounterPolicy.xml (default true) turns this off.
  • sFlow: each sample updates the same key format when MeterMAC is on.
  • NetFlow/IPFIX does not update this group.
  • The key is directional. Traffic from A to B and from B to A goes to two different keys.

Keys​

One key is 37 characters: the source MAC, the literal ->, and the destination MAC, with no space after ->. There is no label.

KeyMeaning
00:1B:21:3A:4F:10 ->00:00:0C:07:AC:01Host to its HSRP gateway
00:00:0C:07:AC:01 ->00:1B:21:3A:4F:10Return traffic from the gateway (separate key)
00:1B:21:3A:4F:10 ->FF:FF:FF:FF:FF:FFBroadcasts sent by the host

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_COUNTERBps100Bytes in frames from the first MAC to the second MAC of the key.
1A->ZVT_RATE_COUNTERBps00Not populated by the current code.
2Z->AVT_RATE_COUNTERBps00Not populated by the current code.
3Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
4Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.