show ppp statistics
Syntax
show ppp statistics <detail> <memory> <recovery>
Description
Display PPP interface statistics information.
Options
detail | (Optional) Display the detailed statistics. |
memory | (Optional) Display PPP process memory statistics. |
recovery | (Optional) Display recovery state of PPP after a GRES or restart. It is safe to force another GRES or restart only when the recovery state indicates the recovery is done. Note:
When you issue this command option during the recovery
process, the command may time out or fail silently rather than display
output. Recovery is not complete until the command displays |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show ppp statistics
command. Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Number of PPP sessions on an interface. |
none |
|
Number of PPP sessions disabled. Number of sessions where the link is either administratively or physically down. Once the PPP process learns from the kernel that Layer 2 is ready to send and receive traffic, it will do a phase transition from disabled to established. When LCP and NCP transitions through states, links transition to the establish phase when terminate packets are exchanged or some other failure, such as authentication or expiration of a timer occurs. |
none |
|
Number of PPP sessions in establish phase. In order to establish communications over a point-to-point link, each end of the PPP link must first send LCP packets to configure and test the data link. |
none |
|
Number of PPP sessions in authenticate phase. Each end of the PPP link must first send LCP packets to configure the data link during the link establishment phase. After the link has been established, PPP provides for an optional authentication phase before proceeding to the Network-Layer Protocol (NLP) phase. |
none |
|
Number of PPP sessions in the network phase. After a link has been established and optional facilities have been negotiated as needed by the LCP, PPP must send Network Control Protocol (NCP) packets to choose and configure one or more network-layer protocols, such as IP, IPX, or AppleTalk. Once each of the chosen network-layer protocols has been configured, datagrams from each network-layer protocol can be sent over the link. |
none |
|
Number of unique bundles to which PPP links are referring. |
none |
|
Type of structure for which memory is allocated.
|
|
|
|
|
|
If you specify the
|
|
|
Total memory allocations. |
|
|
Size of the structure. |
|
|
Number of instances of the structure that are used. |
|
|
Number of instances of the structure
that are on the free list. Types with a number in the |
|
|
Maximum number of instances that
can be on the free list. Types with a number in the |
|
|
Total amount of memory being used by a type of structure (includes active and free instances). |
|
|
Number of allocation requests made by a type of structure. |
|
|
Number of failed allocations. |
|
|
State of PPP recovery after a GRES or restart:
|
none |
|
Number of PPP subscriber sessions that are in the process of being recovered. |
none |
|
Number of PPP subscriber sessions that have recovered after a GRES or restart. |
none |
|
Number of PPP subscriber sessions that have failed to recover after a GRES or restart. |
none |
Sample Output
- show ppp statistics
- show ppp statistics detail
- show ppp statistics recovery (Safe to Restart)
- show ppp statistics recovery (Unsafe to Restart)
show ppp statistics
user@host> show ppp statistics Session statistics from PPP universal edge process Total subscriber sessions: 1 Subscriber sessions in disabled phase : 0 Subscriber sessions in establish phase : 0 Subscriber sessions in authenticate phase: 0 Subscriber sessions in network phase : 1
show ppp statistics detail
user@host> show ppp statistics detail Session statistics from PPP process Total sessions: 0 Sessions in disabled phase : 0 Sessions in establish phase : 0 Sessions in authenticate phase: 0 Sessions in network phase : 0 Bundles in pending phase : 0 Type Size Active Free Limit Total size Requests Failures Queued rtsock msgs 28 0 0 65535 0 0 PPP session 60 0 0 0 Interface address 64 0 0 65535 0 0 Destination profile 65 0 0 0 ML link settings 68 0 0 0 IPCP blocked address 68 0 0 0 PPP session trace 76 0 0 0 IFL redundancy state 76 0 0 0 Protocol family 84 0 0 65535 0 0 ML bundle settings 108 0 0 0 PPP LCP session 120 0 0 0 PPP NCP session 124 0 0 0 Physical interface 124 170 0 65535 21080 170 Access profile 132 0 0 0 ML wait entry 144 0 0 20 0 0 Group profile 164 0 0 0 Profile client 272 0 0 0 PPP Auth session 356 0 0 0 Logical interface 524 0 0 65535 0 0 Non-tagged 8 2 Total 21088 172 0 Session statistics from PPP universal edge process Total subscriber sessions: 32 Subscriber sessions in disabled phase : 32 Subscriber sessions in establish phase : 0 Subscriber sessions in authenticate phase: 0 Subscriber sessions in network phase : 0 Type Size Active Free Limit Total size Requests Failures authenticate 224 1 99 16384 224 0 0 linkInterface 152 1 99 16384 152 0 0 pap 256 1 99 16384 256 0 0 lcp 272 1 99 16384 272 0 0 chap 284 0 0 16384 0 0 0 eapBuffer 1464 0 0 16384 0 0 0 eap 276 0 0 16384 0 0 0 authNone networkInterface 220 1 99 16384 220 0 0 ipNcp 256 1 99 16384 256 0 0 ipv6Ncp 204 0 0 16384 0 0 0 osiNcp 192 0 0 16384 0 0 0 mplsNcp 188 0 0 16384 0 0 0 trace 2052 0 16 16 0 0 0 Total 1380 0 0
show ppp statistics recovery (Safe to Restart)
user@host> show ppp statistics recovery Recovery statistics from PPP universal edge process Recovery state: recovery done Subscriber sessions recovered OK : 32001 Subscriber sessions recovery failed : 0
show ppp statistics recovery (Unsafe to Restart)
user@host> show ppp statistics recovery Recovery statistics from PPP universal edge process Recovery state: recovery cleanup pending Subscriber sessions pending retention : 32001 Subscriber sessions recovered OK : 0 Subscriber sessions recovery failed : 0