Solstice PPP 3.0.1 Administration Guide

Using pppstat

The pppstat command displays information about the number and type of IP packets and PPP frames sent or received since Solstice PPP was started. This information provides a record of link usage and can be used to highlight problems with the network.

See Appendix A, PPP Link Operation" for a detailed description of the various PPP frames and their significance.

The pppstat command has the following general form:


prompt# pppstat [-i] [-e] [-l] [-n] [ppp_link_name]

Displaying IP Statistics

Executing the pppstat command with the -i option displays information about the IP packets sent and received since Solstice PPP was started. A single IP datagram is encapsulated in each PPP frame.


prompt# pppstat -i

IP status for PPP MIB link number 1

33 IP   packets in (1500 octets total)
38 IP   packets out (366 octets total)

2       packets in  TYPE IP
3       packets in  TYPE VJ UNCOMPRESSED
28      packets in  TYPE VJ COMPRESSED
2       packets out TYPE IP
3       packets out TYPE VJ UNCOMPRESSED
33      packets out TYPE VJ COMPRESSED

Displaying PPP Error Statistics

Executing the pppstat command with the -e option displays information about the PPP error frames sent and received since Solstice PPP was started.


prompt# pppstat -e

Errors status for PPP MIB link number 1

0 bad HDLC address fields, last was 0x00
0 bad HDLC control fields, last was 0x00
0 frames received with invalid protocol id, last was 0x0000
0 packets exceeded local maximum receive unit
0 packets were too short to be valid
0 packets had headers which were too short
0 packets received with bad CRC
1 Configure Request packets retransmitted due to timeout
0 Terminate Request packets retransmitted due to timeout

Displaying PPP LCP Statistics

Executing the pppstat command with the -l option displays information about the PPP LCP (link control protocol) frames sent and received since Solstice PPP was started.


prompt# pppstat -l

LCP status for PPP MIB link number 1

4 LCP packets in (72 octets)	4 LCP packets out (72 octets)
0 LCP protocol rejects
2 LCP Configure Requests sent	3 LCP Configure Requests received
2 LCP Configure Acks sent	1 LCP Configure Acks received
0 LCP Configure Naks sent	0 LCP Configure Naks received
0 LCP Configure Rejs sent	0 LCP Configure Rejs received
0 LCP Terminate Requests sent	0 LCP Terminate Requests received
0 LCP Terminate Acks sent	0 LCP Terminate Acks received
0 LCP Code Rejects sent	0 LCP Code Rejects received
0 LCP Echo Requests sent	0 LCP Echo Requests received
0 LCP Echo Responses sent	0 LCP Echo Responses received
0 LCP Disconnect Reqs sent	0 LCP Disconnect Reqs received

Displaying IP NCP Statistics

Executing the pppstat command with the -n option displays information about the IP NCP (network control protocol) frames sent and received since Solstice PPP was started.


prompt# pppstat -n

IPNCP status for PPP MIB link number 1

3 IPNCP packets in (42 octets)     3 IPNCP packets out (48 octets)
0 IPNCP protocol rejects
2 IPNCP Configure Requests sent	1 IPNCP Configure Reqs received
1 IPNCP Configure Acks sent	1 IPNCP Configure Acks received
0 IPNCP Configure Naks sent	1 IPNCP Configure Naks received
0 IPNCP Configure Rejs sent	0 IPNCP Configure Rejs received
0 IPNCP Terminate Requests sent	0 IPNCP Terminate Reqs received
0 IPNCP Terminate Acks sent	0 IPNCP Terminate Acks received
0 IPNCP Code Rejects sent	0 IPNCP Code Rejects received
0 IPNCP Echo Requests sent	0 IPNCP Echo Requests received
0 IPNCP Echo Responses sent	0 IPNCP Echo Responses received
0 IPNCP Disconnect Reqs sent	0 IPNCP Disconnect Reqs received