TCL SCRIPT  

Wednesday, October 8, 2008

configuration is like walk in the park now i will directly present you with tcl scrip output and show ip route for r1 ...

THE REASON WHY I PASTE THE ROUTER CONFIGS IS THAT YOU CAN DIRECTLY CONFIG AND PASTE IT YOUR ROUTER AND BOOM YOU CAN DEBUG FOR RESULTS ..MAY BE I WILL COPY FROM HERE AND PASTE DURING MY REVISION

CODE

tclsh
foreach address {
172.16.13.1
172.16.13.2
172.16.23.1
172.16.23.2
172.16.12.1
172.16.12.2
192.168.2.2
192.168.1.1
192.168.3.3
10.1.1.1
10.1.1.2
10.1.1.3
} {
ping $address
}


r3(tcl)#foreach address {
+>(tcl)#172.16.13.1
+>(tcl)#172.16.13.2
+>(tcl)#172.16.23.1
+>(tcl)#172.16.23.2
+>(tcl)#172.16.12.1
+>(tcl)#172.16.12.2
+>(tcl)#192.168.2.2
+>(tcl)#192.168.1.1
+>(tcl)#192.168.3.3
+>(tcl)#10.1.1.1
+>(tcl)#10.1.1.2
+>(tcl)#10.1.1.3
+>(tcl)#} {
+>(tcl)#ping $address
+>(tcl)#}

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.13.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/81/132 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.13.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/60/172 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/51/108 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/64/124 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/45/124 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/64/120 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/88/120 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/52/104 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
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 = 8/75/136 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/69/160 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms




here is the routing info

CODE
r1#sir
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
D 172.16.23.0/29 [90/2681856] via 172.16.13.2, 00:21:27, Serial1/1
[90/2681856] via 172.16.12.2, 00:21:27, Serial1/0
C 172.16.12.0/29 is directly connected, Serial1/0
C 172.16.13.0/29 is directly connected, Serial1/1
D 172.16.0.0/16 is a summary, 00:20:09, Null0
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.1.0/24 is directly connected, FastEthernet0/0
D 10.0.0.0/8 is a summary, 00:21:27, Null0
C 192.168.1.0/24 is directly connected, Loopback1
D 192.168.2.0/24 [90/409600] via 10.1.1.2, 00:20:09, FastEthernet0/0
D 192.168.3.0/24 [90/409600] via 10.1.1.3, 00:20:08, FastEthernet0/0
r1#

Design by Blogger Buster | Distributed by Blogging Tips