show ppp statistics
Syntax
show ppp statistics (detail | memory)
Release Information
Command introduced in JUNOS Release 7.5.
Description
Display PPP interface statistics information.
Options
detail—(Optional) Display the specified level of output.
memory—(Optional) Memory allocation statistics.
Required Privilege Level
view
List of Sample Output
show ppp statistics detail
Output Fields
Table 40 lists the output fields for the show ppp statistics command. Output fields are listed in the approximate order in which they appear.
Table 40: show ppp statistics Output Fields
|
|
|
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.
-
Queued rtsock msgs—Queued route socket messages. When a PPP process is unable to send a route socket message to the kernel (typically because of congestion of the route socket interface), the message is queued for deferred processing.
-
PPP session—Active PPP session. Stores all the information for a PPP session, such as authentication, sequence number, LCP session, and NCP session information.
-
Interface address—Interface address associated with a PPP connection. Stores the information about the interface address that PPP obtains from the kernel.
-
Destination profile—Stores the destination profile information associated with an interface address.
-
ML link settings—Stores information about an MLPPP link, such as the bundle name and compressed real-time transport protocol (CRTP) settings.
-
IPCP blocked address—When addresses are blocked in an address pool (for example, when the interface address is within the range of an address pool, it will be implicitly blocked), this structure is used to store the address in the pool.
-
PPP session trace—A PPP session trace is allocated for record keeping for each session listed at the [set protocols ppp monitor-session] hierarchy level.
-
IFL redundancy state— Stores redundancy state information needed for high availability (HA) operation.
-
Protocol family—Stores the information about the protocol family that PPP obtains from the kernel.
-
ML bundle settings—Multilink bundle settings. Stores the context information for a MLPPP bundle.
-
PPP LCP session—PPP Link Control Protocol session, used for establishing, configuring, and testing the data-link connection. Stores the information for an LCP session, such as negotiated options, current state, and statistics.
-
PPP NCP session—PPP Network Control Protocol (NCP) phase in the PPP link connection process. Stores the information for an NCP session, such as negotiated options, current state, address family, and statistics.
-
Physical interface—Stores the information about the physical interface that PPP obtains from the kernel.
-
Access profile—Stores the information found at the [edit access profile] hierarchy level for each profile.
-
ML wait entry—Created when there are MLPPP links joining a bundle. before its addition to the PPP process. Links are saved here, and when the bundle is added, are properly assigned to the bundle.
-
Group profile—Stores information set in the PPP stanza of a group profile, such as the primary and secondary Domain Name System (DNS), primary and secondary NDNS, and address pool name.
-
Profile client—Stores the per-client information of the access profile (information obtained from the [set access profile name client client-name] hierarchy level.
|
detail memory
|
Type (continued)
|
-
PPP Auth session—PPP authentication session. Stores all the session-specific authentication protocol parameters.
-
Logical interface—Stores the information about the logical interface that PPP obtains from the kernel.
-
Non-tagged—Generic catch-all for allocations not of a particular structure type.
|
detail memory
|
Total
|
Total memory allocations.
|
detail memory
|
Size
|
Size of the structure.
|
detail memory
|
Active
|
Number of instances of the structure that are used.
|
detail memory
|
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 memory
|
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 memory
|
Total size
|
Total amount of memory being used by a type of structure (includes active and free instances).
|
detail memory
|
Requests
|
Number of allocation requests made by a type of structure.
|
detail memory
|
Failures
|
Number of failed allocations.
|
detail memory
|
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