R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
195
# Configure the user line to be used and enable modem dial-in and dial-out on it.
[Router] line tty1
[Router-line-tty1] modem enable both
NT server-to-router PPP callback configuration example
Network requirements
As shown in Figure 59, the router obtains its IP address from the NT server through PPP.
Configure PPP callback with traditional DDR between the router and NT server, so that when the router
calls the NT server, the NT server can use the specified dial string to make a return call.
Figure 59 Network diagram
Configuring the router
# Create dialer group 1 and configure a dial rule for it. Create a local user usernt for the NT server and
configure PPP authentication for the account.
<Router> system-view
[Router] dialer-group 1 rule ip permit
[Router] local-user usernt class network
[Router-luser-network-userc] password simple usernt
[Router-luser-network-userc] service-type ppp
[Router-luser-network-userc] quit
# Configure physical layer parameters for interface Serial 2/1/0.
[Router] interface serial 2/1/0
[Router-Serial2/1/0] physical-mode async
[Router-Serial2/1/0] async-mode protocol
# Configure PPP.
[Router-Serial2/1/0] link-protocol ppp
[Router-Serial2/1/0] ppp authentication-mode pap
[Router-Serial2/1/0] ppp pap local-user Router password simple Router
# Configure the interface to obtain an IP address through PPP negotiation.
[Router-Serial2/1/0] ip address ppp-negotiate
# Configure the interface as the PPP callback client.
[Router-Serial2/1/0] ppp callback client
[Router-Serial2/1/0] dialer timer enable 15
# Configure traditional DDR on the interface.
[Router-Serial2/1/0] dialer circular enable
[Router-Serial2/1/0] dialer-group 1
[Router-Serial2/1/0] dialer route ip 100.1.1.254 8810052
[Router-Serial2/1/0] quit