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 security tcp-encap connection

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show security tcp-encap connection
<brief | detail>
<session-id session-id>

Description

Display information about TCP encapsulation sessions.

Options

none

Display information about TCP encapsulation sessions.

brief | detail

(Optional) Display the specified level of output.

session-id session-id

(Optional) Display information for the specified session identifier.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security tcp-encap connection command. Output fields are listed in the approximate order in which they appear.

Table 1: show security tcp-encap connection Output Fields

Field Name

Field Description

Session-Id

Session identifier.

Client

Name of the remote access client.

Gateway

IP address of the remote gateway.

Local Gateway

IP address of the local gateway.

Remote Gateway

IP address of the remote gateway.

Started

Date and time the connection started.

Anchor spu

Services Processing Unit (SPU) on which the connection is anchored.

Sample Output

show security tcp-encap connection

content_copy zoom_out_map
user@host> show security tcp-encap connection
Session-Id    Client            Gateway
   34         NCP-1              10.4.0.1
   644        NCP-1              10.5.0.1

show security tcp-encap connection detail

content_copy zoom_out_map
user@host> show security tcp-encap connection detail
Session id: 34
    Local Gateway: 10.4.0.2:500 , Remote Gateway: 10.4.0.1:9500 
    Client: NCP-1 
    Started: Sun Jan 08 2017 21:32:58
    Anchor spu: 1
 
Session id: 644
    Local Gateway: 10.4.0.2:443 , Remote Gateway: 10.5.0.1:9500 
    Client: NCP-1 
    Started: Sun Jan 08 2017 21:32:58
    Anchor spu: 1

show security tcp-encap connection session-id 644

content_copy zoom_out_map
user@host> show security tcp-encap connection session-id 644
Session id: 644
    Local Gateway: 10.4.0.2:443 , Remote Gateway: 10.5.0.1:9500 
    Client: NCP-1 
    Started: Sun Jan 08 2017 21:32:58
    Anchor spu: 1

Release Information

Command introduced in Junos OS Release 15.1X49-D80.

footer-navigation