show services l2tp tunnel
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
(M10i and M7i routers only) Display a list of active Layer 2 Tunneling Protocol (L2TP) tunnels.
Options
- none
Display standard information about all active L2TP tunnels.
- brief | detail | extensive | statistics
(Default) Display the specified level of output. Use the statistics option to display L2TP tunnel statistics.
- interface sp-fpc/pic/port
(Optional) Display L2TP tunnel information for only the specified adaptive services interface.
- local-gateway gateway-address
(Optional) Display L2TP tunnel information for only the specified local gateway address.
- local-gateway-name gateway-name
(Optional) Display L2TP tunnel information for only the specified local gateway name.
- local-tunnel-id tunnel-id
(Optional) Display L2TP tunnel information for only the specified local tunnel identifier.
- peer-gateway gateway-address
(Optional) Display L2TP tunnel information for only the specified peer gateway address.
- peer-gateway-name gateway-name
(Optional) Display L2TP tunnel information for only the specified peer gateway name.
- tunnel-group group-name
(Optional) Display L2TP tunnel information for only the specified tunnel group.
Required Privilege Level
view
List of Sample Output
show services l2tp tunnel extensiveOutput Fields
Table 1 lists the output fields for the show services l2tp tunnel command. Output fields are listed in the approximate order in which they appear.
Table 1: show services l2tp tunnel Output Fields
Field Name | Field Description |
|---|---|
Interface | Name of an adaptive services interface. |
Tunnel group | Name of a tunnel group. |
Local ID | Numeric identifier of the local endpoint of the tunnel, as assigned by the L2TP network server (LNS). |
Remote ID | Numeric identifier of the remote endpoint of the tunnel, as assigned by the L2TP access concentrator (LAC). |
Remote IP | IP address of the peer endpoint of the tunnel. |
Sessions | Number of L2TP sessions established through the tunnel. |
State | State of the L2TP tunnel:
|
Local IP | IP address of the local endpoint of the tunnel. |
Local name | Name used for local tunnel endpoint during tunnel negotiation. |
Remote name | Name used for remote tunnel endpoint during tunnel negotiation. |
Max sessions | Maximum number of sessions that can be established on this tunnel. |
Window size | Number of control messages that can be sent without receipt of an acknowledgment. |
Hello interval | Interval between the transmission of hello messages, in seconds. |
Create time | Date and time when the tunnel was created. While the LNS and LAC are connected, this value should correspond to the router's uptime. If connection to the LAC is severed, the State changes to Unknown and the Create time value resets. |
Up time | Amount of time elapsed since the tunnel became active, in hours, minutes, and seconds. |
Idle time | Amount of time elapsed since the tunnel became idle, in hours, minutes, and seconds. |
Statistics since | Date and time when collection of the following statistics began:
|
Sample Output
show services l2tp tunnel extensive
user@host> show services l2tp tunnel extensive Interface: sp-1/2/0, Tunnel group: group1
Tunnel local ID: 62746, Tunnel remote ID: 16930
Remote IP: 10.128.1.2:1701
Sessions: 1, State: Established
Local IP: 10.128.1.1:1701
Local name: router-1, Remote name: router-2
Max sessions: 50, Window size: 32, Hello interval: 60
Create time: Tue Mar 23 14:13:15 2004, Up time: 01:14:58
Idle time: 00:00:07
Statistics since: Tue Mar 23 14:13:13 2004
Packets Bytes
Control Tx 80 1152
Control Rx 3 272
Data Tx 0 0
Data Rx 450 28.0k
Errors Tx 0
Errors Rx 0
Interface: sp-1/2/0, Tunnel group: group_company_dns
Tunnel local ID: 37266, Tunnel remote ID: 36217
Remote IP: 10.128.11.2:1701
Sessions: 1, State: Established
Local IP: 10.128.11.1:1701
Local name: router-1, Remote name: router-2
Max sessions: unlimited, Window size: 32, Hello interval: 60
Create time: Tue Mar 23 14:13:15 2004, Up time: 01:14:59
Idle time: 01:14:55
Statistics since: Tue Mar 23 14:13:13 2004
Packets Bytes
Control Tx 81 1164
Control Rx 3 273
Data Tx 0 0
Data Rx 1 80
Errors Tx 0
Errors Rx 0
