February 04, 2006

debug ppp negotiation

In dial-related applications, PPP (Point-to-Point Protocol) is the most commonly used encapsulation type. PPP allows two machines on a p2p communication link to negotiate various parameters for authentication, compression, and the Layer 3 (L3) protocols, such as IP. A failure in the PPP negotiation between two routers causes the connection to fail.

PPP negotiation between two peers cannot start unless the lower layer (ISDN, physical interface, dial-up line, and so on) under PPP functions perfectly. For example, if you want to run PPP over ISDN, then all ISDN layers must be up; otherwise PPP does not start.

The debug ppp negotiation command enables you to view the PPP negotiation transactions, identify the problem or stage when the error occurs, and develop a resolution. So, it is imperative that you understand the debug ppp negotiation command output.


Phases of PPP Negotiation:



LCP (Mandatory Phase):

LCP is a phase in which parameters to establish, configure, and test the data-link connection are negotiated. An LCP state of open means that LCP was successfully completed, while an LCP state of closed indicates an LCP failure.



Output Field Explain:
Pay Attention for it, most of the other debug command are in a similar formation.


  1. The timestamp—Millisecond timestamps are useful.
  2. Interface and Interface number—This field is useful when debug connections use multiple connections, or when the connection transitions through several interfaces. For example, certain connections (such as multilink calls) are controlled by the physical interface at the beginning,but are later controlled by the dialer interface or virtual-access interface.
  3. Type of PPP message—This field indicates whether the line is a general PPP, LCP, CHAP, PAP, or IPCP message.
  4. Direction of the message—An I indicates an incoming packet, and an O indicates an outgoing packet. This field can be used to determine if the message was generated or received by the router.
  5. Message—This field includes the particular transaction under negotiation.
  6. ID—This field is used to match and coordinate request messages to the appropriate response messages. You can use the ID field to associate a response with an incoming message. This option is especially useful when the incoming message and the response are far apart in the debug output.
  7. Length—The length field defines the length of the information field. This field is not important for general troubleshooting.

Example:

