This article addresses an issue related to filter-based forwarding where traffic intended to be forwarded through the secondary ISP was instead routed through the primary ISP. The behavior was observed despite the presence of firewall filter terms configured to direct specific traffic to different routing-instances. This article explains the cause of the issue and the configuration changes required to restore the expected forwarding behavior.
For more information about filter-based forwarding, check the KB KB17223 [juniper.net]