R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
190
Configuration procedure
Method 1: Use the dial string configured in the dialer route command to call back the client.
1. Configure Router A:
# Create dialer group 1 and configure a dial rule for it.
<RouterA> system-view
[RouterA] dialer-group 1 rule ip permit
# Configure an IP address for interface Serial 2/1/0.
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] ip address 100.1.1.1 255.255.255.0
# Configure the interface to operate as an asynchronous interface in protocol mode.
[RouterA-Serial2/1/0] physical-mode async
[RouterA-Serial2/1/0] async-mode protocol
# Enable traditional DDR on the interface.
[RouterA-Serial2/1/0] dialer circular enable
# Associate the interface with dialer group 1.
[RouterA-Serial2/1/0] dialer-group 1
# Configure the dial string for calling Router B.
[RouterA-Serial2/1/0] dialer route ip 100.1.1.2 8810052
# Enable PPP encapsulation on the interface.
[RouterA-Serial2/1/0] link-protocol ppp
# Configure the username and password for PAP authentication.
[RouterA-Serial2/1/0] ppp pap local-user usera password simple usera
# Enable Serial 2/1/0 to send callback requests.
[RouterA-Serial2/1/0] ppp callback client
# Set the holddown timer to 15 seconds.
[RouterA-Serial2/1/0] dialer timer enable 15
[RouterA-Serial2/1/0] quit
# Configure the user line to be used, and enable modem dial-in and dial-out on it.
[RouterA] line tty1
[RouterA-line-tty1] modem enable both
2. Configure Router B:
# Create dialer group 2 and configure a dial rule for it. Create a local user usera for Router A, and
configure PPP authentication 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 Serial 2/1/0.
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] ip address 100.1.1.2 255.255.255.0
# Configure the interface to operate as an asynchronous interface in protocol mode.