beautypg.com

Configuring the icmp template, Configuring the dns template – H3C Technologies H3C S6300 Series Switches User Manual

Page 147

background image

134

Some operation parameters for an NQA template can be specified by the template configuration or the

feature that uses the template. When both are specified, the parameters in the template configuration
take effect.

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.

(Optional.) Specify the
payload size for each ICMP

request.

data-size size

The default setting is 100 bytes.

5.

(Optional.) Specify the
payload fill string for requests. data-fill string

The default setting is the hexadecimal
number

00010203040506070809.

6.

(Optional.) Specify the IP

address of the specified

interface as the source IP
address of ICMP echo

requests.

source interface interface-type
interface-number

By default, no source IP address is
specified. The requests use the
primary IP address of the outgoing

interface as their source IP address.
If you configure both source ip and
source interface, the most recent

configuration takes effect.
The specified source interface must
be up. The source IP address must be

the IP address of a local interface

and the interface must be up.

7.

(Optional.) Specify the source
IPv4 or IPv6 address for the

probe packets.

IPv4 address:
source ip ip-address

IPv6 address:

source ipv6 ipv6-address

By default, no source IP address is
specified.
The source IP address must be the IP
address of a local interface, and the

interface must be up. Otherwise, no

probe packets can be sent out.

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.