cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13922
Views
0
Helpful
2
Replies

SNMPSET Shutdown Interface

cassio.gomes
Level 1
Level 1

Hi All...

How can I use SNMPSET to shutdown router interface from software ?

If possible, put a example with OID and MIB.

Thanks

CLRGomes.

1 Accepted Solution

Accepted Solutions

nhabib
Level 9
Level 9

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

View solution in original post

2 Replies 2

nhabib
Level 9
Level 9

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

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