[Top] [Prev] [Next] [Bottom]

Chapter 11

Monitoring PPP Interfaces


This chapter describes how to monitor PPP interfaces. It includes the following topics:

Displaying the PPP Monitoring Prompt

Monitoring Data Compression

PPP Monitoring Commands

PPP Interfaces and the GWCON Interface Command

Displaying the PPP Monitoring Prompt

To display the PPP monitoring prompt

1. Enter interface at the + prompt to display a list of interfaces configured on the router.

+interface
Self-Test Self-Test Maintenance
Nt Interface Passed Failed Failed
0 Eth/0 2 1 1
1 PPP/0 0 0 0
2 PPP/1 0 0 0
3 NULL/2 0 0 0

2. Enter network followed by the number of the PPP interface at the + prompt.

+network 1
Circuit>

3. Enter ppp at the Circuit> prompt.

Circuit>ppp
Point-to-Point Console
PPP>

Monitoring Data Compression

At the PPP> prompt use the list ccp, list control ccp, and list compression commands. These commands display the current state of the CCP software and list statistics related to CCP and the compression algorithm.

Note that the default is no data compression and that you cannot enable or disable data compression using Quick Config.

PPP Monitoring Commands

This section lists and defines the PPP monitoring commands. Enter the commands at the PPP> prompt. Not all parameters apply to all router platforms. Enter ? after you type a command to display the available options for each command for your router.

Table 11-1 PPP Monitoring Commands

Command Function
? (Help) Displays available commands or options.
Clear Clears all statistics from PPP interfaces.
List Displays statistics and counters.
Exit Returns to the GWCON (+) prompt.

? (Help)

Lists available commands or lists the command's options.

Syntax: ?

Example: ?

clear
list
exit

Clear

Clears all statistics from PPP interfaces.

Syntax: clear

Example: clear

List

Displays information and counters related to the PPP interface and PPP parameters and options. You can display specific groups of information by listing the information for that group only.

Syntax: list

all
ap2
atcp
bncp
ccp
chap
compression
control
errors
ip
ipcp
ipx
ipxcp
lcp
mp
mp-bundle
pap

all

Lists all information and counters related to the PPP interface and PPP options and parameters. For a description of the fields displayed, see the individual list commands in the following sections.

Example: list all

ap2

Lists statistics on the AppleTalk Phase 2 (AP2) packets received and transmitted over the PPP interface.

Example: list ap2

AP2 Statistic        In         Out
------------ -- ---
Packets: 349 351
Octets: 128488 129412
Prot Rejects: 0

atcp

Lists statistics for the AppleTalk Control Protocol (ATCP).

Example: list atcp

ATCP Statistic           In                      Out 
--------------- -- ---
Packets: 0 0
Octets: 0 0
Prot Rejects: 0 -

bncp

Lists statistics for the Bridging Network Control Protocol (BNCP).

Example: list bncp

BNCP Statistic           In                    Out 
--------------- -- ---
Packets: 0 0
Octets: 0 0
Prot Rejects: 0 -

ccp

Lists statistics on CCP packets and shows the compression algorithm in use, if any.

Example: list ccp

CCP Statistic              In                         Out
------------- -- ---
Packets: 746703 746703
Octets: 4480326 4480326
Reset Reqs: 120 72
Reset Acks: 72 120
Prot Rejects: 0 -
Max size of transmit compression dictionary: 8398
Local (transmit) compressor: Stac-LZS
Local (transmit) compressor statistics:
Recent compression ratio: 2.1:1
Size of receive decompression dictionary: 4424
Remote (receive) compressor: Stac-LZS
Remote (receive) decompressor statistics:
Recent compression ratio: 1.6:1

chap

Lists CHAP statistics.

Example: list chap

CHAP Statistics            In                         Out 
--------------- -- ---
Packets: 6 14
Octets: 130 801
Challenges: 0 8
Responses: 6 0
Successes: 0 4
Failures: 0 2

compression

Lists details of PPP packet statistics for data compression.

Example: list compression

Compression Statistic      In                         Out
--------------------- -- ---
Packets: 0 0
Octets: 0 0
Compressed Octets: 0 0
Incompressible Packets: 0 0
Discarded Packets: 0 0
Copied Packets: 0 0
Prot Rejects: 0 -

control

Lists information and counters related to the specified control protocol.

Syntax: control

atcp
bncp
ccp
chap
ipcp
ipxcp
lcp
mp
pap
Example: list control atcp

ATCP State:            Closed                      
Previous State: Closed
Time Since Change: 6 hours, 27 minutes and 7 seconds
AppleTalk Address Info:
Common network number = 12
Local node ID = 49
Remote node ID = 76

