Configuring the icmp template, Configuring the dns template – H3C Technologies H3C MSR 5600 User Manual
Page 42
29
Configuring the ICMP template
A feature that uses the ICMP template creates and starts the ICMP operation to measure the reachability
of a destination device. The ICMP template is supported in both IPv4 and IPv6 networks.
To configure the ICMP template:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an ICMP template and
enter its view.
nqa template icmp name N/A
3.
(Optional.) Specify the
destination IPv4 or IPv6
address of the operation.
•
IPv4 address:
destination ip ip-address
•
IPv6 address:
destination ipv6
ipv6-address
By default, no destination IP address
is configured.
4.
Specify the payload size in
each ICMP request.
data-size size
The default setting is 100 bytes.
5.
Specify the string to be filled in
the payload of each request.
data-fill string
The default setting is the
hexadecimal number
00010203040506070809.
Configuring the DNS template
A feature that uses the DNS template creates and starts the DNS operation to determine the status of the
server. It is supported in both IPv4 and IPv6 networks.
In DNS template view, you can specify the address expected to be returned. If the returned IP address is
the same as the expected address, the DNS server is valid and the operation succeeds. Otherwise, the
operation fails.
Create a mapping between the domain name and an address before you perform the DNS operation.
For information about configuring the DNS server, see Layer 3—IP Services Configuration Guide.
To configure the DNS template:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a DNS template and
enter DNS template view.
nqa template dns name N/A
3.
(Optional.) Specify the DNS
server's IPv4 or IPv6 address.
•
IPv4 address:
destination ip ip-address
•
IPv6 address:
destination ipv6 ipv6-address
By default, the IP address of the
DNS server is not specified.
4.
Configure the destination port
number for the operation.
destination port port-number
By default, the destination port
number is 53.
5.
Specify the domain name that
needs to be translated.
resolve-target domain-name
By default, no domain name is
specified.