CetaMax_01#debug ppp negotiation
PPP protocol negotiation debugging is on
CetaMax_01#
*Mar 1 00:06:36.645: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
!--- The Physical Layer (BRI Interface) is up. Only now can PPP
!--- negotiation begin.
*Mar 1 00:06:36.661: BR0:1 PPP: Treating connection as a callin
*Mar 1 00:06:36.665: BR0:1 PPP: Phase is ESTABLISHING, Passive Open[0 sess, 0 load]
!--- The PPP Phase is ESTABLISHING. LCP negotiation now occurs.
*Mar 1 00:06:36.669: BR0:1 LCP: State is Listen
*Mar 1 00:06:37.034: BR0:1 LCP: I CONFREQ [Listen] id 7 len 17
!--- This is the incoming CONFREQ. The ID field is 7.
*Mar 1 00:06:37.038: BR0:1 LCP: AuthProto PAP (0x0304C023)
*Mar 1 00:06:37.042: BR0:1 LCP: MagicNumber 0x507A214D (0x0506507A214D)
*Mar 1 00:06:37.046: BR0:1 LCP: Callback 0 (0x0D0300)
!--- The peer has requested:
!--- Option: Authentication Protocol, Value: PAP
!--- Option: MagicNumber (This is used to detect loopbacks and is always sent.)
!--- Option: Callback, Value: 0 (This is for PPP Callback; MS Callback uses 6.)
*Mar 1 00:06:37.054: BR0:1 LCP: O CONFREQ [Listen] id 4 len 15
!--- This is an outgoing CONFREQ, with parameters for the peer to implement.
!--- Note that the ID Field is 4, so this is not related to the previous
!--- CONFREQ message.
*Mar 1 00:06:37.058: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 00:06:37.062: BR0:1 LCP: MagicNumber 0x1081E7E1 (0x05061081E7E1)
!--- This router requests:
!--- Option: Authentication Protocol, Value: CHAP
!--- Option: MagicNumber (This is used to detect loopbacks and is always sent.)
*Mar 1 00:06:37.066: BR0:1 LCP: O CONFREJ [Listen] id 7 len 7
!--- This is an outgoing CONFREJ for message with Field ID 7.
!--- This is the response to the CONFREQ received first.
*Mar 1 00:06:37.070: BR0:1 LCP: Callback 0 (0x0D0300)
!--- The option that this router rejects is Callback.
!--- If the router wanted to do MS Callback rather than PPP Callback, it
!--- would have sent a CONFNAK message instead.
*Mar 1 00:06:37.098: BR0:1 LCP: I CONFACK [REQsent] id 4 len 15
!--- This is an incoming CONFACK for a message with Field ID 4.
*Mar 1 00:06:37.102: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 00:06:37.106: BR0:1 LCP: MagicNumber 0x1081E7E1 (0x05061081E7E1)
!--- The peer can support all requested parameters.
*Mar 1 00:06:37.114: BR0:1 LCP: I CONFREQ [ACKrcvd] id 8 len 14
!--- This is an incoming CONFREQ message; the ID field is 8.
!--- This is a new CONFREQ message from the peer in response to the CONFREJ id:7.
*Mar 1 00:06:37.117: BR0:1 LCP: AuthProto PAP (0x0304C023)
*Mar 1 00:06:37.121: BR0:1 LCP: MagicNumber 0x507A214D (0x0506507A214D)
!--- The peer has requested:
!--- Option: Authentication Protocol, Value: PAP
!--- Option: MagicNumber (This is used to detect loopbacks and is always sent.)
*Mar 1 00:06:37.125: BR0:1 LCP: O CONFNAK [ACKrcvd] id 8 len 9
!--- This is an outgoing CONFNACK for a message with Field ID 8.
*Mar 1 00:06:37.129: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
!--- This router recognizes the option Authentication Protocol,
!--- but does not accept the value PAP. In the CONFNAK message,
!--- it suggests CHAP instead.
*Mar 1 00:06:37.165: BR0:1 LCP: I CONFREQ [ACKrcvd] id 9 len 15
!--- This is an incoming CONFREQ message with Field ID 9.
*Mar 1 00:06:37.169: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 00:06:37.173: BR0:1 LCP: MagicNumber 0x507A214D (0x0506507A214D)
!--- CHAP authentication is requested.
*Mar 1 00:06:37.177: BR0:1 LCP: O CONFACK [ACKrcvd] id 9 len 15
!--- This is an outgoing CONFACK for a message with Field ID 9.
*Mar 1 00:06:37.181: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 00:06:37.185: BR0:1 LCP: MagicNumber 0x507A214D (0x0506507A214D)
*Mar 1 00:06:37.189: BR0:1 LCP: State is Open
!--- This indicates that the LCP state is Open.
*Mar 1 00:06:37.193: BR0:1 PPP: Phase is AUTHENTICATING, by both [0 sess, 0 load]
!--- The PPP Phase is AUTHENTICATING. PPP Authentication occurs now.
!--- Two-way authentication is now performed (indicated by the both keyword).
*Mar 1 00:06:37.201: BR0:1 CHAP: O CHALLENGE id 4 len 33 from "CetaMax_01"
!--- This is the outgoing CHAP Challenge.
!--- In LCP the routers had agreed upon CHAP as the authentication protocol.
*Mar 1 00:06:37.225: BR0:1 CHAP: I CHALLENGE id 3 len 33 from "CetaMax_03"
!--- This is an incoming Challenge message from the peer.
*Mar 1 00:06:37.229: BR0:1 CHAP: Waiting for peer to authenticate first
*Mar 1 00:06:37.237: BR0:1 CHAP: I RESPONSE id 4 len 33 from "CetaMax_03"
!--- This is an incoming response from the peer.
*Mar 1 00:06:37.244: BR0:1 CHAP: O SUCCESS id 4 len 4
!--- This router has successfully authenticated the peer.
*Mar 1 00:06:37.248: BR0:1 CHAP: Processing saved Challenge, id 3
*Mar 1 00:06:37.260: BR0:1 CHAP: O RESPONSE id 3 len 33 from "CetaMax_01"
*Mar 1 00:06:37.292: BR0:1 CHAP: I SUCCESS id 3 len 4
!--- This is an incoming Success message. Each side has
!--- successfully authenticated the other.
*Mar 1 00:06:37.296: BR0:1 PPP: Phase is UP [0 sess, 0 load]
!--- The PPP status is now UP. NCP (IPCP) negotiation begins.
*Mar 1 00:06:37.304: BR0:1 IPCP: O CONFREQ [Closed] id 4 len 10
*Mar 1 00:06:37.308: BR0:1 IPCP: Address 172.22.1.1 (0x0306AC160101)
!--- This is an outgoing CONFREQ message. It indicates that
!--- the local machine address is 172.22.1.1.
*Mar 1 00:06:37.312: BR0:1 CDPCP: O CONFREQ [Closed] id 4 len 4
*Mar 1 00:06:37.320: BR0:1 CDPCP: I CONFREQ [REQsent] id 4 len 4
*Mar 1 00:06:37.324: BR0:1 CDPCP: O CONFACK [REQsent] id 4 len 4
!--- These messages are for CDP Control Protocol (CDPCP).
*Mar 1 00:06:37.332: BR0:1 IPCP: I CONFREQ [REQsent] id 4 len 10
*Mar 1 00:06:37.336: BR0:1 IPCP: Address 172.22.1.2 (0x0306AC160102)
!--- This is an incoming CONFREQ message that indicates that the peer
!--- address is 172.22.1.2. An address of 0.0.0.0 indicates that the peer
!--- does not have an address and requests the local router to provide it
!--- with an address in IPCP negotiation.
*Mar 1 00:06:37.344: BR0:1 IPCP: O CONFACK [REQsent] id 4 len 10
*Mar 1 00:06:37.348: BR0:1 IPCP: Address 172.22.1.2 (0x0306AC160102)
*Mar 1 00:06:37.356: BR0:1 IPCP: I CONFACK [ACKsent] id 4 len 10
*Mar 1 00:06:37.360: BR0:1 IPCP: Address 172.22.1.1 (0x0306AC160101)
*Mar 1 00:06:37.363: BR0:1 IPCP: State is Open
!--- The IPCP state is Open. Note that in the IPCP negotiation, each side
!--- accepted the IP address of the peer, and one was assigned to the peer.
*Mar 1 00:06:37.371: BR0:1 CDPCP: I CONFACK [ACKsent] id 4 len 4
*Mar 1 00:06:37.375: BR0:1 CDPCP: State is Open
!--- This indicates that the CDPCP state is Open.
*Mar 1 00:06:37.387: BR0 IPCP: Install route to 172.22.1.2
!--- A route to the peer is installed.
*Mar 1 00:06:38.288: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up
*Mar 1 00:06:42.609: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to CetaMax_03

