You might notice this error trying to add a static route to your Juniper switch stack :
root@ir01# set routing-options rib inet.0 static route 0.0.0.0/00 next-hop 0.0.0.0 {master:0}[edit] root@ir01# commit synchronize [edit protocols] 'bgp' [edit protocols] 'ospf3' [edit routing-options rib inet.0 static] 'route 0.0.0.0/00' RT: DEST: 0.0.0.0 MASK: 255.0.0.0 mask too short error: configuration check-out failed {master:0}[edit] root@ir01#
This mean your subnet IP is incorrect. You probably used the first usable IP instead of the network IP.
Check you commitment rules using the following command :
show | compare
And then delete the bad static route you tried to apply :
delete routing-options rib inet.0 static route 0.0.0.0/00 next-hop 0.0.0.0
Commit the change :
commit synchronize
And enter your static route again with the proper parameter.