Re: [nsp] show tec by snmp/tftp

From: kevin brintnall (kbrint@visi.com)
Date: Thu Aug 27 1998 - 19:27:15 EDT


> I can read my routers config regularly on cron by snmpset & making it
> tftp its config to a host here.

> Can I do the same with 'show tec' (i.e. make it regularly [i.e. on
> demand] tftp down a copy of show tec with config et al in)? I know I
> can do it with an expect script.

ip rcmd remote-host [localUser] [remoteHost] [remoteUser]

Then, in remoteUser's crontab on remoteHost, something like:

0 0 * * * rsh router show tec > filename.`date +%Y%m%d`

-- 
 kevin brintnall <kbrint@visi.com>
 network engineer, vector internet
 E3979560EF3E00B7 36D422A3C0F3741C



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:13 EDT