This code will do more than print but I am just taking the first steps. if [catch {cli_exec $cli1(fd) "enable"} _cli_result] { error $_cli_result $errorInfo}if [catch {cli_exec $cli1(fd) "show ip ospf neighbor gigabitEthernet 0/0 detail | include ...