512
C
31: PPP
HAPTER
AND
View
Parameter
Description
Related command:
Example
ppp ipcp dns
Syntax
View
Parameter
Description
MP C
C
ONFIGURATION
OMMANDS
undo ppp chap user
Interface view
username: Username of CHAP authentication, a string of 1 to 80 characters,
which is the one sent to the peer device to be authenticated.
Use the
ppp chap user
CHAP authentication.
Use the
undo ppp chap user
By default, the user name of the CHAP authentication is blank.
While configuring CHAP authentication, you should configure the username of
both ends as the local-user of its peer, and configure the password accordingly.
ppp authentication-mode.
# On interface Serial 1/0, configure the local username as Root when performing
CHAP authentication
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] ppp chap user Root
ppp ipcp dns primary-dns-address [ secondary-dns-address ]
undo ppp ipcp dns primary-dns-address [ secondary-dns-address ]
Interface view
primary-dns-address: IP address of the primary DNS server.
secondary-dns-address: IP address of the secondary DNS server.
Use the
ppp ipcp dns
for the peer.
Use the
undo ppp ipcp dns
server address for the peer.
By default, the device does not allocate DNS server addresses for its peer.
When connected using PPP, a device can assign a DNS server address to its peer
after negotiation (usually based on the request of the peer), allowing the peer to
access the network directly using domain name.
command to configure the user name when performing
command to delete the existing configuration.
command to set the device to allocate DNS server address
command to disable the device to allocate DNS