cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1533
Views
0
Helpful
0
Replies

TCL to output to cisco router log

MonkeyBear007
Level 1
Level 1

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

0 Replies 0

Review Cisco Networking for a $25 gift card