Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Remote Disable vif Command

$
0
0

Hello,

 

The powers that be would like me to be able to schedule/automate the disabling of certain VLANs.  Basically, they want me to be able to issue a single command (or schedule the command to be run), and shutdown Internet access for some networks while leaving others untouched.  I can SSH in, or go to the GUI on our EdgeRouter PRO (v1.8.0), and disable a given VLAN interface (effectively disabling that gateway and cutting off internet), but I'm having trouble getting a script to navigate the elevated priviledges.  Is there a relatively easy way to do this?  Trying to pipe in "configure" and then follow it with the disable vif command and commit isn't working for me so far...


Viewing all articles
Browse latest Browse all 20028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>