The ATCP State fields are the same as those described under the list control lcp command.

AppleTalk Address Info

Common
Network
Number

Network number of the two ends of the PPP link. (You must statically configure both ends of the link to have the same network number.)

Local Node ID

Unique node number of the local end of the link.

Remote Node
ID

Unique node number of the remote end of the link.

Example: list control bncp

BNCP State:            Closed                      
Previous State: Closed
Time Since Change: 5 hours, 25 minutes and 3 seconds

BNCP Option Local Remote
----------- ----- ------
Tinygram Compression DISABLED DISABLED

Source-route Info:
Remote side does not support source-route bridging

The BNCP State fields are the same as those described under the list control lcp command.
BNCP Option

Tinygram Compression

Displays whether or not Tinygram Compression is enabled or disabled on the local and remote ends of the link.

Source-route
Info

Displays whether or not source route bridging is enabled for the local and remote ports that correspond to this interface.

Example: list control ccp

CCP State:                 Open
Previous State: Ack Sent
Time Since Change: 43 seconds
Local (transmit) compressor: Stac-LZS histories 1, check_mode SEQ
Remote (receive) compressor: Stac-LZS histories 1, check_mode SEQ

The CCP State fields are the same as those described under the list control lcp command.

Example: list control chap

CHAP Option
-----------
Local Name: gt70-2
Remote Router Name: gt70-1
Max Challenges: 20
Challenge timeout 15000
Response timeout 3000
Challenge Algorithm:RSA Data Security,Inc. MD5 Message-Digest Algorithm

CHAP State: Opened
Previous State: Challenge Sent
Time Since Change: 1 minute and 28 seconds

Example: list control ipcp

IPCP State:                Listen                      
Previous State: Closed
Time Since Change: 20 seconds

IPCP Option Local Remote
----------- ----- ------
IP Address 128.189.209.20 None
Compression Slots None None

The IPCP State fields are the same as those described under the list control lcp command.
IPCP Option

IP Address

The IP address of the local and remote ends of the link, if available.

Compression
Slots

The number of IP headers saved for reference to determine the type of compression that is enabled.

Example: list control ipxcp

IPXCP State:          Closed                      
Previous State: Closed
Time Since Change: 2 hours, 9 minutes and 2 seconds

The IPXCP State fields are the same as those described under the list control lcp command.

Example: list control lcp

Version:	                   1
LCP State: Listen
Previous State: Req Sent
Time Since Change: 8 seconds

LCP Option Local Remote
---------- ----- ------
Max Receive Unit: 2048 1500
Async Char Mask: FFFFFFFF FFFFFFFF
Authentication: None None
Magic Number: B87DA37F None
Protocol Field Comp: No No
Addr/Cntl Field Comp: No No
32-Bit Checksum: No No

LCP State

Displays the current state of the point-to-point link. These states include the following:

Open A connection has been made and data can be sent. The retry timer does not run in this state. Closed The link is down and there is no attempt being made to open it. In this state, all connection requests from peers are rejected. Listen The link is down and there is no attempt being made to open it. In contrast to the Closed state, however, all connection requests from peers are accepted. Request-Sent An active attempt is being made to open the link. A Configure-request packet has been sent but a Configure-Ack has not yet been received nor has one been sent. The retry timer is running at this time. Ack-Received A Configure-request packet has been sent and a Configure-Ack packet has been received. The retry timer is still running since a Configure-Ack packet has not been transmitted. Ack-Sent A Configure-Ack packet and a Configure-request packet have been sent but a Configure-Ack packet has not been received. The retry timer always runs in this state.

Closing An attempt is being made to close the connection. A Terminate-request packet has been sent but a Terminate-Ack packet has not been received. The retry timer is running in this state.
Previous State

The state of the point-to-point link prior to the state displayed in the LCP State field. These states are the same as those described in the LCP State field.

Time Since Change

Amount of time the link has been in the present state.

LCP Option

Max receive
unit

The maximum packet size set for both the local and remote end of the link.

Async
character
mask

Not applicable to the GlobeTrotter 70 or 72. PPP accepts this option but ignores it.

Authentication

PAP and CHAP currently supported.

Magic number

The current magic number for both the local and remote end of the link.

Protocol
Field Comp

Whether or not Protocol Field Compression (PFC) is enabled or disabled for both the local and remote ends of the link. If local PFC is Yes, this interface expects the protocol field to be compressed. If remote is Yes, this interface sends a compressed protocol field per the PPP RFC 1661 specification.

Addr/Cntl
compression

