Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services l2tp tunnel-switch session

Syntax

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.

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.

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:

  • Established—Session is operating. This is the only state supported for the LAC.

  • closed—Session is being closed.

  • destroyed—Session is being destroyed.

  • clean-up—Session is being cleaned up.

  • lns-ic-accept-new—New session is being accepted.

  • lns-ic-idle—Session has been created and is idle.

  • lns-ic-reject-new—New session is being rejected.

  • lns-ic-wait-connect—Session is waiting for the peer's incoming call connected (ICCN) message.

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.

detailextensive

Session remote ID

Identifier of the remote endpoint of the L2TP session, as assigned by the L2TP access concentrator (LAC).

detailextensive

Tunnel switch profile name

Name of a tunnel switch profile.

detailextensive

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.

detailextensive

Local IP

IP address of local endpoint of the Point-to-Point Protocol (PPP) session.

detailextensive

Remote IP

IP address of remote endpoint of the PPP session.

detailextensive

Local name

For LNS, name of the LNS instance in which the session was created. For LAC, name of the LAC.

detailextensive

Remote name

For LNS, name of the LAC from which the session was created. For LAC, name of the LAC instance.

detailextensive

Bearer type

Type of bearer enabled:

  • 0—Might indicate that the call was not received over a physical link (for example, when the LAC and PPP are located in the same subsystem).

  • 1—Digital access requested.

  • 2—Analog access requested.

  • 4—Asynchronous Transfer Mode (ATM) bearer support.

extensive

Framing type

Type of framing enabled:

  • 1—Synchronous framing

  • 2—Asynchronous framing

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:

  • Data Tx—Amount of data transmitted, in packets and bytes.

  • Data Rx—Amount of data received, in packets and bytes.

extensive

Sample Output

show services l2tp tunnel-switch session

show services l2tp tunnel-switch session detail

show services l2tp tunnel-switch session extensive

Release Information

Command introduced in Junos OS Release 13.2.