03-Layer 2 Command Reference

HomeSupportReference GuidesCommand ReferencesH3C WA Series Access Points Command References(R1507P09)-6W10103-Layer 2 Command Reference
05-Loopback Detection Commands
Title Size Download
05-Loopback Detection Commands 51.03 KB

Loopback detection configuration commands

display loopback-detection

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

Syntax

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

Views

Any view

Default command 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.

Example

# Display the loopback detection status.

<Sysname> display loopback-detection

 Loopback-detection is running.

 Detection interval is 30 seconds.

 No port is detected with loopback.

loopback-detection enable

Use loopback-detection enable to enable loopback detection.

Use undo loopback-detection enable to disable loopback detection.

Syntax

loopback-detection enable

undo loopback-detection enable

Default

The loopback detection function is disabled.

Views

System view

Default command level

2: System level

Parameters

vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where vlan-id represents the VLAN ID and ranges from 1 to 4094, and &<1-10> indicates that you can specify up to 10 vlan-id [ to vlan-id ] parameters.

Example

# Enable loopback detection in system view.

<Sysname> system-view

[Sysname] loopback-detection enable

loopback-detection interval-time

Use loopback-detection interval-time to configure the loopback detection interval.

Use undo loopback-detection interval-time to restore the default.

Syntax

loopback-detection interval-time interval

undo loopback-detection interval-time

Default

The loopback detection interval is 30 seconds.

Views

System view

Default command level

2: System level

Parameters

interval: Sets the loopback detection interval in seconds from 5 to 300.

Example

# Set the loopback detection interval to 10 seconds.

<Sysname> system-view

[Sysname] loopback-detection interval-time 10

Related commands

display loopback-detection

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网