show services l2tp tunnel-switch session
Syntax
Release Information
Command introduced in Junos OS Release 13.2.
Description
Display information about L2TP switched tunnel sessions.
Options
none | — | Display standard information about all active L2TP switched tunnel sessions. |
detail | extensive | — | (Optional) Display the specified level of output. |
statistics | — | (Optional) Display the number of control packets and bytes transmitted and received for the session. You cannot include this option with either of the level options, detail or extensive. |
Additional Information
Required Privilege Level
view
List of Sample Output
show services l2tp tunnel-switch sessionshow services l2tp tunnel-switch session detail
show services l2tp tunnel-switch session extensive
Output Fields
Table 1 lists the output fields for the show services l2tp tunnel-switch session command. Output fields are listed in the approximate order in which they appear.
Table 1: show services l2tp tunnel-switch session Output Fields
Field Name | Field Description | Level of Output |
---|---|---|
Tunnel local ID | Identifier of the local endpoint of the tunnel, as assigned by the L2TP network server (LNS). | All levels |
Local ID | Identifier of the local endpoint of the L2TP session, as assigned by the LNS. | none |
Remote ID | Identifier of the remote endpoint of the L2TP session, as assigned by the L2TP access concentrator (LAC). | none |
State | State of the L2TP session:
| All levels |
Interface unit | Logical interface for this session. | All levels |
Interface Name | (LNS only) Name of an adaptive services interface. | none |
Session local ID | Identifier of the local endpoint of the L2TP session, as assigned by the LNS. | detail extensive |
Session remote ID | Identifier of the remote endpoint of the L2TP session, as assigned by the L2TP access concentrator (LAC). | detail extensive |
Tunnel switch profile name | Name of a tunnel switch profile. | detail extensive |
Mode | (LNS) Mode of the interface representing the session: shared or exclusive. (LAC) Mode of the interface representing the session: shared or dedicated. Only dedicated is currently supported for the LAC. | detail extensive |
Local IP | IP address of local endpoint of the Point-to-Point Protocol (PPP) session. | detail extensive |
Remote IP | IP address of remote endpoint of the PPP session. | detail extensive |
Local name | For LNS, name of the LNS instance in which the session was created. For LAC, name of the LAC. | detail extensive |
Remote name | For LNS, name of the LAC from which the session was created. For LAC, name of the LAC instance. | detail extensive |
Bearer type | Type of bearer enabled:
| extensive |
Framing type | Type of framing enabled:
| extensive |
LCP renegotiation | (LNS only) Whether Link Control Protocol (LCP) renegotiation is configured: On or Off. | extensive |
Authentication | Type of authentication algorithm used: Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP). | extensive |
Interface ID | (LNS only) Identifier used to look up the logical interface for this session. | extensive |
Call serial number | Unique serial number assigned to the call. | extensive |
Tx speed | Transmit speed of the session conveyed from the LAC to the LNS, in bits per second (bps). | extensive |
Rx speed | Receive speed of the session conveyed from the LAC to the LNS, in bits per second (bps). | extensive |
Create time | Day, date, and time when the call was created. | extensive |
Up time | Length of time elapsed since the call became active, in hours, minutes, and seconds. | extensive |
Idle time | Length of time elapsed since the call became idle, in hours, minutes, and seconds. | extensive |
ToS Reflect | Status of IP ToS value reflection, Disabled or Enabled. | extensive |
Statistics since | Date and time when collection of the following statistics began:
| extensive |
Sample Output
show services l2tp tunnel-switch session
user@host> show services l2tp tunnel-switch
session
Tunnel local ID: 37602 Local Remote State Interface Interface ID ID unit Name 13545 1 Established 1073741842 si-2/1/0 Tunnel local ID: 37060 Local Remote State Interface Interface ID ID unit Name 58296 1 Established 1073741843 si-2/1/0
show services l2tp tunnel-switch session detail
user@host> show services l2tp tunnel-switch
session detail
Tunnel local ID: 37602 Session local ID: 13545, Session remote ID: 1, Interface unit: 1073741842 State: Established, Interface: si-2/1/0 Tunnel switch profile name: ce-lts-profile Mode: Dedicated Local IP: 10.50.1.1:1701, Remote IP: 192.168.20.3:1701 Local name: ce-bras-mx240-f, Remote name: testlac Tunnel local ID: 37060 Session local ID: 58296, Session remote ID: 1, Interface unit: 1073741843 State: Established, Interface: si-2/1/0 Tunnel switch profile name: ce-lts-profile Mode: Dedicated Local IP: 10.30.1.1:1701, Remote IP: 172.20.1.10:1701 Local name: lns, Remote name: lns
show services l2tp tunnel-switch session extensive
user@host> show services l2tp tunnel-switch
session extensive
Tunnel local ID: 37602 Session local ID: 13545, Session remote ID: 1 Interface unit: 1073741842 State: Established Interface: si-2/1/0 Tunnel switch profile name: ce-lts-profile Mode: Dedicated Local IP: 10.50.1.1:1701, Remote IP: 192.168.20.3:1701 Local name: ce-bras-mx240-f, Remote name: testlac Bearer type: 2, Framing type: 1 LCP renegotiation: On, Authentication: None, Interface ID: si-2/1/0 Call serial number: 0 Tx speed: 56000, Rx speed: 0 Create time: Fri Jan 18 03:01:11 2013, Up time: 00:06:50 Idle time: N/A, ToS Reflect: Disabled Statistics since: Fri Jan 18 03:01:11 2013 Packets Bytes Data Tx 85 1031 Data Rx 0 0 Tunnel local ID: 37060 Session local ID: 58296, Session remote ID: 1 Interface unit: 1073741843 State: Established Interface: si-2/1/0 Tunnel switch profile name: ce-lts-profile Mode: Dedicated Local IP: 10.30.1.1:1701, Remote IP: 172.20.1.10:1701 Local name: lns, Remote name: lns Bearer type: 2, Framing type: 1 LCP renegotiation: N/A, Authentication: None, Interface ID: N/A Call serial number: 0 Tx speed: 56000, Rx speed: 0 Create time: Fri Jan 18 03:01:14 2013, Up time: 00:06:48 Idle time: N/A Statistics since: Fri Jan 18 03:01:14 2013 Packets Bytes Data Tx 0 0 Data Rx 84 1014