Configuring optional parameters for the NQA template

Unless otherwise specified, the following optional parameters apply to all types of NQA templates.

The parameter settings take effect only on the current NQA template.

To configure optional parameters for an NQA template:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create an NQA template and enter its view.

nqa template { dns | ftp | http | https | icmp | ssl | tcp | tcphalfopen | udp } name

By default, no NQA templates exist.

3. Configure a description.

description text

By default, no description is configured.

4. Set the interval at which the NQA operation repeats.

frequency interval

The default setting is 5000 milliseconds.

If the operation is not completed when the interval expires, the next operation does not start.

5. Set the probe timeout time.

probe timeout timeout

The default setting is 3000 milliseconds.

6. Set the TTL for probe packets.

ttl value

The default setting is 20.

7. Set the ToS value in the IP header of probe packets.

tos value

The default setting is 0.

8. Specify the VPN instance where the operation is performed.

vpn-instance vpn-instance-name

By default, the operation is performed on the public network.

9. Set the number of consecutive successful probes to determine a successful operation event.

reaction trigger probe-pass count

The default setting is 3.

If the number of consecutive successful probes for an NQA operation is reached, the NQA client notifies the feature that uses the template of the successful operation event.

10. Set the number of consecutive probe failures to determine an operation failure.

reaction trigger probe-fail count

The default setting is 3.

If the number of consecutive probe failures for an NQA operation is reached, the NQA client notifies the feature that uses the NQA template of the operation failure.