nv-l

RE: snmp-password change in Cisco

2001-05-04 10:56:18
Subject: RE: snmp-password change in Cisco
From: "Gregory, Phil" <phil.gregory AT gpupower.co DOT uk>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 4 May 2001 15:56:18 +0100
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 AT gpupower.co DOT uk <mailto:phil.gregory AT meb.co DOT 
uk> 


        -----Original Message-----
        From:   echevarria AT es.ibm DOT com [SMTP:echevarria AT es.ibm DOT com]
        Sent:   Friday, May 04, 2001 2:11 PM
        To:     nv-l AT tkg DOT 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 AT att DOT 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 AT gpupower.co DOT 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 AT gpupower.co DOT 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 AT npower DOT 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.


<Prev in Thread] Current Thread [Next in Thread>