Originally posted by bill bearden
netcfgLoad "$::env(HCISITEDIR)/NetConfig"set conns [netcfgGetConnList]set conns [lsort $conns]set protocol ""echo [format "%-24s %-20s %-10s" Conn :Host :Local_IP]foreach conn $conns { if {[regexp {.*ob.*} $conn]} { catch {set protocol [netcfgGetConnData $conn "PROTOCOL"] set host [keylget protocol "HOST"] set local_ip [keylget protocol "LOCAL_IP"] set port [keylget protocol PORT] echo "[format %-25s $conn]:[format %-20s $host/$port]:$local_ip" } }}
Originally posted by Bob Richardson