The terminal echo synchronous command enables a terminal to display debugging, log, or trap information synchronously.
The undo terminal echo synchronous command disables a terminal from displaying debugging, log, or trap information synchronously.
By default, a terminal displays debugging, log, and trap information asynchronously.
terminal echo synchronous [ level { severity | all } | size size-number ] *
undo terminal echo synchronous
Parameter | Description | Value |
---|---|---|
level severity | Specifies an information severity. | The value is an integer ranging from 0 to 7. The default value is 0. The information center classifies information into the following severities:
A smaller value indicates a higher severity. The information with a severity higher than a specified severity is displayed asynchronously. |
all | Displays information of all severities. |
– |
size size-number | Specifies the total number of debugging, log, and trap records. |
The value is an integer ranging from 1 to 1024. The default value is 512. |
When a device generates debugging, log, or trap information, the information queues in the device process and is sent to a terminal sequentially. This output is called a synchronous output.
A synchronous output provides effectively organized output information, improving user experience. In asynchronous output mode, multiple types of information interlaces, which brings poor readability. An asynchronous output allows you to promptly obtain debugging and diagnosis information and therefore applies to debugging and diagnosis scenarios.
You can run the terminal echo synchronous command to enable a synchronous output on a terminal, facilitating subsequent operations.
When you enter a command, the entered command content is displayed after debugging, log, or trap information is displayed. This function is enabled by default. After a synchronous output is disabled, this function is still supported.
If you run a command, for example, for decompressing or saving a file, the terminal does not display output information until the operation is complete. This process ensures monitoring continuity.
Terminal display has been enabled using the terminal monitor command.
The terminal has been enabled to display debugging, log, or trap information using the terminal debugging, terminal logging, or terminal trapping command.
# Enable a terminal to display debugging information synchronously.
<HUAWEI> terminal monitor Info: Current terminal monitor is on. <HUAWEI> terminal debugging Info: Current terminal debugging is on. <HUAWEI> terminal echo synchronous Info: Current terminal synchronization is on. <HUAWEI> save The current configuration will be written to the device. Are you sure to continue?[Y/N]: Aug 23 2012 12:04:37.790.2 huawei VTY/7/Debug_Stat: (0)VTY ACCEPT BEGIN ! Aug 23 2012 12:04:37.790.3 huawei VTY/7/Debug_Stat: (1)SOCKET ACCEPT OK ! Aug 23 2012 12:04:37.790.4 huawei VTY/7/Debug_Stat: (2)FIND LINE INDEX OK ! [Y/N]: