Setting the loop detection interval, Displaying and maintaining loop detection, Loop detection configuration example – H3C Technologies H3C S5560 Series Switches User Manual

Page 150: Network requirements

Advertising
background image

116

Configuring the loop protection action on a Layer 2 aggregate
interface

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 aggregate
interface view.

interface bridge-aggregation
interface-number

N/A

3.

Configure the loop protection
action on the interface.

loopback-detection action

shutdown

By default, the switch generates
a log but performs no action on

the port on which a loop is
detected.

Setting the loop detection interval

With loop detection enabled, the switch sends loop detection frames at a specified interval. A shorter

interval offers more sensitive detection but consumes more resources. Consider the system performance
and loop detection speed when you set the loop detection interval.
To set the loop detection interval:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the loop detection interval. loopback-detection interval-time

interval

The default setting is 30 seconds.

Displaying and maintaining loop detection

Execute display commands in any view.

Task Command

Display the loop detection configuration and status.

display loopback-detection

Loop detection configuration example

Network requirements

As shown in

Figure 37

, configure loop detection on Device A, so that Device A generates a log as a

notification and automatically shuts down the port on which a loop is detected.

Advertising