show ppp statistics
Syntax
Release Information
Command introduced in Junos OS Release 7.5.
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.
|
Required Privilege Level
view
List of Sample Output
show ppp statisticsshow ppp statistics detail
show ppp statistics recovery (Safe to Restart)
show ppp statistics recovery (Unsafe to Restart)
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.
Table 1: show ppp statistics Output Fields
Field Name | Field Description | Level of Output |
---|---|---|
Total sessions | Number of PPP sessions on an interface. | none detail |
Sessions in disabled phase | 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 detail |
Sessions in establish phase | 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 detail |
Sessions in authenticate phase | 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 detail |
Sessions in network phase | 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 detail |
Bundles in pending phase | Number of unique bundles to which PPP links are referring. | none detail |
Type | Type of structure for which memory is allocated.
| detail |
Type (continued) |
| detail |
Type | If you specify the memory keyword, the following memory statistics are displayed for Ethernet interfaces on M120 and M320 routers.
| memory |
Total | Total memory allocations. | detail |
Size | Size of the structure. | detail |
Active | Number of instances of the structure that are used. | detail |
Free | Number of instances of the structure that are on the free list. Types with a number in the Free column are pooled structures, and are typically types that are often used. | detail |
Limit | Maximum number of instances that can be on the free list. Types with a number in the Limit column are pooled structures, and are typically types that are often used. | detail |
Total size | Total amount of memory being used by a type of structure (includes active and free instances). | detail |
Requests | Number of allocation requests made by a type of structure. | detail |
Failures | Number of failed allocations. | detail |
Recovery state | State of PPP recovery after a GRES or restart:
| none |
Subscriber sessions pending retention | Number of PPP subscriber sessions that are in the process of being recovered. | none |
Subscriber sessions recovered OK | Number of PPP subscriber sessions that have recovered after a GRES or restart. | none |
Subscriber sessions recovery failed | Number of PPP subscriber sessions that have failed to recover after a GRES or restart. | none |
Sample Output
show ppp statistics
user@host> show ppp statistics
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 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
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