![H3C S3600V2 SERIES Скачать руководство пользователя страница 26](http://html2.mh-extra.com/html/h3c/s3600v2-series/s3600v2-series_layer-2-lan-switching-configuration-manual_3654240026.webp)
11
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view.
interface
interface-type
interface-number
N/A
3.
Set the statistics polling
interval on the Ethernet
interface.
flow-interval
interval
Optional.
The default interface statistics
polling interval is 300 seconds.
To display the interface statistics collected in the last polling interval, use the
display interface
command.
To clear interface statistics, use the
reset counters interface
command.
Enabling loopback detection on an Ethernet interface
If a switch receives a packet that it sent, a loop has occurred to the switch. Loops might cause broadcast
storms, which degrade network performance. You can use this feature to detect whether a loop has
occurred.
Depending on whether the receiving interface is the same as the sending interface, loops fall into the
following type:
•
Single-port loop
—Occurs when an interface receives a packet that it sent out and the receiving
interface is the same as the sending interface, as shown in
•
Multi-port loop
—Occurs when a switch receives a packet that it sent out but the receiving interface
is not the sending interface. For example, as shown in
, when Port 2 receives the packet
sent out of Port 1, a loop occurs between Port 1 and Port 2, and Port 2 is the looped port.
Figure 3
Single-port loop
Figure 4
Multi-port loop
You can enable loopback detection to detect loops on an interface and, if the interface supports the
loopback-detection action
command, configure the protective action to take on the receiving interface