Whether or not Address/Control Field Compression (ACFC) is enabled or disabled for both the local and remote ends of the link. If local PFC is Yes, this interface expects the address/control field to be compressed. If remote is Yes, this interface sends a compressed address/control field per the PPP RFC 1661 specification.

32-bit
checksum

Not currently supported. PPP rejects this option.

Example: list control mp

Breakdown per LCP          
-----------------
LCP 1:
------
Version: 1
Time Since Change: 1 minute and 21 seconds

MP Option Local Remote
--------- ----- ------
Max Rcv Recon Units: 2048 2048
Discriminator: class: 1 class: 0
addr: 0114872C addr:
Sequence Number Format: 12 bits 24 bits

LCP 2:
------
Version: 1
Time Since Change: 51 seconds

MP Option Local Remote
--------- ----- ------
Max Rcv Recon Units: 2048 2048
Discriminator: class: 1 class: 0
addr: 0114872C addr:
Sequence Number Format: 12 bits 24 bits

If there is no MP bundle, the following message appears:

MP Bundle does not exist

 
Breakdown per LCP

Version

Version of LCP software running.

Time Since
Change

How long this LCP link has been established.

Max Rcv Recon
Units

The Maximum Received Reconstructed Units is the maximum size the final packet can be after the MP fragmented packets are put back together.

Discriminator

The remote Endpoint Discriminator is used by the local side to identify the MP bundle. The local Endpoint Discriminator is used by the remote side to identify the MP bundle. A discriminator of class 0 and no address indicates the default discriminator.

Sequence Number
Format

The length in bits of the Multilink sequence numbers.

Example: list control pap

PAP Option
----------
PAP Authentication: Enabled
Local Name: gt70-5029
Local Password: Unknown
Remote Router Name: gt70-2
Max Request Timeouts: 20
Request Timeout(mSec): 15000
Retry Timout(mSec): 3000
PAP State: Opened
Previous State: Listen
Time Since Change: 2 minutes and 11 seconds

errors

Lists information related to all error conditions tracked by the PPP software.

Example: list errors

Error Type                 Count           Last One
---------- ----- --------
Bad Address: 0 0
Bad Control: 0 0
Unknown Protocol: 0 0
Invalid Protocol: 0 0
Config Timeouts: 0 0
Terminate Timeouts: 0 0
Error Type

Bad Address

Bad addresses encountered over the link.

Bad Control

Bad control packets encountered over the link.

Unknown
Protocol

Unknown protocol packets encountered by the link.

Invalid Protocol

Invalid protocol packets encountered by the link.

Config
Timeouts

Configuration timeouts experienced by the link.

Terminate
Timeouts

Link termination timeouts experienced by the link.

ip

Lists statistics on the IP packets received (in) and transmitted (out) over the PPP interface.

Example: list ip

Ip Statistic         In         Out
------------ -- ---
Packets: 349 351
Octets: 128488 129412
Prot Rejects: 0
Ip Statistic

Packets

IP packets transmitted (out) and received (in) over the interface.

Octets

Bytes in octets.

Prot Rejects

Protocol-reject packets.

ipcp

Lists statistics on the IPCP packets received and transmitted over the PPP interface.

Example: list ipcp

Ipcp Statistic       In         Out
-------------- -- ---
Packets: 0 0
Octets: 0 0
Prot Rejects: 0 -

ipx

Lists statistics on the IPX packets received and transmitted over the PPP interface.

Example: list ipx

IPX Statistic          In        Out 
------------ -- ---
Packets: 0 0
Octets: 0 0
Prot Rejects: 0 -

ipxcp

Lists statistics for the IPX control protocol.

Example: list ipxcp

IPXCP Statistic          In                 Out 
-------------- -- ---
Packets: 0 0
Octets: 0 0
Prot Rejects: 0 -

lcp

Lists statistics on Link Control Protocol packets received (in) and transmitted (out) over the current point-to-point interface.

Example: list lcp

LCP Statistic          In              Out 
------------- -- ---
Packets: 0 3833
Octets: 0 53662
Cfg Req: 0 3833
Cfg Ack: 0 0
Cfg Nak: 0 0
Cfg Rej: 0 0
Term Req: 0 0
Term Ack: 0 0
Echo Req: 0 0
Echo Resp: 0 0
Disc Req: 0 0
Code Rej: 0 0
LCP Statistic

Packets

Packets

Octets

Bytes in octets

Cfg Req

Configure-request packets

Cfg Ack

Configure-ack (acknowledged) packets

Cfg Nak

Configure-nak (not acknowledged) packets

Cfg Rej

Configure-reject packets

Term Req

Terminal-request packets

Term Ack

Terminal-ack (acknowledged) packets

Echo Req

Echo-request packets

Echo Resp

Echo-response packets

