Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show services l2tp tunnel-switch tunnel

    Syntax

    show services l2tp tunnel-switch tunnel<detail | extensive><statistics>

    Release Information

    Command introduced in Junos OS Release 13.2.

    Description

    Display information about L2TP switched tunnels.

    Options

    none
    —

    Display standard information about all active L2TP tunnels.

    detail | extensive
    —

    (Default) Display the specified level of output.

    statistics
    —

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

    Additional Information

    Required Privilege Level

    view

    List of Sample Output

    show services l2tp tunnel-switch tunnel
    show services l2tp tunnel-switch tunnel detail
    show services l2tp tunnel-switch tunnel extensive

    Output Fields

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

    Table 1: show services l2tp tunnel-switch tunnel Output Fields

    Field Name

    Field Description

    Level of Output

    Local ID

    On the LNS, number assigned by the LNS that identifies the local endpoint of the tunnel relative to the LNS: the LNS.

    On the LAC, number assigned by the LAC that identifies the local endpoint of the tunnel relative to the LAC: the LAC.

    none

    Remote ID

    On the LNS, number assigned by the LAC that identifies the remote endpoint of the tunnel relative to the LNS: the LAC.

    On the LAC, number assigned by the LNS that identifies the remote endpoint of the tunnel relative to the LAC: the LNS.

    none

    Remote IP

    IP address of the peer endpoint of the tunnel.

    All levels

    Sessions

    Number of L2TP sessions established through the tunnel.

    All levels

    Switched-sessions

    Number of L2TP sessions established by tunnel switching.

    All levels

    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. This is the only state supported for the LAC.
    • Terminate—The tunnel is terminating.
    • Unknown—The tunnel is not connected to the router.

    All levels

    Tunnel local ID

    On the LNS, number assigned by the LNS that identifies the local endpoint of the tunnel relative to the LNS: the LNS.

    On the LAC, number assigned by the LAC that identifies the local endpoint of the tunnel relative to the LAC: the LAC.

    detail extensive

    Tunnel remote ID

    On the LNS, number assigned by the LAC that identifies the remote endpoint of the tunnel relative to the LNS: the LAC.

    On the LAC, number assigned by the LNS that identifies the remote endpoint of the tunnel relative to the LAC: the LNS.

    detail extensive

    Tunnel Name

    (LAC only) Name of the created tunnel. This value includes the destination name followed by the value of the RADIUS Tunnel-Assignment-ID VSA [82].

    detail extensive

    Local IP

    IP address of the local endpoint of the tunnel.

    detail extensive

    Local name

    Name used for local tunnel endpoint during tunnel negotiation.

    detail extensive

    Remote name

    Name used for remote tunnel endpoint during tunnel negotiation.

    detail extensive

    Effective Peer Resync Mechanism

    (LAC only) Peer resynchronization mechanism (PRM) in effect for the tunnel:

    • Failover protocol
    • Silent failover—Recovery takes place in the failed endpoint only using the proprietary silent failover protocol.

    detail extensive

    NAS Port Method

    (LAC only) Status of interoperation with Cisco LNS devices:

    • none—NAS port method is not enabled for interoperation.
    • cisco-avp—NAS port method is enabled for interoperation.

    detail extensive

    Tunnel Logical System

    Logical system in which the L2TP tunnel is brought up.

    detail extensive

    Tunnel Routing Instance

    Routing instance in which the L2TP tunnel is brought up.

    detail extensive

    Max sessions

    Maximum number of sessions that can be established on this tunnel.

    extensive

    Window size

    Number of control messages that can be sent without receipt of an acknowledgment.

    extensive

    Hello interval

    Interval between the transmission of hello messages, in seconds.

    extensive

    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.

    extensive

    Up time

    Amount of time elapsed since the tunnel became active, in hours, minutes, and seconds.

    extensive

    Idle time

    Amount of time elapsed since the tunnel became idle, in hours, minutes, and seconds.

    extensive

    ToS Reflect

    Status of IP ToS value reflection, Disabled or Enabled.

    extensive

    Interface Name

    (LNS only) Name of an adaptive services interface.

    extensive

    Tunnel Group Name

    (LNS only) Name of a tunnel group.

    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.

    extensive

    Sample Output

    show services l2tp tunnel-switch tunnel

    user@host> show services l2tp tunnel-switch tunnel
      Local ID Remote ID Remote IP              Sessions Switched-sessions State
      37602    1         192.168.20.3:1701              1                 1 Established           
      37060    1         172.20.1.10:1701               1                 1 Established           
    

    show services l2tp tunnel-switch tunnel detail

    user@host> show services l2tp tunnel-switch tunnel detail
      Tunnel local ID: 37602, Tunnel remote ID: 1
        Remote IP: 192.168.20.3:1701
        Sessions: 1, Switched sessions: 1, State: Established
        Tunnel Name: 1/1
        Local IP: 10.50.1.1:1701
        Local name: ce-bras-mx240-f, Remote name: testlac
        Effective Peer Resync Mechanism: silent failover
        Nas Port Method: none
        Tunnel Logical System: default, Tunnel Routing Instance: default
      Tunnel local ID: 37060, Tunnel remote ID: 1
        Remote IP: 172.20.1.10:1701
        Sessions: 1, Switched sessions: 1, State: Established
        Tunnel Name: 2/1
        Local IP: 10.30.1.1:1701
        Local name: lns, Remote name: lns
        Effective Peer Resync Mechanism: silent failover
        Nas Port Method: none
        Tunnel Logical System: default, Tunnel Routing Instance: default
    

    show services l2tp tunnel-switch tunnel extensive

    user@host> show services l2tp tunnel-switch tunnel extensive
    Waiting for statistics...
      Tunnel local ID: 37602, Tunnel remote ID: 1
        Remote IP: 192.168.20.3:1701
        Sessions: 1, Switched sessions: 1, State: Established
        Tunnel Name: 1/1
        Local IP: 10.50.1.1:1701
        Local name: ce-bras-mx240-f, Remote name: testlac
        Effective Peer Resync Mechanism: silent failover
        Nas Port Method: none
        Tunnel Logical System: default, Tunnel Routing Instance: default
        Max sessions: 128100, Window size: 4, Hello interval: 60
        Create time: Fri Jan 18 03:01:11 2013, Up time: 00:07:49
        Idle time: 00:00:00, ToS Reflect: Disabled
        Interface Name: si-2/1/0, Tunnel Group Name: ce-l2tp-tunnel-group
        Statistics since: Fri Jan 18 03:01:11 2013
                            Packets        Bytes
          Control Tx              7          259
          Control Rx              7          279
          Data Tx                97         1175
          Data Rx                 0            0
          Errors Tx               0
          Errors Rx               0
      Tunnel local ID: 37060, Tunnel remote ID: 1
        Remote IP: 172.20.1.10:1701
        Sessions: 1, Switched sessions: 1, State: Established
        Tunnel Name: 2/1
        Local IP: 10.30.1.1:1701
        Local name: lns, Remote name: lns
        Effective Peer Resync Mechanism: silent failover
        Nas Port Method: none
        Tunnel Logical System: default, Tunnel Routing Instance: default
        Max sessions: 128100, Window size: 4, Hello interval: 60
        Create time: Fri Jan 18 03:01:14 2013, Up time: 00:07:46
        Idle time: 00:00:00
        Statistics since: Fri Jan 18 03:01:14 2013
                            Packets        Bytes
          Control Tx              8          482
          Control Rx              7          183
          Data Tx                 0            0
          Data Rx                96         1158
          Errors Tx               0
          Errors Rx               0
    

    Published: 2013-07-31