Hi Juan,
It is possible to reset the password using SNMP.
First read the config to your tftp server...
/usr/OV/snmpset -c <write community string> <router IP/name>
.1.3.6.1.4.1.9.2.1.55.ipaddress.of.tftpserver octetstring <filename on
server>
Next edit the config substituting the new, plain text, enable secret
password
Enable secret <password>
then tell the router to boot the config on your tftp server (tftp server
needs to be on the same subnet)...
/usr/OV/bin/ snmpset -c <write community string> <router IP/name>
.1.3.6.1.4.1.9.2.1.50.ip.address.of.tftpserver octetstring <filename on
server>
And the new config is running, telnet to the router and try your new
password... then copy the running config to startup...
Good Luck
Phil Gregory.
Head of Data Network Development
GPU Power UK.
Kingswinford.
int. 09 3511 / ext. 01384 343 653
mailto:phil.gregory@gpupower.co.uk <mailto:phil.gregory@meb.co.uk>
-----Original Message-----
From: echevarria@es.ibm.com [SMTP:echevarria@es.ibm.com]
Sent: Friday, May 04, 2001 2:11 PM
To: nv-l@tkg.com
Subject: [NV-L] snmp-password change in Cisco
Hi all,
I read several times in this list the way of changing a
password of a
Cisco router from Netview. However I didn't read how to do that by
using
only snmp. I mean if I forget the pasword of a Cisco router, is
there any
possibility of changing it by using snmp write? I think it can be
done but
I don't know how.
Thankyou very much,
Juan.
Juan Echevarría López
AT&T Global Network Services
Internet: jechevarria@att.com
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
================================================================
This incoming e-mail (and any attachments) has been checked at
GPU Power UK, and has been found to be clean from any
virus infection (using Sophos Sweep 3.43 + patches).
GPU Power Help Desk
(internal telephone 185, external 01384 405118,
or e-mail GPU Postmasters [internally]
or postmaster@gpupower.co.uk [externally])
================================================================
================================================================
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in
error please notify postmaster@gpupower.co.uk.
================================================================
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
gpupower.co.uk or postmaster@npower.com
This outgoing e-mail (and any attachments) has been checked
(using Sophos Sweep 3.44 + patches) before leaving us (UK 08457 353637),
and has been found to be clean from any virus infection.
|