Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] Understanding the maximum number of ECMP routes



Article ID: KB7805 KB Last Updated: 28 Aug 2020Version: 5.0

The article provides information about the maximum number of static routes that can be created for the same network segment via different interfaces with the same preference and metric.

In a ScreenOS device, you can configure a maximum of 4 static routes for the same segment via four different interfaces with the same preference and metric. In case you try to configure a fifth route, the ECMP Limit Exceeded error message is generated.

A sample configuration is as follows:
set route interface tunnel.1
set route interface tunnel.2
set route interface tunnel.3
set route interface tunnel.4
When the set route interface tunnel.5 is run, the following error messages are generated:

In the CLI:

IN the WebUI:

Note: These error messages are independent of whether or not, the ECMP feature is enabled on the device.

The maximum allowed ECMP Routes on the device is 4. So, the number of routes that can be configured for the same destination network is 4.


This feature is by design on a ScreenOS device. Multiple routes to the same destination should be created, only when the traffic can load be shared. As the maximum allowed ECMP routes is 4, the number of routes that can be configured is 4.

Modification History:
2020-08-27: Minor, non-technical edits.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search