I want to retrieve the hostname of the running config.I started easy with putting the hostname in a variable and this works fineset HOSTNAME "hostname P3"set HOST [ regexp -inline {[A-Z0-9]*$} $HOSTNAME ]puts $HOSTOutput:P3(tcl)#puts $HOSTP3 Now, whe...