show services l2tp session
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
(M10i and M7i routers only) Display a list of active L2TP sessions.
Options
- none
Display standard information about all active L2TP sessions.
- brief | detail | extensive | statistics
(Optional) Display the specified level of output. Use the statistics option to display packet and byte counts for each session.
- interface sp-fpc/pic/port
(Optional) Display L2TP session information for only the specified adaptive services interface.
- 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.
- 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.
- user username
(Optional) Display L2TP session information for only the specified username.
Required Privilege Level
view
Related Topics
List of Sample Output
show services l2tp sessionshow services l2tp session extensive
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 | Name of an adaptive services interface. | All levels |
Tunnel group | 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:
| All levels |
Bundle ID | 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 | Mode of the interface representing the session: shared or exclusive. | 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 | Name of the user logged in to the session. | All levels |
Assigned IP address | IP address assigned to remote client. | extensive |
Local name | Name of the LNS instance in which the session was created. | extensive |
Remote name | Name of the LAC from which the session was created. | extensive |
Local MRU | Maximum receive unit (MRU) setting of the local device, in bytes. | extensive |
Remote MRU | MRU setting of the remote device, in bytes. | extensive |
Tx speed | Transmit speed of the physical PPP link, in bps. | extensive |
Rx speed | Receive speed of the physical PPP link, in bps. | extensive |
Bearer type | Type of bearer enabled:
| extensive |
Framing type | Type of framing enabled:
| extensive |
LCP renegotiation | 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 | 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:
| extensive |
Sample Output
show services l2tp session
user@host> show services l2tp session Interface: sp-1/2/0, Tunnel group: group1, Tunnel local ID: 8802 Local Remote Interface State Bundle Username ID ID unit 37966 5 2 Established
show services l2tp session extensive
user@host> show services l2tp session extensive Interface: sp-1/2/0, Tunnel group: group1, Tunnel local ID: 62746
Session local ID: 56793, Session remote ID: 53304
State: Established, Bundle ID: 5, Mode: shared
Local IP: 10.128.1.1:1701, Remote IP: 10.128.1.2:1701
Username: usr1@juniper_1.net, Assigned IP address: 10.50.2.1/32
Local MRU: 4000, Remote MRU: 1500, Tx speed: 64000, Rx speed: 64000
Bearer type: 2, Framing type: 1
LCP renegotiation: Off, Authentication: CHAP, Interface ID: unit_20
Interface unit: 20, Call serial number: 4137941434
Policer bandwidth: 64000, Policer burst size: 51200
Firewall filter: f1
Session encapsulation overhead: 16, Session cell overhead: On
Create time: Tue Mar 23 14:13:15 2004, Up time: 01:16:41
Idle time: 00:00:00
Statistics since: Tue Mar 23 14:13:13 2004
Packets Bytes
Control Tx 4 88
Control Rx 2 28
Data Tx 0 0
Data Rx 461 29.0k
Errors Tx 0
Errors Rx 0
Interface: sp-1/2/0, Tunnel group: group_company_dns, Tunnel local ID: 37266
Session local ID: 39962, Session remote ID: 53303
State: Established, Bundle ID: 5, Mode: shared
Local IP: 10.128.11.1:1701, Remote IP: 10.128.11.2:1701
Username: usr1@company.com, Assigned IP address: 10.46.2.3/24
Local name: router-1, Remote name: router-2
Local MRU: 4470, Remote MRU: 4470, Tx speed: 155000000, Rx speed: 155000000
Bearer type: 2, Framing type: 1
LCP renegotiation: Off, Authentication: CHAP, Interface ID: unit_31
Interface unit: 31, Call serial number: 4137941433
Policer bandwidth: 64000, Policer burst size: 51200
Firewall filter: f1
Create time: Tue Mar 23 14:13:17 2004, Up time: 01:16:39
Idle time: 01:16:36
Statistics since: Tue Mar 23 14:13:15 2004
Packets Bytes
Control Tx 6 196
Control Rx 4 150
Data Tx 0 0
Data Rx 1 80
Errors Tx 0
Errors Rx 0
