I am running a TcL script on a Nexus 7k and would like to suppress the output from cli commands. The TcL book says it can be done by enteringt "log_user 0", which works on a ASR router but not the Nexus switch.
On a nexus 5500 running 5.1(3)N2(1b) -- using the workround of adding a blank command at the end doesn't work either.
I'm trying to find a solution as well. Doing a large number of show commands, using regex to trim the results to just what I want, and then display only the bits we're interested in, in the format we want. But preferrably without all the junk scrolling by as the script runs.
I'm also trying to do something similiar to sojouner9 just not as complicated.. I"m just trying to make a known IOS ping script, just as pretty on nx-os. It runs fine but I need to supress the pings results out from the script. Here is the script and the results.... Any help of course is appreciate.
It looks like a limitation (at least on N7K) of the exec and cli commands. Other "set" results can be suppressed using the puts trick. I couldn't find an existing enhancement request on this, so I suggest you contact your account team to raise one.
It's been a long time on this one. I wish it worked... seems like a no brainer to me. TCL is an old language; the ability to store output in a variable (thus not displaying it) for further processing through its string manipulation facilities is fundamental.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...