A method of collecting consistent flow statistics through multiple
congestion points within a multi-service switch/router is enabled by
computing a payload length of each traffic unit received from a fabric of
the switch/router. A PHY-level header containing the payload length, a
class of service and a service ID is appended to the switch-internal
encapsulated payload. Information associated with the PHY-level header is
used at physical level congestion points to collect consistent flow
statistics.