15 Comments:

At 7/07/2006 07:44:00 AM, Blogger Tony said...

Salut � tous, si vous �tes � la recherche d'une opportunit�callback de business pas contraignant, et sans besoin de vous d�placer, je vous recommande de vous lancer dans le callback t�l�phonique.
En effet, je suis tomb�e sur un site tr�s int�ressant:"miamitelecom", qui propose des partenariats dans ce domaine, sans ou presque, apport financier initial.
Pour ceux qui ne connaissent pas, le callback est un syst�me de code ou de cartes t�l�phoniques (au choix), qui permet de t�l�phoner � l'�tranger � tr�s bas prix!!
Ces avantages: -1 seul num�ro utilisable � partir de n'importe quel t�l�phone, n'importe o� dans le monde. Ceci est tr�s avantageux pour les personnes qui voyagent beaucoup du fait de leur travail, ou pour celles vivant dans un pays pas tr�s d�velopp� en mati�re de t�l�communication par exemple.
- communication tr�s nette, contrairement au VOIP (=par liaison internet, ce qui n'est pas du tout satisfaisant!!)
- Beaucoup moins couteux qu'un appel classic
- C'est vous qui d�cidez combien et quand vous voulez recharger en terme de temps de communication ( par le biais de carte bancaire ou autre)
En ce qui me concerne, j'en fais l'exp�rience en ce moment, et c'est un secteur en pleine expansion ( je distribue des acc�s surtout � des chefs d'entreprises, parcourrant la plan�te, ce qui leur permet d'�tre joint � n'importe quel moment sur un m�me num�ro!)
Je cible surtout l'Afrique en g�n�ral, et j'ai vu mon chiffre d'affaires exploser en quelques mois!
Si vous �tes int�ress�s, vous pouvez contacter Mr Corona de ma part (johanna), par mail � l'adresse suivante:www.callback@miamitelecom.com
Pour plus d'informations, vous pouvez aussi vous r�f�rer au site http://www.miamitelecom.comhttp://www.miamitelecom.com
Je vous recommande de vous y int�resser, cela peut vous rapporter gros!!!
Pour finir, et juste pour info, la soci�t� � ouvert un autre d�partement qui vaut le d�tour: http://www.miamicall.uscallback
Bien � vous.
Cordialement.
Johanna.....

 
At 7/09/2006 10:06:00 AM, Anonymous Anonymous said...

