Have a play with these if you like:




snmpset -v1 192.168.80.254 password .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 password .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 password .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 password .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 password .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 password .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 password .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 password .1.3.6.1.4.1.9.9.96.1.1.1.1.10.11
snmpget -v1 192.168.80.254 password .1.3.6.1.4.1.9.9.96.1.1.1.1.10.11
snmpget -v1 192.168.80.254 password .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 password .1.3.6.1.4.1.9.9.96.1.1.1.1.14.11
integer 6




""V\J@>|""  wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,mrtg#!
>
>
> Any one can tell me whether I can  get running-config of cisco routers
> through SNMP request!#
> And if we can ,what is the oid for this purpose?
> Thanks .
>
>
>
>
>             [EMAIL PROTECTED]




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=39695&t=39695
--------------------------------------------------
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