In case anyone's really sad, have a go with the following. You can see where
the changes need to be made to fit your own requirements.
Please don't do this on a production network until you've played with it
enough for it to be your own fault rather than mine  :-)

Gaz

snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.14.11
integer 6

rem Initialise a new copy operation
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.14.11
integer 5

rem Set the ccCopySource FileType to "4" (running-config)
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.3.11
integer 4

rem Set the ccCopyDest FileType to "1" (network file)
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.4.11
integer 1

rem Set the ccCopyServerAddress to TFTP Server
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.5.11
a 192.168.80.127

rem Set the ccCopyFileName to whatever
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.6.11
s config.txt

rem Start the process.....
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.14.11
integer 1

rem Now return some states
snmpget -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.10.11
snmpget -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.10.11
snmpget -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.13.11

rem Destroy the process.....
snmpset -v1 192.168.80.254 communitystring .1.3.6.1.4.1.9.9.96.1.1.1.1.14.11
integer 6


 wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In case anyone is interested and needs to copy lots of configs etc with
> SNMP, there is a very useful tool called Pancho which can you this.
>
> It can be found at http://pancho.lunarmedia.net/
>
> Regards,
>
> Dom Stocqueler
>
>
>
>
>                     "Paul
> Watson"
>
> cc:
>                     Sent by:             Subject:     Re: Copying Config
to
> router via snmp [7:32027]
>
> nobody@groups
>
> tudy.com
>
>
>
> 17/01/2002
>
> 10:35
>
> Please
>                     respond
> to
>                     "Paul
> Watson"
>
>
>
>
>
>
> Thanks to all who replied. I downloaded the SolarWinds Eval and uploaded
> the
> config. Thanks for the help.
>
>
> --
> Paul B. Watson
> Network Engineer
> Inchcape Shipping Services
> [EMAIL PROTECTED]




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=32339&t=32027
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to