|
|
The show ppp commands display PPP-specific information about the WAN interfaces.
show ppp {lcp [Status] | quality [Status] | auth | compression | statistics}
lcp [Status] | This command displays LCP (Link Control Protocol) parameters configured for the WAN interfaces. For each WAN interface, flags for Want and Allow are displayed along with the Async-Character-Control-Map (ACCM). If the optional Status parameter is used, the display will show the runtime settings for the interface(s). |
quality [Status] | This command displays the settings for the sending of echo packets. If the optional Status parameter is used, the display will show the runtime settings for the interface(s). |
auth | This command displays the authentication database used by PAP and CHAP. Because password and security information is shown, you will be prompted for the password. |
compression | This command displays the settings for PPP data compression. |
statistics | This command displays packet statistics for the WAN interface(s). |
The following sections describe the display contents for each command.
The show ppp lcp display includes:
Want | The Want flags are parameters that the device requests of the remote end. |
Allow | The Allow flags are parameters that the device will agree to accept from the remote end if requested. |
ACCM Mask | The ACCM Mask is a 32-bit hexadecimal value which has a bit set for each control character requested to be mapped by the remote end. The value can be decoded starting from the least significant bit. See the PPP section for more information about the ACCM mask. |
The show ppp quality display includes:
Port | The Port is the name of the WAN interface. |
Proto | Presently, the Proto column will have one of two values. A value of Off indicates that this interface is set for Frame Relay and the parameter cannot be set. A value of ECHO indicates that the ECHO protocol is selected (which is used in PPP). |
Interval | The Interval is the frequency, in seconds, at which each echo will be sent. It is also the amount of time in which an echo response must be received in order not to be counted as missed. A value of Off indicates that the ECHO protocol is disabled. |
Threshold | The Threshold is a set of numbers indicating the number of echo packets that must be missed out of the last number received before an error is reported. |
The first portion of the show ppp auth output displays information specific to each of the WAN interfaces. For more information on how to set these parameters see the PPP and Auth sections. The column headings are described below:
Port | This is the name of the WAN interface. |
Proto | The Proto column will always have PAP and CHAP for interfaces configured for PPP. If the interface is configured for Frame Relay or is turned off, it will say disabled. |
Status | The Status values will be Want, Allow, Both or Off. Off means that PPP authentication has not been configured for this interface. Allow means that the device will allow the remote device to negotiate the protocol and will respond. Want means that the device will ask the other end to negotiate the protocol and require a response. Both means that the device will ask the other end to negotiate the protocol and respond if the other end sends a protocol request. |
Name | For the PAP protocol, the Name column will only have a value if the Status is Allow or Both. For the CHAP protocol, a Status of Want, Allow or Both will have a Name entry. |
Password | The Password is the PAP password or CHAP secret to be used during authentication. There will only be an entry here if PAP is set to Allow or Both, or if CHAP is set to Allow or Both. |
The second part of the output displays Authentication Database entries. This table is consulted if PAP or CHAP is set to Want or Both. These entries can be used for any or all of the interfaces.
Name | The Name column will have an entry if PAP is set for Want or Both or if CHAP is set for Allow for the interface(s) designated by the Mask (see below). |
Chat Script | The Chat Script specifies the name of the chat script to be used for dial-back. |
Mask | The Mask is a hexadecimal value specifying the ports on which this entry should be used. Each bit in the 32-bit value corresponds to a WAN interface (the least significant bit corresponding to WAN 0). In the output above the Mask of 000f tells the device to use this entry for WAN interfaces 0, 1, 2, and 3 (bits 0, 1, 2, 3). |
The show ppp compression display includes:
Port | The Port is the name of the WAN interface. |
Compression | The current PPP compression algorithm is shown. Possible values are Off and Cisco Systems Sequenced Predictor. |
The show ppp statistics display includes:
in | The number of packets received by this interface's PPP stack. |
out | The number of packets sent by this interface's PPP stack. |
discard | The total number of packets discarded due to an error by this interface's PPP stack. |
compressI | The number of input packets to this interface's CCP decompressor. This value is zero if PPP data compression is not negotiated for this link. |
compressO | The number of output packets from this interface's CCP compressor. This value is zero if PPP data compression is not negotiated for this link. |
compressID | The number of packets discarded by this interface's CCP decompressor. This value is zero if PPP data compression is not negotiated for this link. |
compressOD | The number of packets discarded by this interface's CCP compressor. This value is zero if PPP data compression is not negotiated for this link. |
The following sections show an example for each command.
The output from show ppp lcp is shown below.
Wan 0:
Want=5ac<ACCM,AUTH,MAGIC,PFC,ACFC,PAP>
Allow=1a4<ACCM,MAGIC,PFC,ACFC>
ACCM Mask=0<>
The show ppp quality output follows:
Port Proto Interval Threshold Wan 0 Off Wan 1 Off Wan 2 ECHO Off Wan 3 ECHO 11 21/ 30
The following is an example of the information displayed by show ppp auth.
Enter Password:
Port Proto Status Name Password
Wan 0 PAP Off
CHAP Off
Wan 1 PAP Allow Mickey Mouse
CHAP Allow Donald Duck
Wan 2 PAP Want
CHAP Want Betty
Wan 3 PAP Both Howdy Doody
CHAP Both Graendal One of the Foresaken
Authentication Database:
Name Password Chat Script Mask
Barney Rubble dial Fred 000f
The following is an example of the information displayed by show ppp compression.
Port Compression Wan 0 Off Wan 1 Off Wan 2 Off Wan 3 Cisco Systems Sequenced Predictor
The following is an example of the information displayed by show ppp statistics.
Stats Wan0 in 25 out 12691 discard 0 compressI 0 compressO 0 compressID 0 compressOD 0
| Command | Description |
|---|---|
configure PPP | Configures PPP parameters for an interface |
edit config Auth | Defines the PPP remote authentication database |
show wan | Shows WAN port information |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Sep 27 11:30:23 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.