Dns Template Configuration Example - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

# If the number of consecutive successful probes reaches 2, the operation succeeds. The NQA client
notifies the feature of the successful operation event.
[DeviceA-nqatplt-icmp-icmp] reaction trigger probe-pass 2
# If the number of consecutive probe failures reaches 2, the operation fails. The NQA client notifies the
feature of the operation failure.
[DeviceA-nqatplt-icmp-icmp] reaction trigger probe-fail 2

DNS template configuration example

Network requirements
As shown in
operation tests whether Device A can perform the address resolution through the DNS server.
Figure 22 Network diagram
Configuration procedure
# Assign each interface an IP address. (Details not shown.)
# Configure static routes or a routing protocol to make sure the devices can reach each other. (Details not
shown.)
# Create DNS template dns.
<DeviceA> system-view
[DeviceA] nqa template dns dns
# Specify the IP address of the DNS server 10.2.2.2 as the destination IP address.
[DeviceA-nqatplt-dns-dns] destination ip 10.2.2.2
# Specify the domain name to be translated as host.com.
[DeviceA-nqatplt-dns-dns] resolve-target host.com
# Specify the domain name resolution type as type A.
[DeviceA-nqatplt-dns-dns] resolve-type A
# Specify the expected IP address as 3.3.3.3.
[DeviceA-nqatplt-dns-dns] expect ip 3.3.3.3
# If the number of consecutive successful probes reaches 2, the operation succeeds. The NQA client
notifies the feature of the successful operation event.
[DeviceA-nqatplt-dns-dns] reaction trigger probe-pass 2
# If the number of consecutive probe failures reaches 2, the operation fails. The NQA client notifies the
feature of the operation failure.
[DeviceA-nqatplt-dns-dns] reaction trigger probe-fail 2
Figure
22, configure a DNS template for a feature to perform the DNS operation. The
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents