In Junos OS, the maximum-ecmp statement under the edit chassis hierarchy allows you to configure the maximum number of Equal-Cost Multi-Path (ECMP) routes that can be installed in the forwarding table.
maximum-ecmp
edit chassis
By default, Junos OS installs up to 16 ECMP paths.
To configure additional ECMP paths (e.g., 32 or 64), you can modify the maximum-ecmp statement in the Junos OS configuration. Follow these steps:
>configure #set chassis maximum-ecmp 32 #commit
Replace 32 with the desired number of ECMP paths (e.g., 64).
32
For more detailed information, refer to the Junos CLI Reference
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/maximum-ecmp-edit-chassis.html