The terminal echo synchronous command enables a terminal to display debugging, log, or alarm information synchronously.
The undo terminal echo synchronous command disables a terminal from displaying debugging, log, or alarm information synchronously.
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. NOTE:
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. |
By default, a terminal displays debugging, log, and trap information asynchronously.
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.
When a device generates debugging, log, or trap information, the information is directly sent to a terminal regardless of the device process. This output is called an asynchronous output.
In asynchronous output mode, multiple types of information interlaces, which bring 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.
Before running the terminal echo synchronous command, perform the following operations:
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.
<sysname> terminal monitor Info: Current terminal monitor is on. <sysname> terminal debugging Info: Current terminal debugging is on. <sysname> terminal echo synchronous Info: Current terminal synchronization is on. <sysname> The current configuration will be written to the device. Are you sure to continue?[Y/N]: Nov 23 2014 12:04:37.790.2 huawei VTY/7/Debug_Stat: (0)VTY ACCEPT BEGIN ! Nov 23 2014 12:04:37.790.3 huawei VTY/7/Debug_Stat: (1)SOCKET ACCEPT OK ! Nov 23 2014 12:04:37.790.4 huawei VTY/7/Debug_Stat: (2)FIND LINE INDEX OK ! [Y/N]: