User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform
Chapter 1
DDR Configuration
1-73
Quidway(config-if-Bri0)# encapsulation ppp
Quidway(config-if-Bri0)# ppp authentication pap
2) Configure remote router:
Quidway(config)# dialer-list 1 protocol ip permit
Quidway(config)# dialer-list 1 protocol ipx permit
Quidway(config)# interface bri 0
Quidway(config-if-Bri0)# ip address 100.1.1.2 255.255.255.0
Quidway(config-if-Bri0)# dialer string 8810148
Quidway(config-if-Bri0)# dialer-group 1
Quidway(config-if-Bri0)# encapsulation ppp
Quidway(config-if-Bri0)# ppp sent-username remoteuser1 password 0 remotepass1
II. Apply CHAP authentication
With CHAP authentication mode, configuration must be performed according to the
following steps, in which name1, name2 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 chap
z Configure local router name of CHAP authentication:
ppp chap host
name2
z Configure the user name and password of the remote router:
user
name1
password
0
pass1
z
Configure the user name and password of the local router:
user
name2
password
0
pass1
z
Configure remote router name at Dialer interface, or the physical interface directly
enabling DDR, of the remote router:
ppp chap host
name1
Example 1: apply serial port
1) Configure local router:
Quidway(config)# dialer-list 1 protocol ip permit
Quidway(config)# user remoteuser1 password 0 togetherpass
Quidway(config)# interface dialer 0
Quidway(config-if-Dialer0)# ip address 100.1.1.1 255.255.255.0
Quidway(config-if-Dialer0)# dialer map ip 100.1.1.2 name remoteuser1 8810052
Quidway(config-if-Dialer0)# encapsulation ppp
Quidway(config-if-Dialer0)# ppp authentication chap
Quidway(config-if-Dialer0)# ppp chap host localuser1
Quidway(config-if-Dialer0)# dialer-group 1
Quidway(config-if-Dialer0)# interface serial 0