show services l2tp user
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
(M10i and M7i routers only) Display a list of active Layer 2 Tunneling Protocol (L2TP) users.
Options
none | — | Display all active L2TP users. |
brief | detail | extensive | statistics | — | (Optional) Display the specified level of output. Use the statistics option to display L2TP user statistics. |
user username | — | (Optional) Display L2TP user information for only the specified username. |
Required Privilege Level
view
List of Sample Output
show services l2tp user extensiveOutput Fields
Table 1 lists the output fields for the show services l2tp user command. Output fields are listed in the approximate order in which they appear.
Table 1: show services l2tp user Output Fields
Field Name | Field Description |
---|---|
Interface | Name of an adaptive services interface. |
Tunnel group | Name of a tunnel group. |
Tunnel local ID | Local identifier of the tunnel, as assigned by the L2TP network server (LNS). |
Session local ID | Local identifier of the session, as assigned by the L2TP network server (LNS). |
Session remote ID | Remote identifier of the session, as assigned by the L2TP access concentrator (LAC). |
State | State of the L2TP session:
|
Mode | Mode of the interface representing the session: shared or exclusive. |
Local IP | IP address of the local endpoint of the tunnel. |
Remote IP | IP address of the peer endpoint of the tunnel. |
Username | Name of the user logged in to the session. |
Assigned IP address | IP address assigned to remote client. |
Local name | Name of the local device. |
Remote name | Name of the remote device. |
Local MRU | Maximum receive unit (MRU) setting of the local device, in bytes. |
Remote MRU | MRU setting of the remote device, in bytes. |
Tx speed | Transmit speed of the tunnel session, in bps. |
Rx speed | Receive speed of the tunnel session, in bps. |
Bearer type | Type of bearer enabled:
|
Framing type | Type of framing enabled:
|
LCP renegotiation | Whether Link Control Protocol (LCP) renegotiation is configured: On or Off. |
Authentication | Type of authentication algorithm used: Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP). |
Interface ID | Name of the logical unit. |
Interface unit | Logical unit number. |
Call serial number | Unique serial number assigned to the call. |
Create time | Date and time when the call was created. |
Up time | Amount of time elapsed since the call became active, in hours, minutes, and seconds. |
Idle time | Amount of time elapsed since the call became idle, in hours, minutes, and seconds. |
Statistics sine | Date and time when collection of the following statistics began:
|
Sample Output
show services l2tp user extensive
user@host> show services l2tp user extensive
Interface: sp-1/2/0, Tunnel group: group1, Tunnel local ID: 62746 Session local ID: 56793, Session remote ID: 53304 State: Established, Mode: shared Local IP: 10.128.1.1:1701, Remote IP: 10.128.1.2:1701 Username: usr1@juniper_1.net, Assigned IP address: 10.50.2.1/32 Local name: router-1, Remote name: router-2 Local MRU: 4000, Remote MRU: 1500, Tx speed: 64000, Rx speed: 64000 Bearer type: 2, Framing type: 1 LCP renegotiation: Off, Authentication: CHAP, Interface ID: unit_20 Interface unit: 20, Call serial number: 4137941434 Create time: Tue Mar 23 14:13:15 2004, Up time: 01:16:41 Idle time: 00:00:00 Statistics since: Tue Mar 23 14:13:13 2004 Packets Bytes Control Tx 4 88 Control Rx 2 28 Data Tx 0 0 Data Rx 461 29.0k Errors Tx 0 Errors Rx 0 Interface: sp-1/2/0, Tunnel group: group_company_dns, Tunnel local ID: 37266 Session local ID: 39962, Session remote ID: 53303 State: Established, Username: usr1@company_dns.com, Mode: shared Local IP: 10.128.11.1:1701, Remote IP: 10.128.11.2:1701 Username: usr1@company_dns.com, Assigned IP address: 10.48.1.1/32 Local name: router-1, Remote name: router-2 Local MRU: 4470, Remote MRU: 4470, Tx speed: 155000000, Rx speed: 155000000 Bearer type: 2, Framing type: 1 LCP renegotiation: Off, Authentication: CHAP, Interface ID: unit_31 Interface unit: 31, Call serial number: 4137941433 Create time: Tue Mar 23 14:13:17 2004, Up time: 01:16:39 Idle time: 01:16:36 Statistics since: Tue Mar 23 14:13:15 2004 Packets Bytes Control Tx 6 196 Control Rx 4 150 Data Tx 0 0 Data Rx 1 80 Errors Tx 0 Errors Rx 0