R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)

180
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] physical-mode async
[RouterB-Serial2/1/0] async-mode protocol
# Assign the interface to Dialer 0.
[RouterB-Serial2/1/0] dialer bundle-member 0
# Enable PPP encapsulation on the interface.
[RouterB-Serial2/1/0] link-protocol ppp
# Configure PAP authentication on the interface.
[RouterB-Serial2/1/0] ppp authentication-mode pap
[RouterB-Serial2/1/0] ppp pap local-user userb password simple userb
[RouterB-Serial2/1/0] quit
# Configure the user line to be used, and enable modem dial-in and dial-out on it.
[RouterB] line tty1
[RouterB-line-tty1] modem enable both
3. Configure Router C:
# Create dialer group 1 and configure a dial rule for it.
<RouterC> system-view
[RouterC] dialer-group 1 rule ip permit
# Create a local user usera for authenticating Router A, and configure the service type as PPP.
[RouterC] local-user usera class network
[RouterC-luser-network-usera] password simple usera
[RouterC-luser-network-usera] service-type ppp
[RouterC-luser-network-usera] quit
# Configure an IP address for interface Dialer 0.
[RouterC] interface dialer 0
[RouterC-Dialer0] ip address 122.1.1.2 255.255.255.0
# Enable bundle DDR on the interface.
[RouterC-Dialer0] dialer bundle enable
# Specify the host name of the remote router allowed to call in.
[RouterC-Dialer0] dialer peer-name usera
# Configure the dial string for placing calls.
[RouterC-Dialer0] dialer number 8810049
# Associate the interface with dialer group 1.
[RouterC-Dialer0] dialer-group 1
# Configure PAP authentication on the interface. (Assume PAP is used at the local end.)
[RouterC-Dialer0] ppp authentication-mode pap
[RouterC-Dialer0] ppp pap local-user userc password simple userc
[RouterC-Dialer0] quit
# Set interface Serial 2/1/0 to operate as an asynchronous interface in protocol mode.
[RouterC] interface serial 2/1/0
[RouterC-Serial2/1/0] physical-mode async
[RouterC-Serial2/1/0] async-mode protocol
# Assign the interface to Dialer 0.
[RouterC-Serial2/1/0] dialer bundle-member 0
# Enable PPP encapsulation on the interface.