17
Description
Use
flow-interval
to set the statistics polling interval for all interfaces.
Use
undo flow-interval
to restore the default interval.
By default, the statistics polling interval is 300 seconds.
Examples
# Set the statistics polling interval to 100 seconds.
<Sysname> system-view
[Sysname] flow-interval 100
loopback-detection control enable
Syntax
loopback-detection control enable
undo loopback-detection control enable
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use
loopback-detection control enable
to enable loopback detection control on trunk or hybrid ports.
Use
undo loopback-detection control enable
to restore the default.
By default, loopback detection control is disabled on trunk and hybrid ports.
When a hybrid or trunk port detects a loop condition, it sends traps, whether loopback detection control
is enabled or not. However, only after loopback detection control is enabled will the port perform the
protective action configured with the
loopback-detection action
command.
This command does not apply to access ports.
Examples
# Enable loopback detection control on the trunk port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
[Sysname-GigabitEthernet1/0/1] loopback-detection enable
[Sysname-GigabitEthernet1/0/1] loopback-detection control enable