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 => 10000,
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]