The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
T-023: Multiple Vulnerabilities in Cisco PIX and Cisco ASA iBot Security Advisories (RSS) 0 11-13-2008 10:10 PM
How to capture STDOut of script in a CGI script? kittu1979 UNIX for Advanced & Expert Users 1 11-10-2008 04:29 AM
S-307: Multiple Vulnerabilities in Cisco PIX and Cisco ASA iBot Security Advisories (RSS) 0 06-06-2008 04:00 PM
O-124: Cisco TCP Vulnerabilities in Multiple Cisco Products [rev. 12] iBot Security Advisories (RSS) 0 01-10-2008 01:20 PM
Script Output Woes (stdout?) c0nn0r Shell Programming and Scripting 2 07-09-2006 06:22 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-05-2008
research3 research3 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 88
Cisco TCL script write stdout to tftpboot

I want to log the following stdout:

router(config)#scripting tcl init tftp://192.168.1.1/remote-ping.tcl

=====================================
tclsh
proc rping {} {
foreach address {
192.168.1.1
192.168.2.1
} { ping $address re 50 si 1500
}
=====================================

router(tcl)#rping

Type escape sequence to abort.
Sending 50, 1500-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sending 50, 1500-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This script will be executed remotly via cron job, and I want to log all the ICMP-replies.


Any suggestion !!
Closed Thread

Bookmarks

Tags
unresolved, unresolved for months, unresolved for weeks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0