Re: How to get the running config of routers using SNMP

2000-07-13 Thread Sasha Milic

Chan Dovelet wrote:
 
 Can I use SNMP to get their config? What is the MIB id?

Variable is:


writeNet OBJECT IDENTIFIER ::= { lsystem 55 }

writeNet OBJECT-TYPE
  SYNTAX   DisplayString
  ACCESS   write-only
  STATUS   mandatory
  DESCRIPTION  "Write configuration to host using TFTP."
::= { lsystem 55 }

Usage:
==

Set variable 'writeNet.ip_address_of_tftp_server' to value 'tftpfile',
where tftpfile is file name into which the config will be saved. Keep
in mind that, depending on tftp server you are using, it may be required
that specified file already exist, with mode 0666 (on unix). It may be
different on your system, but on Solaris it is so.

In perl, with cmu snmp package, it would be:

# begin

$session = new SNMP::Session
   (
   DestHost  = "$Router_IP_Address"
   Community = "public",
   Timeout   = 1,
   Retries   = 3
   );
 
$session-set( 'writeNet.192.168.1.1', "router-confg" );

# end


Hope this helps.

Saša, CCNP

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: How to get the running config of routers using SNMP

2000-07-13 Thread Jorge Rodriguez

copy running to tftp is much faster.

--Original Message--
From: =?big5?q?Chan=20Dovelet?= [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: July 13, 2000 6:44:27 AM GMT
Subject: How to get the running config of routers using SNMP


Hi,

My company have about 50 numbers of Cisco routers. I
want to backup their running config. I do not have
Cisco Work. Can I use SNMP to get their config? What
is the MIB id?

Regards.
Dovelet

_
Do You Yahoo!?
§K¶Oµn°O @yahoo.com.hk ¹q¤l¶l¥ó @ http://mail.yahoo.com..hk
Get your free @yahoo.com.hk address at http://mail.yahoo.com.hk

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Jorge Rodriguez /CCNA
Network Analyst
RS Networks Inc
1112 Boylston Street
Suite 222
Boston, MA 02115
1-781-614-1294
1-617-989-8634 Evenings
http://www.netwire.n3.net/
http://www.learncisco.n3.net/

 
iWon.com   http://www.iwon.com why wouldn't you? 


___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: How to get the running config of routers using SNMP

2000-07-13 Thread Mail List for cisco routers

Hi,
u can use the tftp server to backup your config files.
thanks

On Thu, 13 Jul 2000, Jorge Rodriguez wrote:

 copy running to tftp is much faster.
 
 --Original Message--
 From: =?big5?q?Chan=20Dovelet?= [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: July 13, 2000 6:44:27 AM GMT
 Subject: How to get the running config of routers using SNMP
 
 
 Hi,
 
 My company have about 50 numbers of Cisco routers. I
 want to backup their running config. I do not have
 Cisco Work. Can I use SNMP to get their config? What
 is the MIB id?
 
 Regards.
 Dovelet
 
 _
 Do You Yahoo!?
 §K¶Oµn°O @yahoo.com.hk ¹q¤l¶l¥ó @ http://mail.yahoo.com..hk
 Get your free @yahoo.com.hk address at http://mail.yahoo.com.hk
 
 ___
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 
 Jorge Rodriguez /CCNA
 Network Analyst
 RS Networks Inc
 1112 Boylston Street
 Suite 222
 Boston, MA 02115
 1-781-614-1294
 1-617-989-8634 Evenings
 http://www.netwire.n3.net/
 http://www.learncisco.n3.net/
 
  
 iWon.com   http://www.iwon.com why wouldn't you? 
 
 
 ___
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]