Enterasys Networks XSR CLI Router User Manual


 
PPP Debug, Clear and Show Commands
8-98 Configuring the Point-to-Point Protocol
XSR#debug ppp packet serial 2/0:0 limit 10 lcp bacp bap
Sample Output
ThefollowingdebuggingoutputdisplaysallPPPcontrolpackets:
May 21, 2003: 13:00:00 Rx 20 bytes LCP CONFIG_REQ:
MRU: 1500
Magic Number: 12345678 (0xBC614E)
May 21, 2003: 13:00:00 Tx 12 bytes IPCP CONFIG_ACK:
IP Address: 10.10.10.10
If the length field in the packet in the content does not match the total packet
length, it will be displayed as a warning:
May 21, 2003: 13:00:00 Rx 20 bytes LCP CONFIG_REQ:
MRU: 1500
Magic Number: 12345678 (0xBC614E)
(WARNING!!! NOT MATCHING PCK LENGTH 60bytes)
ppp debug packet
ThiscommandinvokesdebuggingofType1and2PPPcontrolpackets(transmitandreceive)on
Serial,Multilink,orDialerinterfaces.ForMultilink,debuggingisappliedonlytothebundle
whichhandlesIPCPandBAP/BACPnegotiations.ForDialerinterfaces,itisappliedtotheSerial
interfacethatthedialerallocatesto
dialout.Withinthe controlpacket,the f ollowingfieldsare
decodedanddisplayed:protocol(seelistbelow),code(typeofpacket),packetidentifier,packetlength,
andthetype,lengthandcontentoftheoption.
Youcanselectthesepackettypestobedebugged:PAP,CHAP,MSCHAP,AUTH,
BACP,BAP,
BCP,CCP,ECP,IPCP,IPXCP,LCP,MLPPP,andLQM.Youcanspecifyuptoninepacketstypesto
bedebugged,andifyouchooseallpackettypes,entering
ppp debug packetissufficient.Youcan
alsochoosetospecifythesamepackettyperepeatedlythatis,
ppp debug packet auth auth
auth auth
)whichwillhavethesameeffectasissuingthepackettypeonce.
Syntax
ppp debug packet limit [x][type1][type2]...
Notes: You do not necessarily need to set a limit to be able to specify the types of packets. But, you
cannot specify packet type first and then request a limit.
All XSR debug commands are set to privilege level 15 by default.
This command does not display in the running config file since it is strictly a debug function. It must
be set manually every time you reboot the XSR.
You must issue this command after you enter encapsulation ppp.
x
Totalnumberofpacketstodebug,rangingfrom1to1,000,000.
type1
Packettypestodebugincluding:PAP,CHAP,AUTH,BACP,
type2
BAP,BCP,CCP,ECP,IPCP,IPXCP,LCPandLQM.