CONSole

Control console options

CONSole

Shortest form: cons.

Turn the SDK’s console output on or off. It takes exactly one argument, on or off, spelt out. File logging with log is not affected.

console off also silences the output of the commands you type, until console on. It stays off until you turn it back on or syncd restarts. Use it only together with log, to send a long output to a file. The SAI’s own tech-support collection switches the console off and on in the same way.

Hardware-validated

drivshell> console off; log file=/tmp/out.log; ps; log off; console on

Built-in help

Parameters: on|off
    Turn on or off output to the console. This does not affect current
    logging

Further reading

SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM_SDK命令.