06-18-2005 10:55 PM
Hi All...
How can I use SNMPSET to shutdown router interface from software ?
If possible, put a example with OID and MIB.
Thanks
CLRGomes.
Solved! Go to Solution.
06-19-2005 04:51 AM
Hello,
You would have to set the ifAdminStatus .1.3.6.1.2.1.2.2.1.7 for that interface to 2 (down)
But first, you would have to figure out its index, so you would have to perform an snmpwalk of ifDescr
06-19-2005 04:51 AM
Hello,
You would have to set the ifAdminStatus .1.3.6.1.2.1.2.2.1.7 for that interface to 2 (down)
But first, you would have to figure out its index, so you would have to perform an snmpwalk of ifDescr
06-19-2005 08:39 AM
Hi nhabib,
Thanks a lot, your message is perfect!
snmpset -v 2c -c public 10.1.1.1 .1.3.6.1.2.1.2.1.7.5 integer (value)
1 : up
2 : down
3 : testing
Thanks
CLRGomes
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide