R3166-R3206-HP High-End Firewalls High Availability Configuration Guide-6PW101
80
NQA configuration examples
ICMP echo test configuration example
Network requirements
Use the NQA ICMP function to test whether the NQA client (Firewall) can send packets to the specified
destination (Device) and test the roundtrip time of packets.
Figure 29 Network diagram for ICMP echo tests
Configuration procedure
# Create an ICMP echo test group and configure related test parameters.
<Firewall> system-view
[Firewall] nqa entry admin test
[Firewall-nqa-admin-test] type icmp-echo
[Firewall-nqa-admin-test-icmp-echo] destination ip 10.2.2.2
# Configure optional parameters.
[Firewall-nqa-admin-test-icmp-echo] probe count 10
[Firewall-nqa-admin-test-icmp-echo] probe timeout 500
[Firewall-nqa-admin-test-icmp-echo] frequency 5000
# Enable the saving of history records.
[Firewall-nqa-admin-test-icmp-echo] history-record enable
[Firewall-nqa-admin-test-icmp-echo] history-record number 10
[Firewall-nqa-admin-test-icmp-echo] quit
# Enable ICMP echo test.
[Firewall] nqa schedule admin test start-time now lifetime forever
# Disable ICMP echo test after the test begins for a period of time.
[Firewall] undo nqa schedule admin test
# Display results of the last ICMP echo test.
[Firewall] display nqa result admin test
NQA entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send operation times: 10 Receive response times: 10
Min/Max/Average round trip time: 2/5/3
Square-Sum of round trip time: 96
Last succeeded probe time: 2007-08-23 15:00:01.2
Extended results:
Packet lost in test: 0%
Failures due to timeout: 0
Failures due to disconnect: 0
Failures due to no connection: 0