I would like to know if we can suppress certain lines from being displayed on the CLI. Example: I call following TCL script, that in itself calls some other scripts. What i Get on the screen is this:
switch#tclsh tftp://172.16.1.1/aliasmenu.tcl cpu
Loading aliasmenu.tcl from 172.16.222.89 (via Vlan10): !
[OK - 7140 bytes]
Calling second script
Loading aliascpu.tcl from 172.16.1.1 (via Vlan10): !
[OK - 198 bytes]
The argument given was cpu
What i'd like to see is just this:
switch#tclsh tftp://172.16.1.1/aliasmenu.tcl cpu
Calling second script
The argument given was cpu
So im looking for a way to suppres the Loading commands to the SSH VTY terminal output. I already tried with some discriminator commands:
logging discriminator HIDETCL msg-body drops Loading
logging buffered discriminator HIDETCL
logging console discriminator HIDETCL
logging monitor discriminator HIDETCL
But they only work for Log messages. The Loading commands aren't log messages but direct outputs to the CLI. I tried the file prompt quiet
command as well, as i thought maybe the copy command is behind the TCLsh command. But without any luck. Anyone else maybe had to deal with this type of request?