====== Lab 00000 Initial Config 2 Routers, IOS-XE ====== {{ :cisco:labs:00000.jpg?700 |}} ===== Router 1 ===== en conf t hostname r1 no service call-home no call-home no ip http server no ip http authentication local no ip http secure-server ! int g1 ip add 12.0.0.1 255.255.255.0 no shut exit ! int lo0 ip add 1.1.1.1 255.255.255.255 exit ! line con 0 logg syn exec-timeout 0 0 width 512 history size 256 exit do wr ===== Router 2 ===== en conf t hostname r2 no service call-home no call-home no ip http server no ip http authentication local no ip http secure-server ! int g1 ip add 12.0.0.2 255.255.255.0 no shut exit ! int lo0 ip add 2.2.2.2 255.255.255.0 exit ! line con 0 logg syn exec-timeout 0 0 width 512 history size 256 exit do wr ===== Verification ===== r1#ping 12.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/3 ms r1#ping 2.2.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) This will be fixed on Lab 00100. ===== TCL Script ===== r1#tclsh r1(tcl)#foreach ipaddr { +>(tcl)#12.0.0.2 +>(tcl)#} { ping $ipaddr} Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/2 ms r1(tcl)#tclquit r2#tclsh r2(tcl)#foreach ipaddr { +>(tcl)#12.0.0.1 +>(tcl)#} { ping $ipaddr} Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.0.0.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms r2(tcl)#tclquit