I have 10 routers, and need to write a script so that each router pings each other and get the result in a file.
We need to further extract the min/avg/max result and write a script to put in a excel file.
E.g.
Code:
LAB-R3A-7609#ping 6.6.6.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Appreciate if someone can help on this. Thanks in advance
Last edited by radoulov; 07-19-2011 at 12:52 PM..
Reason: Code tags.
Hi all,
I use a bash script which use expect to connect throught ssh and run command on a cisco router. The ssh connection with expect work fine, but the first command on the cisco router failed,
I try to run the command in error by hand and it work fine... :(
the first part of the script... (2 Replies)
Hi
Can any one please guide me how can I configure a few commands for a few devices in file1.txt.
username: user1
password: pass
enable pass: ep
file1.txt:
device1.abc.com
device2.abc.com
router.xpy.com
I want to apply all the config lines for each device in file1.txt
... (0 Replies)
It is possible to connect wireless router that has 4 ethernet connections and WAN connection with regular router that has UPLINK and WAN and 4 ethernet ports? (9 Replies)
There is a small company with 3 locations in Idaho. Currently they are using UNIX with multiplexors from 10 years ago. They would like to speed up their downloads and connection speeds but don't want to pay more than they are paying right now. They currently pay $200/mo. The main office is in... (4 Replies)