Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Reloading a Cisco router using SNMP

Hello Experts,

Our requirement is to schedule a reload on a router automatically when it generates memory fragmentation errors and becomes inaccessible over VTY lines.

I read somewhere that this can be done using SNMP but I am not sure how.

Can someone please advise if this is possible and provide a method alongwith.

Thanks & Regards,

Imran.

3 REPLIES
Silver

Re: Reloading a Cisco router using SNMP

your device configuration has to have this line : snmp-server system-shutdown

Then its just a matter of sending a snmp set iso.org.dod.internet.private.enterprises.cisco.l ocal.lts.tsMsgSend.0

(.1.3.6.1.4.1.9.2.9.9.0)

to value 2

The system will reload.

New Member

Re: Reloading a Cisco router using SNMP

Hello,

Thanks for your reply.

Can you please advise how do I send the snmp set message to the device. What tool do I have to use.

I am not very well versed with using SNMP.

Thanks You.

Silver

Re: Reloading a Cisco router using SNMP

very easy. On the router, do this:

snmp-server host x.x.x.x cciesec

snmp-server system-shutdown

snmp-server community cciesec rw

now on a linux system, type this:

snmpset -v 2c -c cciesec 129.174.3.10 .1.3.6.1.4.1.9.2.9.9.0 i 2

Easy right?

4513
Views
4
Helpful
3
Replies
CreatePlease to create content