From: Frank Bussink (frank_bussink@hotmail.com)
Date: Thu Oct 27 2005 - 02:00:37 EDT
Hi,
In the case of Cisco this worksso maybe also the same mechanism for
Foundry
Start the TFTP server,
Send a snmpwrtie command to ask the router to upload the running config by
tftp.
in the below example :
private is the snmp writable community,
sx-b11-9x4 is the cisco switch
170.237.51.152 is the Ip address of the TFTP server
sa-b11-9x3-config is the filename of the uploaded file.
snmpset -v 1 -c private sx-b11-9x4
.1.3.6.1.4.1.9.9.96.1.1.1.1.3.234 i 4
.1.3.6.1.4.1.9.9.96.1.1.1.1.4.234 i 1
.1.3.6.1.4.1.9.9.96.1.1.1.1.2.67 i 1
.1.3.6.1.4.1.9.9.96.1.1.1.1.5.67 a 170.237.51.152
.1.3.6.1.4.1.9.9.96.1.1.1.1.6.67 s "sx-b11-9x4-config"
.1.3.6.1.4.1.9.9.96.1.1.1.1.14.67 i 4
The snmp binary files can be found at http://www.net-snmp.org/ (also for
Win32)
The tftp program can be found on the Cisco web site.
Original article at
http://www.cisco.com/warp/public/477/SNMP/copy_configs_snmp.shtml
Hope this helps
Frank
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
------------------------------------------------------------------------------
Audit your website security with Acunetix Web Vulnerability Scanner:
Hackers are concentrating their efforts on attacking applications on your
website. Up to 75% of cyber attacks are launched on shopping carts, forms,
login pages, dynamic content etc. Firewalls, SSL and locked-down servers are
futile against web application hacking. Check your website for vulnerabilities
to SQL injection, Cross site scripting and other web attacks before hackers do!
Download Trial at:
http://www.securityfocus.com/sponsor/pen-test_050831
-------------------------------------------------------------------------------
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:55:06 EDT