- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Network Management
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
