0% found this document useful (0 votes)
34 views

TCL Script

This document contains commands to ping two IP addresses - 172.20.1.1 and 172.20.2.2 using a foreach loop in tclsh. It also contains a command to display a brief output of IP interfaces from the router, filtering for interfaces with 'una' in the name.

Uploaded by

pravine123
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

TCL Script

This document contains commands to ping two IP addresses - 172.20.1.1 and 172.20.2.2 using a foreach loop in tclsh. It also contains a command to display a brief output of IP interfaces from the router, filtering for interfaces with 'una' in the name.

Uploaded by

pravine123
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

#tclsh

foreach i {
172.20.1.1
172.20.2.2
} { ping $i }
================================================
show ip int brief | e una
ALT Drag
=================================================

You might also like