[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

show services l2tp tunnel

Syntax

show services l2tp tunnel
<brief | detail | extensive | statistics>
<interface sp-fpc/pic/port>
<local-gateway gateway-address>
<local-gateway-name gateway-name>
<local-tunnel-id tunnel-id>
<peer-gateway gateway-address>
<peer-gateway-name gateway-name>
<tunnel-group group-name>

Release Information

Command introduced before JUNOS 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 extensive

Output Fields

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

Table 251: 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:

  • cc_responder_accept_new—The tunnel has received and accepted the start control connection request (SCCRQ).
  • cc_responder_reject_new—The tunnel has received and rejected the SCCRQ.
  • cc_responder_idle—The tunnel has just been created.
  • cc_responder_wait_ctl_conn—The tunnel has sent the start control connection response (SCCRP) and is waiting for the start control connection connected (SCCCN) message.
  • clean-up—The tunnel is being cleaned up.
  • closed—The tunnel is being closed.
  • destroyed—The tunnel is being destroyed.
  • Established—The tunnel is operating.
  • Terminate—The tunnel is terminating.
  • Unknown—The tunnel is not connected to the router.

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:

  • 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.

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

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]