We have a camera network and need to be able to control when video is recorded. We were thinking of sending a command to the Juniper EX2200 switch to disable the interface on which the storage is connected and enable the interface when we need to restart the recordings.

I know how to disable and enable interfaces on the switch, but is there a way to send those commands to the switch?