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

    show services l2tp tunnel-switch destination

    Syntax

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

    Release Information

    Command introduced in Junos OS Release 13.2.

    Description

    Display information about L2TP switched tunnel destinations.

    Options

    none
    —

    Display standard information for all L2TP switched tunnel destinations.

    detail | extensive
    —

    (Optional) Display the specified level of information.

    statistics
    —

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

    Required Privilege Level

    view

    List of Sample Output

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

    Output Fields

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

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

    Field Name

    Field Description

    Level of Output

    Local Name

    Name of this destination.

    All levels

    Remote IP

    IP address of the remote peer (LNS).

    All levels

    Tunnels

    Number of tunnel connections for the destination in the following categories:

    • total
    • active
    • failed

    All levels for total

    extensive for active and failed

    Sessions

    Number of session connections for the destination in the following categories:

    • total
    • active
    • failed

    All levels for total

    extensive for active and failed

    Switched-sessions

    Number of L2TP sessions established by tunnel switching.

    All levels

    State

    Administrative state of the L2TP destination:

    • Enabled—No restrictions exist on creation or operation of sessions and tunnels for this destination.
    • Disabled—Existing sessions and tunnels for this destination have been disabled and no new sessions or tunnels are created while in the Disabled state.

    All levels

    Local IP

    IP address of the local gateway (LAC).

    detail extensive

    Transport

    Medium used for tunneling. Only ipUdp is supported.

    detail extensive

    Logical System

    Logical system in which the tunnel is configured.

    detail extensive

    Router Instance

    Routing instance in which the tunnel is configured.

    detail extensive

    Lockout State

    Reachability state of the destination:

    • not locked—Destination is considered reachable.
    • waiting for lockout timeout—Destination is locked out by L2TP because it is unreachable, so no attempts are made to reach the destination until the lockout timeout (300 seconds) expires, unless this is the only destination available for tunneling the subscriber.

    detail extensive

    Connections

    Number of total, active, and failed tunnel and session connections for the destination.

    extensive

    Control Tx

    Amount of control information transmitted, in packets and bytes.

    extensive statistics

    Control Rx

    Amount of control information received, in packets and bytes.

    extensive statistics

    Data Tx

    Amount of data transmitted, in packets and bytes.

    extensive statistics

    Data Rx

    Amount of data received, in packets and bytes.

    extensive statistics

    Error Tx

    Number of errors transmitted, in packets.

    extensive statistics

    Error Rx

    Number of errors received, in packets.

    extensive statistics

    Sample Output

    show services l2tp tunnel-switch destination

    user@host> show services l2tp tunnel-switch destination
      Local Name   Remote IP       Tunnels  Sessions Switched-sessions State
      1            192.168.20.3    1        1        1                 Enabled    
      2            10.1.1.10       1        1        1                 Enabled    
    

    show services l2tp tunnel-switch destination detail

    user@host> show services l2tp destination detail
      Local name: 1
        Remote IP: 192.168.20.3
        Tunnels: 1, Sessions: 1, Switched sessions: 1
        State: Enabled
        Local IP: 10.50.1.1
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
      Local name: 2
        Remote IP: 172.20.1.10
        Tunnels: 1, Sessions: 1, Switched sessions: 1
        State: Enabled
        Local IP: 10.30.1.1
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
    

    show services l2tp destination extensive

    user@host> show services l2tp destination extensive
    Waiting for statistics...
      Local name: 1
        Remote IP: 192.168.20.3
        Tunnels: 1, Sessions: 1, Switched sessions: 1
        State: Enabled
        Local IP: 10.50.1.1
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
          Connections     Totals        Active       Failed
          Tunnels              1             1            0
          Sessions             1             1            0
                            Packets        Bytes
          Control Tx              6          239
          Control Rx              6          267
          Data Tx                67          815
          Data Rx                 0            0
          Errors Tx               0
          Errors Rx               0
      Local name: 2
        Remote IP: 172.20.1.10
        Tunnels: 1, Sessions: 1, Switched sessions: 1
        State: Enabled
        Local IP: 10.30.1.1
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
          Connections     Totals        Active       Failed
          Tunnels              1             1            0
          Sessions             1             1            0
                            Packets        Bytes
          Control Tx              7          462
          Control Rx              6          171
          Data Tx                 0            0
          Data Rx                66          798
          Errors Tx               0
          Errors Rx               0
    

    show services l2tp destination statistics

    user@host> show services l2tp destination statistics
    Waiting for statistics...
      Local name: 2, Tunnels: 1, Sessions: 1
                            Packets        Bytes
          Control Tx              5          452
          Control Rx              4          147
          Data Tx                 0            0
          Data Rx                 4           54
          Errors Tx               0
          Errors Rx               0
      Local name: 1, Tunnels: 1, Sessions: 1
                            Packets        Bytes
          Control Tx              4          184
          Control Rx              4          243
          Data Tx                 5           71
          Data Rx                 0            0
          Errors Tx               0
          Errors Rx               0
    

    Published: 2013-07-31