JunOS : RT DEST 0.0.0.0 MASK 255.0.0.0 mask too short

By | October 15, 2012

You might notice this error trying to add a static route to your Juniper switch stack :

 

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 :

And then delete the bad static route you tried to apply :

Commit the change :

And enter your static route again with the proper parameter.