Real Time Ascend Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Looking for TFTP config script




Scott, see below. Set your snmp client to not retry, or set a long timeout
before retry. The TNT is different, you need to use the flash mib. Let me
know if you want the details.



Regards,

dean




How do I load/save a config via SNMP?


This is for CMU SNMP but other clients will be similar.

Here is the detail from the mib. 

    sysConfigTftpCmd OBJECT-TYPE
	SYNTAX	INTEGER {
		    save( 1 ),		-- save configuration
		    restore( 2 ),	-- restore configuration
		    saveAll( 3 ),	-- save ALL config options
		    saveMib( 4 ),	-- save config w/MIB numbers
		    saveAllMib( 5 ),	-- save ALL config w/MIB numbers
		    loadCode( 6 )	-- load a code image
		}
	ACCESS	read-write

#tsave config 

snmpset -v 1 IP community .1.3.6.1.4.1.529.9.5.3.0 a TSAVE_HOST
snmpset -v 1 IP community .1.3.6.1.4.1.529.9.5.4.0 s FILENAME
snmpset -v 1 IP community .1.3.6.1.4.1.529.9.5.1.0 i 1 

#tload config 

snmpset -v 1 IP community .1.3.6.1.4.1.529.9.5.3.0 a TLOAD_HOST
snmpset -v 1 IP community .1.3.6.1.4.1.529.9.5.4.0 s FILENAME 
snmpset -v 1 IP community .1.3.6.1.4.1.529.9.5.1.0 i 2


At 10:12 AM 3/4/99 -0600, Scott Kozicki wrote:
>Awhile back, someone had posted a script here that allowed you to retrieve
>the config of an Ascend device (pipe, max, tnt) via TFTP. I've checked the
>archives and cannot find it. Does anyone have it handy? Could you drop me a
>note if so?
>
>Thanks a million in advance,
>
>
>Scott Kozicki
>BlueStar Communications
>++ Ascend Users Mailing List ++
>To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
>To get FAQ'd:	<http://www.nealis.net/ascend/faq>
> 
===============================================================
Dean Frye.                      Systems Engineer - Asia Pacific
                            ________
Ascend Asia Pacific        |   /\   |   http://apac.ascend.com/
Level 38/55 Collins        |  /__\  |   em: dfrye@ascend.com.au
Melbourne, Victoria        | //  \\ |   Voice:   +61.3.96567000
Australia 3000             |/ \__/ \|   Mobile:   +61.418546635
                             ASCEND     
===============================================================
++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>