show services l2tp tunnel-switch session
Syntax
show services l2tp tunnel-switch session <detail | extensive> <statistics>
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, |
Required Privilege Level
view
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Identifier of the local endpoint of the tunnel, as assigned by the L2TP network server (LNS). |
All levels |
|
Identifier of the local endpoint of the L2TP session, as assigned by the LNS. |
none |
|
Identifier of the remote endpoint of the L2TP session, as assigned by the L2TP access concentrator (LAC). |
none |
|
State of the L2TP session:
|
All levels |
|
Logical interface for this session. |
All levels |
|
(LNS only) Name of an adaptive services interface. |
none |
|
Identifier of the local endpoint of the L2TP session, as assigned by the LNS. |
|
|
Identifier of the remote endpoint of the L2TP session, as assigned by the L2TP access concentrator (LAC). |
|
|
Name of a tunnel switch profile. |
|
|
(LNS) Mode of the interface representing the session: (LAC) Mode of the interface representing the session: |
|
|
IP address of local endpoint of the Point-to-Point Protocol (PPP) session. |
|
|
IP address of remote endpoint of the PPP session. |
|
|
For LNS, name of the LNS instance in which the session was created. For LAC, name of the LAC. |
|
|
For LNS, name of the LAC from which the session was created. For LAC, name of the LAC instance. |
|
|
Type of bearer enabled:
|
|
|
Type of framing enabled:
|
|
|
(LNS only) Whether Link Control Protocol (LCP) renegotiation is configured: |
|
|
Type of authentication algorithm used: Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP). |
|
|
(LNS only) Identifier used to look up the logical interface for this session. |
|
|
Unique serial number assigned to the call. |
|
|
Transmit speed of the session conveyed from the LAC to the LNS, in bits per second (bps). |
|
|
Receive speed of the session conveyed from the LAC to the LNS, in bits per second (bps). |
|
|
Day, date, and time when the call was created. |
|
|
Length of time elapsed since the call became active, in hours, minutes, and seconds. |
|
|
Length of time elapsed since the call became idle, in hours, minutes, and seconds. |
|
|
Status of IP ToS value reflection, |
|
|
Date and time when collection of the following statistics began:
|
|
Sample Output
- show services l2tp tunnel-switch session
- show services l2tp tunnel-switch session detail
- show services l2tp tunnel-switch session extensive
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: 203.0.113.51:1701, Remote IP: 192.0.2.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: 203.0.113.31:1701, Remote IP: 198.51.100.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: 203.0.113.51:1701, Remote IP: 192.0.2.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: 203.0.113.31:1701, Remote IP: 198.51.100.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
Release Information
Command introduced in Junos OS Release 13.2.