User Manual - Configuration Guide (Volume 3)

Chapter 1

Versatile Routing Platform

DDR Configuration

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:

zencapsulation ppp

zppp authentication { pap chap }

zppp pap sent-username name password { 0 7} password

zppp chap host hostname

zuser 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.

zConfigure the remote user name of the local Dialer interface: dialer map protocol next-hop-addressname name1

zConfigure link layer protocol encapsulation of the local physical interface: encapsulation ppp

zConfigure PPP authentication mode: ppp authentication pap

zConfigure the user name and password of the remote router: user name1 password 0 pass1

zConfigure the user name and password sent by the local Dialer interface or the physical interface directly enabling DDR during PAP authentication: ppp pap sent-usernamename1 password 0 pass1

Example 1: apply serial port

1)Configure local router:

1-71

Page 173
Image 173
Huawei v200r001 user manual Configuring PPP In Legacy DDR Configuration Mode, Apply PAP authentication