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