Overview
Explains the dynamic power management function, which validates power availability for MACsec sessions and prevents session establishment if the system cannot provide sufficient power to the configured interfaces.
Dynamic Power Management for MACsec-enabled ports is a MACsec function that
-
allocates total power to a router and its fabric or line cards based on various factors,
-
validates power availability for MACsec sessions on configured interfaces, and
-
prevents MACSec sessions from establishing if power is insufficient.
The dynamic power management feature distributes total available power to a router and its fabric cards or line cards based on factors such as the number and type of cards installed, their operating modes, card combinations, NPU (Network Processing Unit) power mode, and optics. When MACSec is configured on interfaces, the software checks internally if there is enough power to bring up all intended MACSec sessions. If the system cannot power all configured MACSec sessions, some sessions remain down regardless of the interface configuration.
When this situation occurs, the router console logs a message indicating the reason. Users can remove MACSec configurations from affected interfaces or add more Power Supply Units (PSUs) to meet new power requirements. If MACSec configurations remain on downed sessions, those sessions are not guaranteed to recover after a router or line card reload.
The router console displays a log message in such cases, indicating the reason for session failure. Users can choose to remove the MACSec configuration from the corresponding interfaces or re-provision the Power Supply Units (PSUs) based on the additional power requirement for new sessions. If MACSec configurations are not removed for sessions that are down, there is no guarantee that the same MACSec sessions that were brought up earlier will come up after a router or line card reload.
By default, dynamic power management is enabled. You can disable it using the following command in XR Config mode: no power-mgmt action .
If insufficient power is available for MACSec sessions, you might see a log message such as:
LC/0/4/CPU0:Dec 21 07:35:27.977 UTC: macsec_mka[131]: %L2-MKA-5-MACSEC_POWER_STATUS_ERR : (Hu0/4/0/9), Insufficient power
Hardware support matrix for dynamic power management for MACsec-enabled ports
| Cisco IOS XR Software Release |
Product ID |
|---|---|
| Release 25.1.1 |
8712-MOD-M |
| Release 24.4.1 |
88-LC1-36EH 88-LC1-12TH24FH-E 88-LC1-52Y8H-EM 8212-48FH-M 8711-32FH-M |
| Release 7.3.3 |
88-LC0-36FH-M 88-LC0-34H14FH 8800-LC-48H |