Руководство пользователя
1. Configuring WAN-4G
7
www.qtech.ru
1.2.1.3
Configuring a Single 4G Interface to Associate with Track
Configuration method 1:
Command
Description
Qtech# configure terminal
Enters the global configuration mode.
Qtech(config)# ip rns
1
Enters the IP RNS configuration mode.
Qtech(config-ip-rns)# icmp-echo
10.1.1.1
Configures an IP RNS object and uses it to send ICMP
packets.
Qtech(config-ip-rns)# frequency
1000
The interval for the RNS to send packets, in
milliseconds. This interval must be greater than or equal
to the timeout duration. The value is 60 seconds by
default. The value range is from 10 to 604800000.
Qtech(config-ip-rns)# timeout
1000
The time used to judge timeout after the RNS sends
packets, in milliseconds. The value is 5 seconds for the
ICMP Echo packet and 9 seconds for the DNS packet by
default. The value range is from 10 to 604800000 when
ICMP Echo detection is used and from 1000 to
604800000 when DNS detection is used.
Qtech(config)# track
1
rns
1
Tracks the status of an IP RNS object and enters the
Track mode.
Qtech(config-track)# delay up
30
(Optional) Specifies a period of time. When the status of
a Track object changes, the status will change after this
period of time. There is no delay by default.
Qtech# configure terminal
Enters the global configuration mode.
Qtech(config)# interface cellular
0/0
Enters the interface configuration mode.
Qtech(config-if- cellular 1)# profile create master track
1
Configures the ID of the Track object associated with the
4G interface status.
Qtech(config-if- cellular 1)# backup-valid-check valid-timer
30 max-check-times 3
Configures the time and count of checking the availability
query timer (60 seconds and 3 times by default).
Association of a 4G interface with Track can be configured on a Qtech 4G router to check the link service
status. When the status of the Track object changes to down, 4G link reset can be triggered to initiate a
dial-up connection. After successful dialing, if the Track status is not up and remains to be down, the
corresponding 4G interface is still unavailable in this situation. In this case, this timer needs to be started
to perform check. If it is within the time of set "seconds * max-times", the time is 60s * 3 = 180s (the
default configuration is used as an example), the corresponding Track status is still down, and the 4G link
is reset again to initiate a dial-up connection, thus ensuring link recovery.
Example: Configure a single 4G card to associate with Track.
Qtech# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Qtech(config)# ip rns 1
Qtech(config-ip-rns)# icmp-echo 10.1.1.1
Qtech(config-ip-rns)# frequency 1000
Qtech(config-ip-rns)# timeout 1000
Qtech(config)# track 2 rns 1
Qtech(config-track)# delay up 30
Qtech(config-track)# exit
Qtech(config)# interface cellular 0/0
Qtech(config-if-cellular 0/0)# profile create master track 1
Qtech(config-if-cellular 0/0)# backup-valid-check valid-timer 30 max-check-times 3
Qtech(config-if-cellular 0/0)# show run interface cellular 0/0
Building configuration...
Current configuration : 141 bytes
!
interface cellular 0/0
backup-valid-check valid-timer 30 max-check-times 3
profile create master apn 3gnet
profile create master username 3gnet password 3gnet
profile create master track 1
Summary of Contents for QSR-2830
Page 1: ...www qtech ru QSR 2830...