cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

245
Views
0
Helpful
0
Replies
Highlighted

TCL to output to cisco router log

is it possible to out put this to cisco router logs or sending to file in the router flash only option?
no need to send out to other syslog server but just router itself

 

for {set i 1} {$i<4} {incr i} {
set var 1.1.1
append var "." $i
puts $var
set mybuffer [exec "ping $var"]
puts $mybuffer
}

 

1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
1.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
1.1.1.3

CreatePlease to create content
Content for Community-Ad