Salut a tous, si vous etes a la recherche d'une opportunite de business dans le domaine: business, pas contraignant, et sans besoin de vous deplacer, je vous recommande de vous lancer dans le callback telephonique.
En effet, je suis tombee sur un site tres interessant:"miamitelecom", qui propose des partenariats dans ce domaine, sans ou presque, apport financier initial.
Pour ceux qui ne connaissent pas, le callback est un systeme de code ou de cartes telephoniques (au choix), qui permet de telephoner a l'etranger a tres bas prix!!
Ces avantages: -1 seul numero utilisable a partir de n'importe quel telephone, n'importe ou dans le monde. Ceci est tres avantageux pour les personnes qui voyagent beaucoup du fait de leur travail, ou pour celles vivant dans un pays pas tres developpe en matiere de telecommunication par exemple.
- communication tres nette, contrairement au VOIP (=par liaison internet, ce qui n'est pas du tout satisfaisant!!)
- Beaucoup moins couteux qu'un appel classic
- C'est vous qui decidez combien et quand vous voulez recharger en terme de temps de communication ( par le biais de carte bancaire ou autre)
En ce qui me concerne, j'en fais l'experience en ce moment, et c'est un secteur en pleine expansion ( je distribue des acces surtout a des chefs d'entreprises, parcourrant la planete, ce qui leur permet d'etre joint a n'importe quel moment sur un meme numero!)
Je cible surtout l'Afrique en g?n?ral, et j'ai vu mon chiffre d'affaires exploser en quelques mois!
Si vous etes interesses, vous pouvez contacter Mr Corona de ma part (johanna), par mail a l'adresse suivante:www.callback@miamitelecom.com
Pour plus d'informations, vous pouvez aussi vous referer au site : http://www.miamitelecom.com
Je vous recommande de vous y interesser, cela peut vous rapporter gros!!!
Pour finir, et juste pour info, la societe a ouvert un autre departement qui vaut le detour: http://www.miamicall.us toujours dans : business
Bien a vous.
Cordialement.

 
At 7/13/2006 07:32:00 AM, Anonymous telephonie said...

