| Internet-Draft | Export of Energy Consumption Information | December 2025 |
| Yan | Expires 16 June 2026 | [Page] |
This document introduces new IPFIX IEs for exporting energy consumption information of physical entities in a network device. New Information Elements are defined to report instantaneous and average energy consumption information at device, line-card, and port granularity.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 16 June 2026.¶
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Energy consumption has emerged as a critical operational metric in modern data centers and communication networks, driven by increasing demands for sustainability and cost efficiency. Operators require accurate, traffic-correlated power information to support applications such as energy-aware routing, per-service energy cost accounting, and fine-grained power management.¶
Traditional monitoring protocols, like SNMP, rely on periodic polling, which often fails to capture the dynamic interplay between traffic loads and power draw, leading to delayed or inaccurate insights. In contrast, the IP Flow Information Export (IPFIX) protocol [RFC7011] offers a proven, event-driven framework that inherently binds metering observations to traffic events at the source, ensuring timely and causal reporting.¶
To address these needs, this document defines six new Information Elements (IEs) that enable an IPFIX Exporting Process to report energy consumption for physical entities within a network device, including the entire device, line cards, and ports. These IEs support both instantaneous (realtime) power values, which provide snapshots at the moment of export for immediate analysis, and average power values over the measurement interval since the last export, which are useful for trend detection and aggregated accounting. The measurements are exported via existing IPFIX triggering mechanisms—such as packet count thresholds, active timeouts, and inactive timeouts—preserving causality between observed traffic and reported energy metrics.¶
This document introduces new IPFIX IEs for exporting energy consumption information of physical entities in a network device to facilitate energy-aware networking by providing granular, real-time data for optimized network operations.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].¶
The following new Information Elements are defined:¶
Name:deviceRealtimePower¶
ElementID: TBD1¶
Description: Instantaneous total power consumption of the entire exporting device at the time of export.¶
Abstract Data Type: unsigned32¶
Data Type Semantics: quantity¶
Units: watts¶
Reference: This document.¶
Name:deviceAveragePower¶
ElementID: TBD2¶
Description: Average total power consumption of the entire exporting device over the interval since the last export of this Template.¶
Abstract Data Type: unsigned32¶
Data Type Semantics: quantity¶
Units: watts¶
Reference: This document.¶
Name:lineCardRealtimePower¶
ElementID: TBD3¶
Description: Instantaneous power consumption of the line card at the time of export.¶
Abstract Data Type: unsigned32¶
Data Type Semantics: quantity¶
Units: milliwatts¶
Reference: This document.¶
Name:lineCardAveragePower¶
ElementID: TBD4¶
Description: Average power consumption of the line card identified over the interval since the last export.¶
Abstract Data Type: unsigned32¶
Data Type Semantics: quantity¶
Units: milliwatts¶
Reference: This document.¶
In this scenario, network controllers may require accurate, traffic-correlated power consumption metrics of physical links (represented by ports) to compute paths that minimize total energy cost. Traditional periodic polling mechanisms often fail to capture the dynamic relationship between instantaneous traffic load and actual power draw, leading to suboptimal routing decisions.¶
By leveraging the IPFIX-based energy telemetry defined in this document, a network device can export multi-level power consumption data (e.g., port, line card, and device levels) triggered by traffic events such as packet count thresholds or active/inactive timeouts. The exported data records can provide both instantaneous and average power values over the observation interval, enabling the controller to derive meaningful energy cost metrics, such as per-link energy-per-bit or average power under load, for use in path computation algorithms. This tight coupling between traffic behavior and energy reporting ensures that routing decisions reflect real-time energy efficiency characteristics of network links.¶
For fine-grained energy accounting and auditing of specific high-bandwidth ("elephant") flows, such as backup traffic between data center servers, it is essential to attribute the energy consumed across multiple physical components (e.g., ingress/egress ports and their respective line cards) to the flow itself.¶
Using the mechanisms described in this document, an IPFIX Exporting Process can associate energy consumption measurements with a specific IP flow (identified by, e.g., a 5-tuple) and trigger synchronized reporting when predefined traffic thresholds are met. By including physical entity identifiers (e.g., lineCardId, portId) and the newly defined energy Information Elements, the exporter can generate multiple correlated data records corresponding to the various physical interfaces involved in forwarding the flow. This enables collectors to reconstruct a complete, multi-path energy footprint of the flow across the device, supporting accurate per-flow energy cost attribution and operational analysis.¶
The export and interpretation of energy consumption information in IPFIX are intended to be driven by traffic activity observed at specific points in the data plane. Implementations SHOULD configure monitoring policies that associate one or more physical entities—such as a device, line card, or port—with an observation object (e.g., an interface or a flow).¶
Energy telemetry records SHOULD be generated when predefined traffic-driven conditions are met. These conditions MAY include:¶
The Exporting Process collects power measurements—such as instantaneous and average power—for each associated physical entity. These measurements are encoded into Data Records using the newly defined energy Information Elements (e.g., lineCardRealtimePower, portAveragePower). Each Data Record SHOULD also include identifier Information Elements (e.g., lineCardId, portId) to unambiguously associate the reported energy values with their corresponding hardware components.¶
The resulting Data Records are exported to a Collector within an IPFIX Message, along with a reference to the applicable Template Record (e.g., via Template ID).¶
A Collector receiving such messages SHOULD possess the corresponding Template Record to correctly parse the structure and semantics of the Data Records.¶
The Collector parses each Data Record to recover:¶
This end-to-end mechanism ensures that energy reports are causally tied to traffic activity.¶
TBA¶
This document requests IANA to create a new IE under the "IPFIX Information Elements" registry [RFC7012] available at [IANA-IPFIX].¶
| Element ID | Name | Reference |
| TBD1 | deviceRealtimePower | Section 3.1 |
| TBD2 | deviceAveragePower | Section 3.2 |
| TBD3 | lineCardRealtimePower | Section 3.3 |
| TBD4 | lineCardAveragePower | Section 3.4 |
| TBD5 | portRealtimePower | Section 3.5 |
| TBD6 | portAveragePower | Section 3.6 |
TBA¶