Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show services l2tp tunnel-switch destination

date_range 19-Nov-23

Syntax

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

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

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

detailextensive

Transport

Medium used for tunneling. Only ipUdp is supported.

detailextensive

Logical System

Logical system in which the tunnel is configured.

detailextensive

Router Instance

Routing instance in which the tunnel is configured.

detailextensive

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.

detailextensive

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.

extensivestatistics

Control Rx

Amount of control information received, in packets and bytes.

extensivestatistics

Data Tx

Amount of data transmitted, in packets and bytes.

extensivestatistics

Data Rx

Amount of data received, in packets and bytes.

extensivestatistics

Error Tx

Number of errors transmitted, in packets.

extensivestatistics

Error Rx

Number of errors received, in packets.

extensivestatistics

Sample Output

show services l2tp tunnel-switch destination

content_copy zoom_out_map
user@host> show services l2tp tunnel-switch destination 
  Local Name   Remote IP       Tunnels  Sessions Switched-sessions State
  1            192.0.2.3       1        1        1                 Enabled    
  2            203.0.113.10    1        1        1                 Enabled    

show services l2tp tunnel-switch destination detail

content_copy zoom_out_map
user@host> show services l2tp tunnel-switch destination detail
  Local name: 1
    Remote IP: 192.0.2.3
    Tunnels: 1, Sessions: 1, Switched sessions: 1
    State: Enabled
    Local IP: 203.0.113.51
    Transport: ipUdp, Logical System: default, Router Instance: default
    Lockout State: not locked
  Local name: 2
    Remote IP: 198.51.100.10
    Tunnels: 1, Sessions: 1, Switched sessions: 1
    State: Enabled
    Local IP: 203.0.113.31
    Transport: ipUdp, Logical System: default, Router Instance: default
    Lockout State: not locked

show services l2tp tunnel-switch destination extensive

content_copy zoom_out_map
user@host> show services l2tp tunnel-switch destination extensive
Waiting for statistics...
  Local name: 1
    Remote IP: 192.0.2.3
    Tunnels: 1, Sessions: 1, Switched sessions: 1
    State: Enabled
    Local IP: 203.0.113.51
    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: 198.51.100.10
    Tunnels: 1, Sessions: 1, Switched sessions: 1
    State: Enabled
    Local IP:203.0.113.31
    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 tunnel-switch destination statistics

content_copy zoom_out_map
user@host> show services l2tp tunnel-switch 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

Release Information

Command introduced in Junos OS Release 13.2.

footer-navigation