User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform
Chapter 1
DDR Configuration
1-71
Quidway(config-if-Bri0)# encapsulation ppp
Quidway(config-if-Bri0)# ppp authentication chap
Quidway(config-if-Bri0)# ppp chap host localuser1
2) Configure remote router:
Quidway(config)# dialer-list 1 protocol ip permit
Quidway(config)# user localuser1 password 0 togetherpass
Quidway(config)# interface bri 0
Quidway(config-if-Bri0)# ip address 100.1.1.2 255.255.255.0
Quidway(config-if-Bri0)# dialer-group 1
Quidway(config-if-Bri0)# dialer string 8810048
Quidway(config-if-Bri0)# ppp chap host remoteuser1
1.7.5 Configuring PPP In Legacy DDR Configuration Mode
In Legacy DDR configuration mode, if the local end needs to receive an incoming call,
then, when name is configured in the local dialer map, PPP authentication must be
configured at the corresponding logic dial interface or the physical interface directly
enabling DDR, so as to obtain the remote user name for determining dialer map at the
local end.
There are two PPP authentication modes: PAP authentication and CHAP
authentication. With different PPP authentication modes, the desired configuration
commands and application modes are different, as detailed below:
The PPP configuration commands involved are:
z encapsulation
ppp
z
ppp
authentication
{
pap
|
chap
}
z ppp
pap sent-username
name
password
{
0
|
7
} password
z
ppp
chap host
hostname
z
user
username
password
{
0
|
7
}
password
I. Apply PAP authentication
With PAP name authentication mode, configuration must be performed according to
the following steps, in which name1 and pass1 can be replaced with specific character
strings selected by the users.
z Configure the remote user name of the local Dialer interface:
dialer map
protocol
next-hop-address
name
name1
z Configure link layer protocol encapsulation of the local physical interface:
encapsulation ppp
z Configure PPP authentication mode:
ppp authentication pap
z Configure the user name and password of the remote router:
user
name1
password
0
pass1
z
Configure the user name and password sent by the local Dialer interface or the
physical interface directly enabling DDR during PAP authentication:
ppp pap
sent-username
name1
password
0
pass1
Example 1: apply serial port
1) Configure local router: