display loopback-detection

Syntax

display loopback-detection [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display loopback-detection to display the status of the loopback detection function.

If loopback detection is enabled, this command also displays the detection interval and ports in a loop condition.

Examples

# Display information about loopback detection.

<Sysname> display loopback-detection
 Loopback detection is running.
 Detection interval is 30 seconds.
 No port is detected with loopback.

Table 7: Command output

Field

Description

Detection interval time is 30 seconds.

Loopback detection interval is 30 seconds.

No port is detected with loopback.

No loops are detected on ports.