Ppp Ipcp Dns Request; Ppp Pap Local-User - H3C MSR Series Command Reference Manual

Routers. layer 2 - wan command (v7)
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

ppp ipcp dns request

Use ppp ipcp dns request to enable a device to actively request its peer for the DNS server IP address
through a port.
Use undo ppp ipcp dns request to restore the default.
Syntax
ppp ipcp dns request
undo ppp ipcp dns request
Default
A device does not actively request its peer for the DNS server IP address.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Suppose a device is connected to another device through PPP, for example, a device is connected to the
operator's access server through a dial-up link. In this case, you can configure a device to request its peer
for the DNS server IP address during IPCP negotiation, so that the device can resolve domain names
through the DNS server specified by the peer.
You can check the DNS server IP addresses of a port by displaying information about the port.
Examples
# Enable the device to request its peer for the DNS server IP address actively through interface Serial
2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp ipcp dns request

ppp pap local-user

Use ppp pap local-user to set the local username and password for PAP authentication.
Use undo ppp pap local-user to cancel the configured local username and password.
Syntax
ppp pap local-user username password { cipher | simple } password
undo ppp pap local-user
Default
The username and the password for PAP authentication are blank.
Views
Interface view
9

Advertisement

Table of Contents
loading

Table of Contents