Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Saturday, July 21, 2012

tcl...

simple... make a text file...


foreach address {
10.1.1.1
10.1.1.2
1.1.1.1
5.5.5.5
} {
ping $address
}

open tcl on a router and slam it in (hit enter)

 r3(tcl)#foreach address {                                                     
+>(tcl)#10.1.1.1                                                              
+>(tcl)#10.1.1.2                                                              
+>(tcl)#1.1.1.1                                                               
+>(tcl)#5.5.5.5                                                               
+>(tcl)#} {                                                                   
+>(tcl)#ping $address                                                         
+>(tcl)#}                                                                     
                                                                              
Type escape sequence to abort.                                                
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:             
!!!!!                                                                         
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms          
Type escape sequence to abort.                                                
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:             
!!!!!                                                                         
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms          
Type escape sequence to abort.                                                
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:              
!!!!!                                                                         
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/8 ms          
Type escape sequence to abort.                                                
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:              
!!!!!                                                                         
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms          
r3(tcl)#

that was very exciting...

No comments:

Post a Comment