tclsh help

itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
hi CCIEs

do you know how to print out put using the TCL link script. I want to print the name of the device before I ping it or something like this?

oreach address {

"**** Exchange 2003 Webmail"
172.18.195.18
"**** puts "Exchange 365 Server"
172.18.195.16

} { ping $address
}

Comments

  • clarsonclarson Member Posts: 903 ■■■■□□□□□□
    something like this:

    puts "
    "


    puts "
    "
    puts "THE FOLLOWING TRANSACTIONS HAVE FAILED"
    puts "
    "
    puts "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"
    puts $summary
    puts "\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
    puts "
    "
    puts "Please Note Only Active Interfaces Were Tested"
    puts "Verify All Production Interfaces Are UP"
    puts [exec "show ip int brie | ex unassign"]
  • itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
    thanks i can do that ;) thank you
Sign In or Register to comment.