Looks like an error i D50, on D70 i cannot input a vlan with a vlan-id above 3967:
jh@fw# run show version Hostname: fw Model: srx300 Junos: 15.1X49-D70.3 JUNOS Software Release [15.1X49-D70.3] [edit] jh@fw# set vlans guest2 vlan-id 3999 error: Value 3999 is not within range (1..3967)
[edit]
jh@fw#