|
|
Both routers on a point-to-point link must be configured for PPP callback; one must function as a callback client and one must be configured as a callback server. The callback client must be configured to initiate PPP callback requests, and the callback server must be configured to accept PPP callback requests and place return calls.
This feature implements the following callback specifications of RFC 1570:
Return calls are made through the same dialer rotary group but not necessarily the same line as the initial call.
For an example of configuring PPP callback, see the "PPP Callback Examples" section later in this chapter.
For a complete description of the PPP callback commands in this chapter, refer to the "PPP Callback Commands for DDR" chapter of the Dial Solutions Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
To configure a router interface as a callback client, complete the following tasks beginning in global configuration mode:
| Task | Command |
|---|---|
| Step 1 Specify the interface. | interface type number |
| Step 2 Enable DDR. Set parity on synchronous serial interfaces and asynchronous interfaces. | dialer in-band [no-parity | odd-parity] |
| Step 3 Enable PPP encapsulation. | encapsulation ppp |
| Step 4 Enable CHAP or Password Authentication Protocol (PAP) authentication. | ppp authentication chap or ppp authentication pap |
| Step 5 Map the next hop address to the host name and phone number. | dialer map protocol next-hop-address name hostname dial-string |
| Step 6 Enable the interface to request PPP callback for this callback map class. | ppp callback request |
| Step 7 (Optional) Configure a dialer hold queue to store packets for this callback map class. | dialer hold-queue packets timeout seconds |
To configure a router as a callback server, complete the following tasks beginning in global configuration mode:
| Task | Command |
|---|---|
| Step 1 Specify the interface and enter interface configuration mode. | interface type number |
| Step 2 Enable DDR. Specify parity, if needed, on synchronous or asynchronous serial interfaces. | dialer in-band [no-parity | odd-parity] |
| Step 3 Enable PPP encapsulation. | encapsulation ppp |
| Step 4 Enable CHAP or PAP authentication. | ppp authentication {chap | pap} |
| Step 5 Map the next hop address to the host name and phone number, using the name of the map-class established for PPP callback on this interface. | dialer map protocol address name hostname class classname dial-string |
| Step 6 (Optional) Configure a dialer hold queue to store packets to be transferred when the callback connection is established. | dialer hold-queue number timeout seconds |
| Step 7 (Optional) Configure a timeout period between calls. | dialer enable-timeout seconds |
| Step 8 Configure the interface to accept PPP callback. | ppp callback accept |
| Step 9 (ISDN only) Configure the time to wait before another call is placed on a B channel, to allow prior call to be torn down completely. | isdn fast-rollover-delay seconds |
| Step 10 (Optional) Enable callback security, if desired. | dialer callback-secure |
| Step 11 Return to global configuration mode. | exit |
| Step 12 Configure a dialer map class for PPP callback. | map-class dialer classname |
| Step 13 Configure a dialer map class as a callback server. | dialer callback-server [username] |
The following example configures a PPP callback server and client to call each other.
The PPP callback server is configured on an ISDN BRI interface in a router in Atlanta. The callback server requires an enable timeout and a map class to be defined.
The PPP callback client is configured on an ISDN BRI interface in a router in Dallas. The callback client does not require an enable timeout and a map class to be defined.
interface bri 0 ip address 7.1.1.7 255.255.255.0 encapsulation ppp dialer callback-secure dialer enable-timeout 2 dialer map ip 7.1.1.8 name atlanta class dial1 81012345678901 dialer-group 1 ppp callback accept ppp authentication chap ! map-class dialer dial1 dialer callback-server username
interface bri 0 ip address 7.1.1.8 255.255.255.0 encapsulation ppp dialer map ip 7.1.1.7 name dallas 81012345678902 dialer-group 1 ppp callback request ppp authentication chap
|
|