R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference
47
Usage guidelines
HP recommends not using this feature when the IP addresses of the two peers are not in the same network
segment. Otherwise, the peers might fail to communicate.
Examples
# Disable peer route creation on interface Serial 2/1/1.
<Sysname> system-view
[Sysname] interface serial 2/1/1
[Sysname-serial2/1/1] undo peer neighbor-route
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 local username and password configured.
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 not set.
Views
Interface view
Default command level
2: System level
Parameters
username: Username of the local device for PAP authentication, a case-sensitive string of 1 to 80
characters.
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string for PAP authentication. If simple is specified, it must be a string
of 1 to 48 characters. If cipher is specified, it must be a ciphertext string of 1 to 97 characters.
Usage guidelines
For the local device to pass PAP authentication on the remote device, make sure that the same username
and password configured for the local device are also configured on the remote device with the
commands local-user username and password { cipher | simple } password.
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher
text to the configuration file.
Examples
# Configure the local username and password for PAP authentication to plaintext passwords user1 and
pass1.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] ppp pap local-user user1 password simple pass1