Disc Req

Discard-request packets

Code Rej

Code-reject packets

mp

Displays statistics for the MP bundle as a whole and for the individual links that make up the bundle.

Example: list mp

MP Statistic               In                         Out 
------------- -- ---
Packets: 9 204
Octets: 311 9623
Lost Fragments: 0
Discarded Fragments: 0

Breakdown per LCP
-----------------
LCP 1: In Out
------ -- ---
MP Fragments: 9 174
MP Octets 311 8001

LCP 2: In Out
------ -- ---
MP Fragments: 0 30
MP Octets 0 1622
MP Statistics

Packets

The number of PPP MP packets coming into and going out of the MP bundle.

Octets

The number of PPP MP octets (8 bits) coming into and going out of the MP bundle.

Lost Fragments

The number of times it was detected that at least one MP packet was lost.

Discarded
Fragments

The actual number of MP packets lost.

Per LCP

MP Fragments

The number of fragmented or whole PPP MP packets coming into and going out on this link of the MP bundle.

MP Octets

The number of octets contained in fragmented or whole PPP MP packets coming into and going out on this link of the MP bundle.

mp-bundle

Displays information about the current running state of the MP bundle in this channel configuration.

Example: list mp-bundle

MP Bundle Statistic        
--------------------
PPP Name: 1
Discriminator: Class: 0 Addr:
Number Member Links: 2
Init Member Links: 2
Max Member Links: 2
Dest Name: proteon
MRRU: 2048
Rcv Sequence Number Length:12
Snd Sequence Number Length:24
Transmit Thruput: 128000
Receive Thruput: 128000
Transmit Utilization: 15%
Receive Utilization: 38%

If a bundle does not exist, the following message appears:

MP Bundle does not exist 
PPP Name

Corresponds to the interface name.

Discriminator

The remote Endpoint Discriminator is used by the local side to identify the MP bundle. A discriminator of class 0 and no address indicates the default discriminator.

Number Member Links

Current number of LCP links in the MP bundle.

Init Member Links

Number of LCP links to bring up in the MP bundle when making an outbound call.

Max Member Links

Maximum number of LCP links this MP bundle may contain.

Dest Name

Name of remote router obtained via caller ID or an authentication protocol (PAP or CHAP). If neither is provided, this field displays (unknown).

MRRU

Maximum Received Reconstructed Units negotiated for this MP bundle.

Transmit Thruput

Available transmit throughput of this MP bundle.

Receive Thruput

Available receive throughput of this MP bundle.

Rcv Sequence Number Length

The negotiated MP sequence number length of MP packets/fragments received on this MP bundle.

Snd Sequence Number Length

The negotiated MP sequence number length of MP packets sent on this MP bundle.

Transmit Thruput

Available transmit throughput of this MP bundle.

Receive Thruput

Available receive throughput of this MP bundle.

Transmit Utilization

Current average ratio (in percent) of the amount of data being transmitted by the GlobeTrotter divided by the current Transmit Thruput.

Receive Utilization

Current average ratio (in percent) of the amount of data being received by the GlobeTrotter divided by the current Receive Thruput.

pap

Presents PAP statistics.

Example: list pap

PAP Statistics             In                         Out 
-------------- -- ---
Packets: 5 4
Octets: 115 104
Auth Req: 5 0
Auth Ack: 0 4
Auth Nak: 0 0

Exit

Returns to the Circuit> prompt.

Syntax: exit

Example: exit

PPP Interfaces and the GWCON Interface Command

You can also use the interface command at the + prompt to display complete statistics for PPP interfaces.

Interface

Example: interface 1

                  Self-Test   Self-Test     Maintenance
Nt Interface Passed Failed Failed
1 PPP/0 0 0 0

Point to Point data-link layer on ISDN Basic Rate interface
Line Speed: 64.000 bps

ISDN MAC Layer
Link: Inactive ISDN Firmware: 1.0 Handler State: Inactive

Transmit: D B1 B2 Receive: D B1 B2

Error 0 0 0 Error 0 0 0
Overflow 0 0 0 Overflow 0 0 0
Underrun 0 0 0 Overrun 0 0 0
Abort 0 0 0 Abort 0 0 0
CRC Error 0 0 0

The following table describes the output.
Nt

Interface number.

Interface

Interface type and its instance number.

Self-Test Passed

Number of self-tests that succeeded.

Self-Test Failed

Number of self-tests that failed.

Maintenance: Failed

Number of maintenance failures.

Line speed

The transmit clock speed (approximate).



[Top] [Prev] [Next] [Bottom]

docs@openroute.com
Copyright © 1997, OpenROUTE Networks, Inc. All rights reserved.