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

    show services l2tp destination

    Syntax

    show services l2tp destination<brief | detail | extensive><local-gateway gateway-address><peer-gateway gateway-address><statistics>

    Release Information

    Command introduced in Junos OS Release 10.4.

    Description

    Display information about L2TP tunnel destinations.

    Options

    brief | detail | extensive
    —

    (Optional) Display the specified level of information.

    local-gateway gateway-address
    —

    (Optional) Display L2TP session information for only the specified local gateway address.

    peer-gateway gateway-address
    —

    (Optional) Display L2TP session information for only the specified peer gateway address.

    statistics
    —

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

    Required Privilege Level

    view

    List of Sample Output

    show services l2tp destination
    show services l2tp destination detail
    show services l2tp destination extensive (LAC)
    show services l2tp destination extensive (LNS)
    show services l2tp destination statistics (LAC only on MX Series Routers)

    Output Fields

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

    Table 1: show services l2tp 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

    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.

    statistics

    Control Rx

    Amount of control information received, in packets and bytes.

    statistics

    Data Tx

    Amount of data transmitted, in packets and bytes.

    statistics

    Data Rx

    Amount of data received, in packets and bytes.

    statistics

    Error Tx

    Number of errors transmitted, in packets.

    statistics

    Error Rx

    Number of errors received, in packets.

    statistics

    Sample Output

    show services l2tp destination

    user@host> show services l2tp destination
      Local Name    Remote IP        Tunnels       Sessions  State
      1             10.10.1.1        1             1         Enabled    
    

    show services l2tp destination detail

    user@host> show services l2tp destination detail
     Local name: 1
        Remote IP: 10.1.1.1
        Tunnels: 1, Sessions: 1
        State: Enabled
        Local IP: 10.1.1.2
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
    

    show services l2tp destination extensive (LAC)

    user@host> show services l2tp destination extensive
      Local name: 1
        Remote IP: 10.1.1.1
        State: Enabled
        Local IP: 10.1.1.2
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
          Connections     Totals        Active       Failed
          Tunnels              1             1            0
          Sessions             1             1            0
    

    show services l2tp destination extensive (LNS)

    user@host> show services l2tp destination extensive
      Local name: 3
        Remote IP: 11.1.1.3
        State: Enabled
        Local IP: 11.1.1.2
        Transport: ipUdp, Logical System: default, Router Instance: default
        Lockout State: not locked
          Connections     Totals        Active       Failed
          Tunnels              1             1            0
          Sessions             1             1            0
    

    show services l2tp destination statistics (LAC only on MX Series Routers)

    user@host> show services l2tp destination statistics
    Local name: 2, Tunnels: 1, Sessions: 210
    							Packets 		Bytes
    Control Tx 				680 		63.3k
    Control Rx 				283 		10.6k
    Data Tx 				  1129 		14.3k
    Data Rx 						877 		10.9k
    Errors Tx 					  		0
    Errors Rx 					  		0

    Published: 2013-03-14