show services l2tp session
Syntax
show services l2tp session <brief | detail | extensive> <interface interface-name> <local-gateway gateway-address> <local-gateway-name gateway-name> <local-session-id session-id> <local-tunnel-id tunnel-id> <peer-gateway gateway-address> <peer-gateway-name gateway-name> <statistics> <tunnel-group group-name>
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:
|
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, |
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 |
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
(LNS only) Name of an adaptive services interface. |
All levels |
|
(LNS only) Name of a tunnel group. |
All levels |
|
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. |
All levels |
|
Identifier of the remote endpoint of the L2TP session, as assigned by the L2TP access concentrator (LAC). |
All levels |
|
State of the L2TP session:
|
All levels |
|
(LNS only) Bundle identifier. Indicates
the session is part of a multilink bundle. Sessions that have a blank |
All levels |
|
(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. |
|
|
(LNS only) Name of the user logged in to the session. |
All levels |
|
(LNS only) IP address assigned to remote client. |
|
|
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. |
|
|
(LNS only) Maximum receive unit (MRU) setting of the local device, in bytes. |
|
|
(LNS only) MRU setting of the remote device, in bytes. |
|
|
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 (
When the Tx connect speed method is set to none, the value of zero (0) is displayed. |
|
|
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 (
When the Tx connect speed method is set to none, the value of zero (0) is displayed. |
|
|
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. |
|
|
Logical interface for this session. |
All levels |
|
Unique serial number assigned to the call. |
|
|
Maximum policer bandwidth configured for this session. |
|
|
Maximum policer burst size configured for this session. |
|
|
Configured firewall filter name. |
|
|
Overhead allowance configured for this session, in bytes. |
|
|
Cell overhead activation ( |
|
|
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. |
|
|
Date and time when collection of the following statistics began:
|
|
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)
show services l2tp session (LNS on MX Series Routers)
user@host> show services l2tp session Tunnel local ID: 40553 Local Remote State Interface Interface ID ID unit Name 17967 1 Established 1073749824 si-5/2/0
show services l2tp session (LAC)
user@host> show services l2tp session Tunnel local ID: 31889 Local Remote State Interface Interface ID ID unit Name 31694 1 Established 311 pp0
show services l2tp session detail (LAC)
user@host> show services l2tp session detail Tunnel local ID: 31889 Session local ID: 31694, Session remote ID: 1, Interface unit: 311 State: Established, Interface: pp0, Mode: Dedicated Local IP: 203.0.113.2:1701, Remote IP: 203.0.113.1:1701 Local name: ce-lac, Remote name: ce-lns
show services l2tp session extensive (LAC)
user@host> show services l2tp session extensive Tunnel local ID: 31889 Session local ID: 31694, Session remote ID: 1 Interface unit: 311 State: Established, Mode: Dedicated Local IP: 203.0.113.2:1701, Remote IP: 203.0.113.1:1701 Local name: ce-lac, Remote name: ce-lns Tx speed: 0, Rx speed: 0 Bearer type: 1, Framing type: 1 LCP renegotiation: N/A, Authentication: None, Interface ID: N/A Interface unit: 311, Call serial number: 0 Policer bandwidth: 0, Policer burst size: 0 Policer exclude bandwidth: 0, Firewall filter: 0 Session encapsulation overhead: 0, Session cell overhead: 0 Create time: Tue Aug 24 14:38:23 2010, Up time: 01:06:25 Idle time: N/A
show services l2tp session extensive (LAC on MX Series Routers)
user@host> show services l2tp session extensive Tunnel local ID: 31889 Session local ID: 31694, Session remote ID: 1 Interface unit: 311 State: Established, Mode: Dedicated Local IP: 203.0.113.102:1701, Remote IP: 203.0.113.101:1701 Local name: ce-lac, Remote name: ce-lns Tx speed: 256000, source service-profile Rx speed: 128000, source ancp Bearer type: 1, Framing type: 1 LCP renegotiation: N/A, Authentication: None, Interface ID: N/A Interface unit: 311, Call serial number: 0 Policer bandwidth: 0, Policer burst size: 0 Policer exclude bandwidth: 0, Firewall filter: 0 Session encapsulation overhead: 0, Session cell overhead: 0 Create time: Tue Aug 24 14:38:23 2010, Up time: 01:06:25 Idle time: N/A
show services l2tp session extensive (LNS on MX Series Routers)
user@host> show services l2tp session extensive Tunnel local ID: 40553 Session local ID: 17967, Session remote ID: 1 Interface unit: 1073749824 State: Established Interface: si-5/2/0 Mode: Dedicated Local IP: 192.0.2.2:1701, Remote IP: 192.0.2.3:1701 Local name: lns-mx960, Remote name: testlac Tx speed: initial 64000, Update 256000 Rx speed: initial 64000, Update 256000 Bearer type: 2, Framing type: 1 LCP renegotiation: Off, Authentication: None Call serial number: 1 Create time: Mon Apr 25 20:27:50 2011, Up time: 00:01:48 Idle time: N/A Statistics since: Mon Apr 25 20:27:50 2011 Packets Bytes Control Tx 4 219 Control Rx 4 221 Data Tx 0 0 Data Rx 10 228 Errors Tx 0 Errors Rx 0
show services l2tp session statistics (MX Series Routers)
user@host>show services l2tp session statistics local session-id 1 Tunnel local ID: 17185 Session local ID: 1, Session remote ID: 14444, Interface unit: 1073788352 State: Established Statistics since: Mon Aug 1 13:27:47 2011 Packets Bytes Data Tx 4 51 Data Rx 3 36