proc dosh { cmd } { global sh set res [exec "term tab html" $cmd] set sh "$sh$cmd
$res
" } set sh "" dosh "show clock | html" dosh "show platform | html" dosh "show banner" dosh "show logo" dosh "show ipv4 bgp 1955 unicast summary" dosh "show ipv6 bgp 1955 unicast summary" puts "hbone lg" puts "" puts "$sh" puts ""