Cisco,CCNA,CCNP,Certification, computer Cisco CCNA / CCNP Certification Exam Tutorial: Configuring P
----------------------------------------------------------Permission is granted for the below article to forward,reprint, distribute, use for ezine, newsletter, website,offer as free bonus or part of a product for sale as longas no changes a Gone are those times when the companies and the organisations didn't need a hi-tech system to handle them. Owing to the considerable increase in the business sector and thus, an enormous increase in the complexity of the organisational struc
You may run into situations wherea router in a remote location needs to dial in to a central router, but the toll charges are much higher if the remote router makes the call. This scenario is perfect for PPP Callback, where the callback client places a call to a callback server, authentication takes place, and the server then hangs up on the client! This ensures that the client isn't charged for the call. The server then calls the client back.In the following example, R2 has been configured as the client and R1 is the callback server. Let's look at both configurations and the unique commands PPP Callback requires.Client:username R1 password CCIEinterface BRI0ip address 172.12.12.2 255.255.255.0encapsulation pppdialer map ip 172.12.12.1 name R1 broadcast 5557777dialer-group 1isdn switch-type basic-nippp callback requestppp authentication chapMost of that configuration will look familiar to you, but the ppp callback request command might not. This command enables the BRI interface to request the callback.Simple enough, right?The PPP Callback Server config requires more configuration and an additional map-class as well.Server:username R2 password CCIEinterface BRI0ip address 172.12.12.1 255.255.255.0encapsulation pppdialer callback-securedialer map ip 172.12.12.2 name R2 class CALL_R2_BACK broadcast 5558888dialer-group 1isdn switch-type basic-nippp callback acceptppp authentication chapmap-class dialer CALL_R2_BACKdialer callback-server usernameExamining the PPP Callback Server command from the top down...dialer callback-secure enables security on the callback. If the remote router cannot be authenticated for callback, the incoming call will be disconnected.The dialer map statement now calls the class CALL_R2_BACK, shown at the bottom of the config excerpt. ppp callback accept enables PPP callback on this router.dialer callback-server username tells the callback server that the device referenced in the dialer map statement is a callback client.The only way to find out if the config works is to test it, so let's send a ping from R2 to R1 and see if the callback takes place.R2#ping 172.12.12.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.12.12.1, timeout is 2 seconds:02:45:42: BR0 DDR: Dialing cause ip (s=172.12.12.2, d=172.12.12.1)02:45:42: BR0 DDR: Attempting to dial 555777702:45:42: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up02:45:42: BR0:1 DDR: Callback negotiated - Disconnecting now02:45:42: BR0:1 DDR: disconnecting call02:45:42: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 5557777 R102:45:42: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down02:45:42: DDR: Callback client for R1 5557777 created02:45:42: BR0:1 DDR: disconnecting call.....Success rate is 0 percent (0/5)R2#02:45:57: %LINK-3-UPDOWN: Interface BRI0:1, changed state to upR2#02:45:57: BR0:1 DDR: Callback received from R1 555777702:45:57: DDR: Freeing callback to R1 555777702:45:57: BR0:1 DDR: dialer protocol up02:45:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to upThe callback was successfully negotiated, and the call then disconnected. R1 then called R2 back, and show dialer on R1 confirms the purpose of the call.R1#show dialerBRI0 - dialer type = ISDNDial String Successes Failures Last DNIS Last status5558888 2 4 00:00:20 successful0 incoming call(s) have been screened.0 incoming call(s) rejected for callback.BRI0:1 - dialer type = ISDNIdle timer (120 secs), Fast idle timer (20 secs)Wait for carrier (30 secs), Re-enable (15 secs)Dialer state is data link layer upDial reason: Callback return callTime until disconnect 99 secsConnected to 5558888 (R2)Pretty cool! PPP Callback isnt just important for passing your CCNA and CCNP exams in circumstances such as shown in this example, it can save your organization quite a bit of money!
Cisco,CCNA,CCNP,Certification,