Hi,
I am little confused with your requirement. But i beilive you are looking for a connectvity through vlan2 and would like to use it for switch management.
In this case you may assign an IP address on vlan2 and that should serve your purpose. But it wont be an outofband connectviity , for that you may need to configure that through VME itself.
set vlans vlan2 l3-interface irb.2
set interfaces irb unit 2 family inet address 10.10.0.2/22
Hope this helps.
Regards,
Ajo Thomas