Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services l2tp session

Syntax

Description

Display information about active L2TP sessions for LAC and LNS.

Options

none

Display standard information about all active L2TP sessions.

brief | detail | extensive

(Optional) Display the specified level of output.

interface interface-name

(Optional) Display L2TP session information for only the specified adaptive services or inline services interface. The interface type depends on the line card as follows:

  • si-fpc/pic/port— MPCs on MX Series routers only.

local-gateway gateway-address

(Optional) Display L2TP session information for only the specified local gateway address.

local-gateway-name gateway-name

(Optional) Display L2TP session information for only the specified local gateway name.

local-session-id session-id

(Optional) Display L2TP session information for only the specified local session identifier.

local-tunnel-id tunnel-id

(Optional) Display L2TP session information for only the specified local tunnel identifier.

peer-gateway gateway-address

(Optional) Display L2TP session information for only the specified peer gateway address.

peer-gateway-name gateway-name

(Optional) Display L2TP session information for only the specified peer gateway name.

statistics

(Optional) Display the number of control packets and bytes transmitted and received for the session. You cannot include this option with any of the level options, brief, detail, or extensive.

tunnel-group group-name

(Optional) Display L2TP session information for only the specified tunnel group. To display information about L2TP CPU and memory usage, you can include the tunnel group name in the show services service-sets memory-usage group-name and show services service-sets cpu-usage group-name commands. This option is not available for L2TP LAC on MX Series routers.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services l2tp session command. Output fields are listed in the approximate order in which they appear.

Table 1: show services l2tp session Output Fields

Field Name

Field Description

Level of Output

Interface

(LNS only) Name of an adaptive services interface.

All levels

Tunnel group

(LNS only) Name of a tunnel group.

All levels

Tunnel local ID

Identifier of the local endpoint of the tunnel, as assigned by the L2TP network server (LNS).

All levels

Session local ID

Identifier of the local endpoint of the L2TP session, as assigned by the LNS.

All levels

Session remote ID

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

All levels

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

Bundle ID

(LNS only) Bundle identifier. Indicates the session is part of a multilink bundle. Sessions that have a blank Bundle field are not participating in the Multilink Protocol. Sessions in a multilink bundle might belong to different L2TP tunnels. For L2TP output organized by bundle ID, issue the show services l2tp multilink extensive command.

All levels

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.

extensive

Local IP

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

extensive

Remote IP

IP address of remote endpoint of the PPP session.

extensive

Username

(LNS only) Name of the user logged in to the session.

All levels

Assigned IP address

(LNS only) IP address assigned to remote client.

extensive

Local name

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

extensive

Remote name

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

extensive

Local MRU

(LNS only) Maximum receive unit (MRU) setting of the local device, in bytes.

extensive

Remote MRU

(LNS only) MRU setting of the remote device, in bytes.

extensive

Tx speed

Transmit speed of the session conveyed from the LAC to the LNS, in bits per second (bps) and the source method from which the speed is derived.

Either the initial (initial) line speed or both the initial and current (update) line speeds can be displayed:

  • When connection speed updates are not enabled, then only the initial line speed is displayed.

  • When connection speed updates are enabled, then both the initial and the current speeds are displayed.

When the Tx connect speed method is set to none, the value of zero (0) is displayed.

extensive

Rx speed

Receive speed of the session conveyed from the LAC to the LNS, in bits per second (bps) and the source method from which the speed is derived.

Either the initial (initial) line speed or both the initial and current (update) line speeds can be displayed :

  • When connection speed updates are not enabled, then only the initial line speed is displayed.

  • When connection speed updates are enabled, then both the initial and the current speeds are displayed.

When the Tx connect speed method is set to none, the value of zero (0) is displayed.

extensive

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

Interface unit

Logical interface for this session.

All levels

Call serial number

Unique serial number assigned to the call.

extensive

Policer bandwidth

Maximum policer bandwidth configured for this session.

extensive

Policer burst size

Maximum policer burst size configured for this session.

extensive

Firewall filter

Configured firewall filter name.

extensive

Session encapsulation overhead

Overhead allowance configured for this session, in bytes.

extensive

Session cell overhead

Cell overhead activation (On or Off).

extensive

Create time

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

Statistics since

Date and time when collection of the following statistics began:

  • Control Tx—Amount of control information transmitted, in packets and bytes.

  • Control Rx—Amount of control information received, in packets and bytes.

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

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

  • Errors Tx—Number of errors transmitted, in packets.

  • Errors Rx—Number of errors received, in packets.

  • LCP echo req Tx—Number of LCP echo requests transmitted, in packets.

  • LCP echo req Rx—Number of LCP echo requests received, in packets.

  • LCP echo rep Tx—Number of LCP echo responses transmitted, in packets.

  • LCP echo rep Rx—Number of LCP echo responses received, in packets.

  • LCP echo Req timout—Number of LCP echo requests that timed out.

  • LCP echo Req error—Number of errors received for LCP echo packets.

  • LCP echo Rep error —Number of errors transmitted for LCP echo packets.

extensive

Sample Output

show services l2tp session (LNS on MX Series Routers)

show services l2tp session (LAC)

show services l2tp session detail (LAC)

show services l2tp session extensive (LAC)

show services l2tp session extensive (LAC on MX Series Routers)

show services l2tp session extensive (LNS on MX Series Routers)

show services l2tp session statistics (MX Series Routers)