You can do it but it doesnt change the interface status. Here I try from a remote linux box to set the snmp for the interface up/down…look what happens.
Am i missing somthing here? This snmpset command works with all the 3com, foundry, and cisco switchs we have here… Before you ask…yes, the community im using has read/write access…
read the manual please. you can use it to run scripts, not do exactly what you asked. the scripts you have to make yourself, and you can decide what the script will do.
Yep, I realised this. Just didnt want to have to make a 2 scripts for each interface (one for up and one for down), and change my admistration/billing system.
Since most all devices support the ifadminstatus command, my mysql billing system database just holds the router host name and the interface number. If the customer is on a tik i need to re-write the whole system and add fields to the database so it runs a different snmpset than every other router…
Not THAT big of a deal, but really wish routeros would just support the standard ifadminstatus. Is there a reason why you guys dont just have that in there?