174
[RouterC-luser-userd] password simple user1
[RouterC-luser-userd] service-type ppp
[RouterC-luser-userd] quit
# Configure physical layer parameters for interface BRI 1/0 and enable PPP address
negotiation.
[RouterC] interface bri 1/0
[RouterC-Bri1/0] ip address ppp-negotiate
# Configure PPP encapsulation and PPP CHAP authentication on the interface.
[RouterC-Bri1/0] link-protocol ppp
[RouterC-Bri1/0] ppp authentication-mode chap
[RouterC-Bri1/0] ppp chap user user1
# On the interface enable C-DCC and configure C-DCC parameters and the dial string for
reaching Router D.
[RouterC-Bri1/0] dialer enable-circular
[RouterC-Bri1/0] dialer-group 1
[RouterC-Bri1/0] dialer route ip 100.1.1.254 8810048
2. Configure Router D:
# Configure a dial access control rule for dialer access group 2. Create local user accounts
user1 through user16 and configure PPP CHAP authentication for these accounts.
<RouterD> system-view
[RouterD] dialer-rule 2 ip permit
[RouterD] local-user user1
[RouterD-luser-user1] password simple user1
[RouterD-luser-user1] service-type ppp
[RouterD-luser-user1] quit
[RouterD] local-user user2
[RouterD-luser-user2] password simple user2
[RouterD-luser-user2] service-type ppp
[RouterD-luser-user2] quit
...
[RouterD] local-user user16
[RouterD-luser-user16] password simple user16
[RouterD-luser-user16] service-type ppp
[RouterD-luser-user16] quit
# Bundle timeslots on CE1/PRI interface E1 2/0 into a PRI group.
[RouterD] controller e1 2/0
[RouterD-E1 2/0] pri-set
[RouterD-E1 2/0] quit
# Enable C-DCC on interface Serial 2/0:15. (This interface is automatically created on CE1/PRI
interface E1 2/0.)
[RouterD-E1 2/0] interface serial 2/0:15
[RouterD-Serial2/0:15] dialer enable-circular
[RouterD-Serial2/0:15] dialer-group 2
# Assign an IP address to the serial interface.
[RouterD-Serial2/0:15] ip address 100.1.1.254 255.255.255.0
# Configure PPP encapsulation and other PPP parameters on the serial interface.
[RouterD-Serial2/0:15] link-protocol ppp
[RouterD-Serial2/0:15] ppp authentication-mode chap