R2511-HP MSR Router Series Interface Command Reference(V5)

Table Of Contents
112
You can associate a nonexistent track entry, but the detection function takes effect only after you create
the track entry by using the track command.
The maximum time that the detection module detects a link recovery event and reports the positive event
depends on the detection module configuration. For example, when NQA ICMP echo requests are used
to ping a host, the frequency command defines the interval between tests and determines how long a link
change can be detected.
In a stable 3G/4G network, a 3G/4G modem automatically recovers within one minute.
After the recovery track command is configured, a positive event is required to validate auto-recovery of
3G/4G modems.
After a cellular interface is brought up by using the undo shutdown command, a positive event is
required to validate auto-recovery of 3G/4G modems.
Examples
# Create an ICMP-echo NQA operation with the administrator as admin and operation label as test.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] destination ip 172.31.21.1
# Configure the sending interval for ICMP echo requests as five minutes.
[Sysname-nqa-admin-test-icmp-echo] frequency 300000
# Create reaction entry 1. After three consecutive failures, collaboration is triggered.
[Sysname-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type
consecutive 3 action-type trigger-only
# Start the ICMP-echo operation immediately.
[Sysname-nqa-admin-test-icmp-echo] nqa schedule admin test start-time now lifetime
forever
# Create track entry 1 and associate it with reaction entry 1 of the NQA operation.
[Sysname] track 1 nqa entry admin test reaction 1
# On interface Cellular 2/0, associate 3G modem auto-recovery with track entry 1, and set the delay
time to wait for a positive event to 15 minutes and the maximum auto-recovery times to 0.
[Sysname] interface cellular 2/0
[Sysname-Cellular2/0]recovery track 1 delay 15 consecutive 0
reset counters interface cellular
Use reset counters interface cellular to clear statistic on the specified serial interface.
Syntax
reset counters interface [ cellular [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
cellular interface-number: Specifies a cellular interface.