- play_arrow Overview
- play_arrow Flow-Based Processing for IPv6
- play_arrow Monitoring Flow-Based Sessions and Establishing Parameters for Error Handling
- play_arrow Packet Based Forwarding
- play_arrow Configuration Statements and Operational Commands
PowerMode
PowerMode
PowerMode is a new default dataplane framework that introduces an optimized fast-path allowing for higher throughput and lower latency on SRX Series Firewalls. PowerMode is able to accelerate IPsec operations and generic TCP and UDP flows in the same manner as Express Path on Trio-Based platforms.
In Junos OS Release 21.3R1, the feature has the following limitations:
- Non-IP protocol.
- IP protocols which are not TCP, UDP, ESP, SCTP and GTP.
- Multicast sessions.
- Egress Logical Tunnel (LT) interfaces and cross-lsys traffic.
- Sessions that require TCP-Proxy.
- Firewall Filters.
- Mac learning and transparent mode.
- Active/Active HA clusters when the sessions are transiting the fabric link known as Z-mode traffic.
SRX Series Firewalls with PMI supports only flow-based CoS (Class of Service).
See Also
PowerMode Express
- PowerMode Express Overview
- How does PowerMode Express Process the Traffic
- How to Re-enable PowerMode Express
- Verification
PowerMode Express Overview
PowerMode Express (PME) is a mode of operation that provides performance improvements using vector packet processing. PME use a small software block inside the Packet Forwarding Engine (PFE) that helps to process multiple packets in receive buffer thus better utilizing CPU cache.

Benefits
Improves fast path processing and UDP throughput performance.
On SRX4100, SRX4200, SRX4600, SRX5400, SRX5600, SRX5800, and vSRX devices, PowerMode Express is enabled by default from Junos OS Release 21.3R1. When you upgrade to Junos Release 21.3R1 or later, you unlock free, unparalleled next-generation firewall performance, without any additional configuration or hardware investment.
To disable the PowerMode Express globally, use the set security flow
power-mode-disable
command.
PowerMode Express supports:
Class of Service (CoS)
Network Address Translation (NAT)
Screens (Anti-DDoS)
Forwarding class
Routing instance
PowerMode Express Limitations
PowerMode Express does not support:
Non-IP protocol
IP protocols which are not TCP, UDP, ESP, SCTP, and GTP
Multicast sessions
Egress Logical Tunnel (LT) interfaces and cross-lsys traffic
Sessions that require policer, syslog, and counter
Firewall filter
Active/Active HA clusters when the sessions are transiting the fabric link known as Z-mode traffic
How does PowerMode Express Process the Traffic
When the first packet arrives at an interface, a new session is created in the PowerMode. If the new session qualifies for PowerMode Express, a PowerMode qualification check occurs.
The PowerMode Express session processes the fast-path packets in the network processor to jexec processing. In jexec layer2 forwarding stage, the cache next-hop, forwarding class, Class of Service (CoS) information allows the subsequent packets of the session for PowerMode Express.
How to Re-enable PowerMode Express
PowerMode Express is enabled by default. If you disable the PowerMode express, you can re-enable using the following command:
[edit] user@host# delete security flow power-mode-disable user@host# commit
Verification
To confirm that the configuration is working properly, enter the following show command.
user@host# show security flow status | grep "Flow power mode:" Flow power mode: Enabled
See Also
PowerMode IPsec
PowerMode IPsec (PMI) is a new mode of operation for SRX4100, SRX4200, SRX4600, SRX5400, SRX5600, SRX5800, and vSRX Virtual Firewall instances to improve IPsec performance. Starting with Junos OS Release 19.1R1, the PMI is enhanced to handle the incoming and outgoing fragment packets using first path or fast path processing.
Enable the PMI process by using the set security flow
power-mode-ipsec
command. To verify that the packets are leveraging
PMI, use the show security flow pmi statistics command.
Understanding PMI First Path and Fast Path Processing
In a PMI first path processing:
The incoming first path packet is delivered to flow to create session.
The incoming fragment packets are delivered to flow for reassembling.
The incoming packets are delivered to flow for advanced security service processing.
In a PMI fast path processing, the PMI driver is used:
To encrypt and send out the incoming clear text directly.
To decrypt and send out the incoming ESP packets directly with session match.
Switching between PMI First Path and Fast Path Processing
The first path processing involves more features and instructions, while the PMI fast path processing provides better performance. In a PMI session, the packet processing switches between first path and fast path based on the packets flow in the session.
The PMI session with both fragment and non-fragment packets are processed by first path.
When the session only has non-fragmented packets, the session will switch from first path to fast past processing.
On SRX5400, SRX5600, and SRX5800 devices, switching happens after the NP session timeout.
Fragmentation for Incoming IP Packets
To support fragmentation for incoming IP packets for PMI, following steps are used in first path:
PMI transmits all the fragmented IP packets in a session to the flow module for processing.
PMI transmits all the non-fragmented IP packets in the same session to the flow module for packet ordering.
The Flow module completes reassembly of fragmented packets and transmits the packets back to PMI for encryption.
Fragmentation for Outgoing IP Packets
To support fragmentation for outgoing IP packets for PMI, following steps are used:
PMI detects clear text packets that requires fragmentation during session lookup and delivers packets to the flow module.
Flow module does fragmentation for outgoing packets.
PMI encrypts the packets before transmitting them.
NP session support
On SRX4100, SRX4200, and vSRX Virtual Firewall devices, fragment and non-fragment packets are hashed to the same CPU core for processing. Hence, NP session is not supported.
On SRX5400, SRX5600, and SRX5800 devices with SPC3, fragment and non-fragment packets are hashed to different CPU cores for processing. Hence, NP session is supported to deliver fragment or non-fragment packets to the same core for ordering.
If a PMI session or non-PMI session has no NP session installed due to limited NP session capacity then the packet ordering for this PMI session may not be available.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.