
B-44
MAX Administration Guide
Diagnostic Parameters and Commands
Using diagnostics-related DO commands
PPPDump
N
Description: Very similar to the WANDisplay diagnostic command. But PPPDump N strips
out escape characters that are present for asynchronous PPP users (who are dialing in with
modems). The escape characters are necessary because of the asynchronous nature of the data
stream. Stripping them out simply clarifies the presentation of the data.
If you enter the command while traffic through your MAX is heavy, the resulting amount of
output can make it tedious to find the information you are looking for. The screen might even
display the message
----- data lost -----
, which just means that not all the output
can be displayed on the screen. You might prefer to use the PPPDump command during a
period of low throughput.
Usage:
pppdump
n
where
n
is the number of octets to display per frame. Specifying a value of 0 (zero) disables
the logging of data.
Example:
Consider the following frames, which were logged by the WANDisplay 64 command:
7E FF 7D 23 C0 21 7D 21 7D 21 7D 20 7D 37 7D 22 7D 26 7D 20 7D
2A 7D 20 7D 20 2D 7D 23 7D 26 3A AA 7E
7E FF 7D 23 C0 21 7D 21 7D 21 7D 20 23 7D 20 7D 24 7D 20 7D 20
7D 22 7D 7E
To get the data stream without escape characters, the 0x7D bytes need to be stripped, and the
byte following each 0x7D byte needs to be decremented by 0x20.
With PPPDump, the MAX automatically convert and displays the data as follows:
7E FF 03 C0 21 01 01 00 17 02 06 00 0A 00 00 2D 03 06 3A AA 7E 7E
FF 03 C0 21 01 01 00 23 00 24 00 00 02 7E
See Also: WANDisplay, WANNext, WANOpen
PPPInfo
Description: Displays information about established PPP sessions. Has little practical use
other than as a tool for developmental engineering.
Usage:
ppinfo
index
[all]
Example:
> pppinfo 1
Ncp[LCP] = B02B396C
Ncp[AUTH] = B02B39BC
Ncp[CHAP] = B02B3A0C
Ncp[LQM] = B02B3A5C
Syntax element
Description
index
Selects a particular PPP information table.
all
Displays information about embedded structures.