The loopback-detect packet-interval command sets the interval between sending loopback detection packets on all interfaces.
The undo loopback-detect packet-interval command restores the default interval between sending loopback detection packets on all interfaces.
By default, the interval between sending loopback detection packets is 5 seconds.
loopback-detect packet-interval packet-interval-time
undo loopback-detect packet-interval [ packet-interval-time ]
Parameter |
Description |
Value |
---|---|---|
packet-interval-time |
Specifies the interval between sending loopback detection packets. |
The value is an integer that ranges from 1 to 300, in seconds. |
Usage Scenarios
After loopback detection is enabled on an interface, the interface sends loopback detection packets at the interval specified by the loopback-detect packet-interval command. You can run the loopback-detect packet-interval command to adjust the interval between sending loopback detection packets according to service requirements. If a shorter interval is set, the system sends more loopback detection packets in a certain period. This enables the system to detect loopbacks more quickly and accurately, but more system sources are consumed.
Precautions
If you run the loopback-detect packet-interval command multiple times, only the latest configuration takes effect.