Configuring a dns operation, Configuring an ftp operation – H3C Technologies H3C MSR 50 User Manual
Page 124

Step Command
Remarks
By default, no interface is specified
to perform a DHCP operation.
271.
Specify an interface to
perform the DHCP operation.
operation interface interface-type
interface-number
The specified interface must be up.
Otherwise, no probe packets can
be sent out.
Configuring a DNS operation
A DNS operation measures the time the NQA client uses to translate a domain name into an IP address
through a DNS server.
A DNS operation simulates domain name resolution and does not save the obtained DNS entry.
To configure a DNS operation:
Step Command
Remarks
272.
Enter system view.
system-view
N/A
273.
Create an NQA operation
and enter NQA operation
view.
By default, no NQA operation is
created.
nqa entry admin-name operation-tag
274.
Specify the DNS type and
enter its view.
type dns
N/A
275.
Specify the IP address of the
DNS server as the
destination address of DNS
packets.
By default, no destination IP
address is configured.
destination ip ip-address
276.
Configure the domain name
that needs to be translated.
By default, no domain name is
configured.
resolve-target domain-name
Configuring an FTP operation
An FTP operation measures the time the NQA client uses to transfer a file to or download a file from an
FTP server.
Follow these guidelines when you configure an FTP operation:
•
Before you perform an FTP operation, obtain the username and password for logging in to the FTP
server.
•
When you execute the put command, the NQA client creates a file (not a real one) named
file-name of fixed size on the FTP server. When you execute the get command, the client does not
save the file obtained from the FTP server.
•
If you get a file that does not exist on the FTP server, the FTP operation fails.
•
Only use the get command to download a small file. A big file might result in transfer failure
because of timeout, or might affect other services for occupying much network bandwidth.
To configure an FTP operation:
111