Router-To-Pc Ppp Callback Configuration Example - HPE FlexNetwork MSR series Configuration Manual

Comware 7 layer 2 - wan access
Table of Contents

Advertisement

# 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
4.
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
# Configure the dial string for callback.
[RouterB-luser-network-usera] authorization-attribute callback-number 8810048
[RouterB-luser-network-usera] quit
# Configure an IP address for 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 as an asynchronous interface in protocol mode.
[RouterB-Serial2/1/0] physical-mode async
[RouterB-Serial2/1/0] async-mode protocol
# Enable traditional DDR on the interface.
[RouterB-Serial2/1/0] dialer circular enable
# Associate the interface with dialer group 2.
[RouterB-Serial2/1/0] dialer-group 2
# Enable PPP encapsulation on the interface.
[RouterB-Serial2/1/0] link-protocol ppp
# Enable PAP authentication on the interface.
[RouterB-Serial2/1/0] ppp authentication-mode pap
# Enable the interface to accept callback requests as the callback server.
[RouterB-Serial2/1/0] ppp callback server
# Configure the interface to use the dial string configured in the dialer callback-center
dial-number command to call back.
[RouterB-Serial2/1/0] dialer callback-center dial-number
[RouterB-Serial2/1/0] quit
# Configure the user line to be used, and enable modem dial-in and dial-out on it.
[RouterB] line tty2
[RouterB-line-tty2] modem enable both

Router-to-PC PPP callback configuration example

Network requirements
As shown in
Configure PPP callback for traditional DDR between the router and the PC. Then, the router can use
the specified dial string to make a return call when the PC calls the router.
Figure
62, the PC obtains its IP address from the router through PPP.
202

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?

Table of Contents