proc dosh { cmd } { set res [exec $cmd] puts "$cmd
" puts "
$res
" } puts "lsa" puts "" dosh "show ipv4 lsrp 1 tree" dosh "show ipv6 lsrp 1 tree" puts ""