J'ai enfin trouver la solution pour avoir une ligne telephonique aux usa, qui sonne chez moi, en Italie...
En plus, meme lorsque je suis en deplacement (ce qui m'arrive tres souvent), je peux faire un transfert de mes appels sur mon portable.
Mes clients me croient a Miami, ce qui est excellent pour mon business!
Renseignez vous sur le site: http://www.miamicall.us , ou clicker sur: telephonie.
Vous verez, c'est tres avantageux, et pas cher!!

 
At 2/07/2007 10:42:00 PM, Anonymous Anonymous said...

You have an outstanding good and well structured site. I enjoyed browsing through it »

 
At 2/16/2007 03:01:00 PM, Anonymous Anonymous said...

This is very interesting site... fiat 600 coil springs brooks fluoxetine texas Subaru i club latina shemale United states paxil rx valium international shipping Beagles and allergies

 
At 3/01/2007 07:13:00 PM, Anonymous Anonymous said...

I have been looking for sites like this for a long time. Thank you! wellbutrin xl taken antihistamines Cost of botox cheapest states Diazepam use in pregnancy teeth whitening new orleans Bmw supercharges Affiliate scheme software Hydrocodone use cheap tramadol taking zoloft and wellbutrin area rug pad Business card music Swiss wwi wrist watch Mermaid mattress factory chattanooga tn Portable air cooler and battery powered porno gay

 
At 3/06/2007 04:17:00 AM, Anonymous Anonymous said...

Cool blog, interesting information... Keep it UP »

 
At 3/16/2007 05:59:00 PM, Anonymous Anonymous said...

Cool blog, interesting information... Keep it UP »

 
At 5/22/2013 10:01:00 AM, Anonymous Anonymous said...

I am truly pleased to read this weblog posts which consists
of tons of useful information, thanks for providing these information.


My blog post ... pirater un Compte facebook

 
At 6/05/2013 05:16:00 AM, Anonymous Anonymous said...

Foг loyal clіents of the bгand Samѕung is Samsung gаlaxy tаb.
In a iPhone 4 S and the Motorola Charm. Obviouѕly when uѕerѕ think оf the сurrent Galaxy S III,
whіch was later prοvided the updаtе
to dοwnload and then cliсk the mеnu button on the ѕite that makes tаking picturеs eaѕіer.
2 Fгoyo, ωhich is οnlу avaіlable on the Galaxy S
II iѕ a dual-corе phone, but for some reason the phone will аllow you ԁο other аrеas οf
the Galаxy Ѕ3 flaunts a 4.

 
At 6/08/2013 04:04:00 PM, Anonymous Anonymous said...

What's up, all is going fine here and ofcourse every one is sharing data, that's
genuinely good, keep up writing.

Here is my weblog ... Dragon City Hack

 
At 3/28/2016 08:21:00 AM, Blogger oakleyses said...

burberry handbags, ugg boots, nike outlet, tiffany and co, christian louboutin, oakley sunglasses, ray ban sunglasses, replica watches, uggs outlet, uggs on sale, cheap oakley sunglasses, michael kors outlet, kate spade outlet, prada handbags, louis vuitton outlet, polo outlet, jordan shoes, tory burch outlet, oakley sunglasses wholesale, gucci handbags, replica watches, louis vuitton outlet, nike air max, louis vuitton, michael kors outlet online, christian louboutin shoes, prada outlet, chanel handbags, michael kors outlet, oakley sunglasses, ugg boots, oakley sunglasses, tiffany jewelry, uggs outlet, ray ban sunglasses, nike free, michael kors outlet online, nike air max, christian louboutin outlet, louis vuitton, longchamp outlet, christian louboutin uk, michael kors outlet online, ray ban sunglasses, polo ralph lauren outlet online, louis vuitton outlet, michael kors outlet online, longchamp outlet

 
At 3/28/2016 08:23:00 AM, Blogger oakleyses said...

mulberry uk, nike tn, abercrombie and fitch uk, nike air max, nike free run, lululemon canada, true religion outlet, oakley pas cher, longchamp pas cher, nike free uk, sac hermes, nike blazer pas cher, hollister uk, true religion jeans, new balance, air max, coach outlet store online, north face uk, coach outlet, north face, michael kors pas cher, true religion outlet, nike roshe run uk, nike air max uk, polo lacoste, michael kors, hollister pas cher, vans pas cher, nike air max uk, polo ralph lauren, jordan pas cher, timberland pas cher, nike air force, nike roshe, burberry pas cher, converse pas cher, michael kors outlet, sac vanessa bruno, ray ban pas cher, ralph lauren uk, kate spade, replica handbags, ray ban uk, michael kors, louboutin pas cher, true religion outlet, coach purses, guess pas cher, hogan outlet, sac longchamp pas cher

 
At 3/28/2016 08:26:00 AM, Blogger oakleyses said...

mont blanc pens, reebok outlet, mcm handbags, bottega veneta, abercrombie and fitch, hollister, nike roshe run, nike trainers uk, longchamp uk, celine handbags, insanity workout, iphone 6s plus cases, instyler, iphone cases, s6 case, mac cosmetics, herve leger, soccer jerseys, wedding dresses, north face outlet, new balance shoes, ferragamo shoes, iphone 5s cases, lululemon, ralph lauren, timberland boots, nike huaraches, soccer shoes, chi flat iron, asics running shoes, iphone 6s cases, jimmy choo outlet, valentino shoes, hollister clothing, iphone 6 cases, ipad cases, babyliss, vans outlet, nfl jerseys, north face outlet, giuseppe zanotti outlet, beats by dre, p90x workout, louboutin, oakley, ghd hair, baseball bats, hermes belt, iphone 6 plus cases, nike air max

 
At 3/28/2016 08:28:00 AM, Blogger oakleyses said...

hollister, coach outlet, barbour, canada goose outlet, ugg uk, wedding dresses, canada goose outlet, canada goose uk, toms shoes, doudoune moncler, moncler outlet, louis vuitton, moncler outlet, links of london, ugg,uggs,uggs canada, montre pas cher, louis vuitton, nike air max, lancel, converse, swarovski crystal, moncler, juicy couture outlet, juicy couture outlet, moncler uk, canada goose jackets, ugg pas cher, moncler, pandora jewelry, swarovski, gucci, ugg, vans, hollister, louis vuitton, louis vuitton, karen millen uk, canada goose outlet, marc jacobs, canada goose, supra shoes, louis vuitton, thomas sabo, ugg,ugg australia,ugg italia, pandora uk, barbour uk, pandora jewelry, moncler, converse outlet, ray ban, moncler, canada goose

 

Post a Comment

Links to this post:

Create a Link

<< Home