Configuring the dns operation – H3C Technologies H3C MSR 5600 User Manual
Page 26
13
The NQA client simulates the DHCP relay agent to forward DHCP requests for IP address acquisition
from the DHCP server. The interface that performs the DHCP operation does not change its IP address.
When the DHCP operation completes, the NQA client sends a packet to release the obtained IP address.
To configure the DHCP operation:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an NQA operation
and enter NQA operation
view.
nqa entry admin-name
operation-tag
By default, no NQA operation is
created.
3.
Specify the DHCP type and
enter its view.
type dhcp
N/A
4.
Specify the IP address of the
DHCP server as the
destination address of DHCP
packets.
destination ip ip-address
By default, no destination IP
address is specified.
5.
(Optional.) Specify the source
IP address of DHCP request
packets.
source ip ip-address
By default, no source IP address is
specified.
The source IP address must be the
IP address of the interface that
connects to the DHCP client. This IP
address is added to the giaddr
field in the DHCP request for the
DHCP server to select an address
pool.
The source IP address must be the
IP address of a local interface and
the interface must be up.
Configuring the DNS operation
The DNS operation measures the time for the NQA client 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 the DNS operation:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an NQA operation
and enter NQA operation
view.
nqa entry admin-name operation-tag
By default, no NQA operation is
created.
3.
Specify the DNS type and
enter its view.
type dns
N/A
4.
Specify the IP address of the
DNS server as the destination
address of DNS packets.
destination ip ip-address
By default, no destination IP
address is specified.