R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

118
You can configure a device to request its peer (especially in cases where a device is connected to the
operator's access server through a dial-up link) for the DNS server address during PPP negotiation to
enable domain names to be resolved for the device.
NOTE:
You can check the DNS server IP addresses of a port by displaying the information about the port.
Examples
# Enable the firewall to request its peer for the DNS server IP address actively through interface
Virtual-Template 10.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] ppp ipcp dns request
ppp ipcp remote-address forced
Syntax
ppp ipcp remote-address forced
undo ppp ipcp remote-address forced
View
VT interface view
Default level
2: System level
Parameters
None
Description
Use ppp ipcp remote-address forced to configure the firewall to assign an IP address to the peer by force.
This command also disables the peer from using a locally configured IP address.
Use undo ppp ipcp remote-address forced to cancel the configuration.
By default, the peer is allowed to use its locally configured IP address. The local end assigns an IP
address to the peer only when being explicitly requested to do so. In case the peer already has an IP
address, the local end will not assign one to the peer.
To disable the peer from using a locally configured IP address, perform the ppp ipcp remote-address
forced command.
Related commands: remote address.
Examples
# Configure an optional IP address 10.0.0.1 on interface Virtual-Template 10 for the peer.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] remote address 10.0.0.1
# Configure IP address 10.0.0.1 on interface Virtual-Template 10 for the peer and assign the IP address
to the peer by force.
<Sysname> system-view