cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
286
Views
0
Helpful
3
Replies

Setting down a router interface

scolombo
Cisco Employee
Cisco Employee

I need to set up/down a router interface via script to be scheduled.

Is it possible through SNMP ?

Can anyone give me the correct MIB path to do the task ?

Thanks

3 Replies 3

gschertz
Level 1
Level 1

Not sure if it is possible trough snmp. your script would just issue the shutdown or no shutdown command for that interface. Solarwinds has a great mib brouser and mib walk utilitys. you can download it from tucows as a 30 day evaluation copy.

hope this helps

gene

Yes, you can turn an interface up/down using SNMP. To administer an interface down simply set the value of:

interfaces.ifTable.ifEntry.ifAdminStatus.N to integer value 2.

To turn interface Up, set it to value 1. Note N above is the number associated with the interface you are trying to control.

Hope this helps

Thanks.

scolombo
Cisco Employee
Cisco Employee

Do you know of any snmp utility ( windows ) to do the task ?

thanks again

Stefano

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: