Categories
- Arts & Entertainment
- Business
- Communications
- Computers
- Culture & Society
- Disease & Illness
- Fashion
- Finance
- Food & Beverage
- Health & Fitness
- Hobbies
- Home & Family
- Home Based Business
- Internet Business
- Legal
- Pets & Animals
- Politics
- Product Reviews
- Recreation & Sports
- Reference & Education
- Religion
- Self Improvement
- Shopping
- Travel & Leisure
- Vehicles
- Writing & Speaking
Information
Cisco CCNA / CCNP Certification Exam Tutorial: Configuring PPP Callback
Submitted: 2007-01-17 15:44:36
Print this article | Tell a friend | For publisher |
You may run into situations where a 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 CCIE
interface BRI0
ip address 172.12.12.2 255.255.255.0
encapsulation ppp
dialer map ip 172.12.12.1 name R1 broadcast 5557777
dialer-group 1
isdn switch-type basic-ni
ppp callback request
ppp authentication chap
Most 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 CCIE interface BRI0
ip address 172.12.12.1 255.255.255.0
encapsulation ppp
dialer callback-secure
dialer map ip 172.12.12.2 name R2 class CALL_R2_BACK broadcast 5558888
dialer-group 1
isdn switch-type basic-ni
ppp callback accept
ppp authentication chap
map-class dialer CALL_R2_BACK
dialer callback-server username
Examining 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.1
Type 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 5557777
02:45:42: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
02:45:42: BR0:1 DDR: Callback negotiated - Disconnecting now
02:45:42: BR0:1 DDR: disconnecting call
02:45:42: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 5557777 R1
02:45:42: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
02:45:42: DDR: Callback client for R1 5557777 created
02: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 up
R2#
02:45:57: BR0:1 DDR: Callback received from R1 5557777
02:45:57: DDR: Freeing callback to R1 5557777
02:45:57: BR0:1 DDR: dialer protocol up
02:45:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up
The 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 dialer
BRI0 - dialer type = ISDN
Dial String Successes Failures Last DNIS Last status
5558888 2 4 00:00:20 successful
0 incoming call(s) have been screened.
0 incoming call(s) rejected for callback.
BRI0:1 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is data link layer up
Dial reason: Callback return call
Time until disconnect 99 secs
Connected to 5558888 (R2)
Pretty cool! PPP Callback isn’t 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!
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
You can also join his RSS feed and visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions! Details are on the website.
For a FREE copy of his latest e-books, "How To Pass The CCNA" and "How To Pass The CCNP", visit the website and download your free copies. You can also get FREE CCNA and CCNP exam questions every day! Get your CCNA study guide from The Bryant Advantage! And coming in 2007 – Microsoft Vista certification!
Article source: Expert Articles
Most Recent Articles in Certification Tests category
- C Programming Career Courses - UK Explained - By: Jason Kendall
When choosing any computer training program it is vital that the qualification it leads to falls in line with commercial requirements. In addition, ensure that your training suits you, your personality and abilities. Whether you're hoping to be a whiz with office user skills, or would like to achieve professional qualifications in IT, there are easy to follow courses and support to give you the chance you've been looking for. - Networking Training Providers - News - By: Jason Kendall
These days, many workplaces could not function efficiently if it weren't for support workers fixing PC's and networks, while giving advice to users each and every day. Our country's need for larger numbers of skilled and qualified individuals is growing, as we turn out to be consistently more dependent upon computers in today's environment. - Computer Support Training - Options - By: Jason Kendall
A very small number of men and women in this country are claiming to be happy in their job. The vast majority of course won't do a thing. The fact that you've got this far if nothing else suggests that you know it's time to make a change. - Choosing an MCSA in the UK Examined - By: Jason Kendall
Whether you're just about to get started, or a professional ready to gain acknowledged certifications, there are interactive MCSA (Microsoft Certified Systems Administrator) study programs that teach both entry levels. For a newcomer to the world of computers, it's likely to be vital to have some coaching prior to getting into your four Microsoft Certified Professional exams (MCP's) that are required to pass the MCSA. Find a training provider that can tailor your studying to fit your requirements - one who will guide you to guarantee that you make the right choices. - Computer Training in Cisco CCNA Clarified - By: Jason Kendall
Training in Cisco is fundamentally for those who wish to understand and work with routers and network switches. Routers join up computer networks over the internet or lines dedicated for that purpose. We'd recommend that your first course should be your CCNA. It's not advisable to launch directly into a CCNP as it is very advanced - and you need to work up to it before you take this on. - Microsoft SQL Computer Training In The UK Explained - By: Jason Kendall
Everybody is busy these days, and most often should we have cause to advance our future prospects, getting educated outside of working hours is our best way forward. Certified training from Microsoft can fill that gap. You might like to find a training advisor, who could offer counsel on which job role would suit you, and what sort of duties are suitable for somebody with your abilities and personal preferences. Be sure your course is matched to your ability level and skills. A quality company will always guarantee that the training is purpose built for the career you want to get into. - Thinking About Web Design Courses Uncovered - By: Jason Kendall
If you're considering a web design career, then you need training in Adobe Dreamweaver. We also advise that students get an in-depth understanding of the entire Adobe Web Creative Suite, which incorporates Flash and Action Script, to be able to facilitate Dreamweaver professionally as a web designer. Having such skills can lead to becoming an ACP (Adobe Certified Professional) or an ACE (Adobe Certified Expert). - Home Based CompTIA A Plus Training - Insights - By: Jason Kendall
CompTIA A + has a total of four exams and study sections, but you only need to get your exams in 2 of them to qualify for your A+. For this reason, a great number of colleges simply offer two. Yet learning about all 4 will help you to build a far greater perspective of it all, something you'll discover is a Godsend in the commercial world. - MCSE Career Retraining - News - By: Jason Kendall
Are you toying with the idea of doing an MCSE? Then it's likely that you'll fall into one of the following categories: You're currently an IT professional and you should formalise your skills with an MCSE. In contrast this could be your first step into the computer workplace, and your research tells you that there are many opportunities for qualified people. - Home Study Adobe Web Design Training Examined - By: Jason Kendall
Should you be considering getting into the web design industry, studying Adobe Dreamweaver is a fundamental criteria to achieve professional credentials that are globally recognised. To utilise Dreamweaver commercially as a web designer, an in-depth and thorough understanding of the complete Adobe Web Creative Suite (which includes Flash and Action Script) is in our opinion essential.
