Ppp debug packet – Enterasys Networks X-Pedition XSR CLI User Manual
Page 368
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
The following debugging output displays all PPP control packets:
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
This command invokes debugging of Type 1 and 2 PPP control packets (transmit and receive) on
Serial, Multilink, or Dialer interfaces. For Multilink, debugging is applied only to the bundle
which handles IPCP and BAP/BACP negotiations. For Dialer interfaces, it is applied to the Serial
interface that the dialer allocates to dial out. Within the control packet, the following fields are
decoded and displayed: protocol (see list below), code (type of packet), packet identifier, packet length,
and the type, length and content of the option.
You can select these packet types to be debugged: PAP, CHAP, MS‐CHAP, AUTH, BACP, BAP,
BCP, CCP, ECP, IPCP, IPXCP, LCP, MLPPP, and LQM. You can specify up to nine packets types to
be debugged, and if you choose all packet types, entering
ppp debug packet
is sufficient. You can
also choose to specify the same packet type repeatedly that is,
ppp debug packet auth auth
auth auth
) which will have the same effect as issuing the packet type once.
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
Total number of packets to debug, ranging from 1 to 1,000,000.
type1
Packet types to debug including: PAP, CHAP, AUTH, BACP,
type2
BAP, BCP, CCP, ECP, IPCP, IPXCP, LCP and LQM.