F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
125
Parameters
username: Username for CHAP authentication, a case-sensitive string of 1 to 80 characters. The
username is sent to the peer device for the local device to be authenticated.
Usage guidelines
To pass CHAP authentication, the username/password of one side must be the local
username/password of the peer.
Examples
# Set the username for CHAP authentication as Root on interface Virtual-Template 1.
<Sysname> system-view
[Sysname] interface Virtual-Template 1
[Sysname-Virtual-Template1] ppp chap user Root
Related commands
ppp authentication-mode
ppp ipcp dns
Use ppp ipcp dns to configure the primary and secondary DNS server IP addresses to be used in PPP
negotiation.
Use undo ppp ipcp dns to cancel the configuration.
Syntax
ppp ipcp dns primary-dns-address [ secondary-dns-address ]
undo ppp ipcp dns primary-dns-address [ secondary-dns-address ]
Default
A device does not allocate DNS server IP addresses to its peer.
Views
Interface view
Default command level
2: System level
Parameters
primary-dns-address: Primary DNS server IP address to be set.
secondary-dns-address: Secondary DNS server IP address to be set.
Usage guidelines
When connected through PPP, a device can assign DNS server IP addresses to its peer during PPP
negotiation (if the peer requests) for the peer to access the network by domain names.
If a host is connected to the device through PPP, you can execute the winipcfg command or the ipconfig
/all command on the host to check the DNS server IP addresses assigned by the device.
A device can provide a primary DNS server IP address and a secondary DNS server IP address to its
peer.