< Home

terminal echo synchronous

Function

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.

Format

terminal echo synchronous [ level { severity | all } | size size-number ] *

undo terminal echo synchronous

Parameters

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:

  • 0: emergency

  • 1: alert

  • 2: critical

  • 3: error

  • 4: warning

  • 5: notice

  • 6: informational

  • 7: debug

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.

Views

User view

Default Level

3: Management level

Usage Guidelines

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.

  • When no command is entered, the command prompt 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.
  • When a command is being run, no debugging, log, or trap information is displayed. After the command is run, debugging, log, or trap information is displayed.
  • When you enter Y for the message "Are you sure to continue?[Y/N]," the [Y/N]: prompt is displayed after debugging, log, or trap information is displayed.
  • When you enter the More phase, the More prompt is displayed after debugging, log, or trap information is displayed.
  • 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:

Example

# 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]:
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >