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 soft-gre tunnel

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
show services soft-gre tunnel
<brief | detail | extensive> 
<interface interface-name> 
<local-ip local-ip-address> 
<remote-ip remote-ip-address> 
<statistics>
<tunnel-group group-name> 

Description

Display information about dynamic generic routing encapsulation (GRE) tunnels and pseudowire subscriber (psn) interface devices.

Options

none

Display standard information about all active dynamic GRE tunnels.

brief | detail | extensive

(Optional) Display the specified level of detail.

interface interface-name

(Optional) Display information for a specific pseudowire subscriber (psn) interface.

local-ip local-ip-address

(Optional) Display information for a specific local or source IP address of the GRE tunnel endpoint (Wi-Fi access gateway side).

remote-ip remote-ip-address

(Optional) Display information for a specific remote IP address of the GRE tunnel endpoint.

statistics

(Optional) Display dynamic GRE tunnel statistics.

tunnel-group group-name

(Optional) Display information for a specific dynamic GRE tunnel group.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show services soft-gre tunnel command. Output fields are listed in the approximate order in which they appear.

Table 1: show services soft-gre tunnel Output Fields

Field Name

Field Description

Level of Output

Interface or Interface Name

Name of the pseudowire subscriber (ps0) interface configured for the GRE tunnel

All levels

Remote IP

Remote IP address of the GRE tunnel endpoint

All levels

Local IP

Local or source IP address of the GRE tunnel endpoint (Wi-Fi access gateway side)

All levels

Subscribers

Number of subscribers accessing the GRE tunnel

All levels

Group Name

Name of the dynamic GRE tunnel group

detailextensive

Routing Instance

Type of routing instance used for the GRE tunnel

detailextensive

Create time

Date and time when the GRE tunnel was created: yyyy-mm-dd hh:mm:ss timezone

detailextensive

Statistics since

Day of the week, date, time, and year when statistics for packets received and transmitted were recorded: Dayofweek Month date hh:mm:ss yyyy

extensive

Statistic

Type of data through the GRE tunnel: Data Rx (data received) and Data Tx (transmitted)

extensive

Packets

Number of data packets received (Data Rx) and transmitted (Data Tx) through the GRE tunnel

extensive

Bytes

Number of data bytes received (Data Rx) and transmitted (Data Tx) through the GRE tunnel

extensive

Sample Output

show services soft-gre tunnel brief

content_copy zoom_out_map
user@host> show services soft-gre tunnel brief 
Interface          Remote IP               Local IP                Subscribers
ps0.3221225475     192.0.2.10                198.51.100.1                   1

show services soft-gre tunnel detail

content_copy zoom_out_map
user@host> show services soft-gre tunnel detail 
Interface Name: ps0.3221225475, Group Name: landslide_v4_1
    Local IP: 198.51.100.1
    Remote IP: 192.0.2.10
    Subscribers: 1
    Routing Instance: default
    Create time: 2015-03-02 08:06:28 PST

show services soft-gre tunnel extensive

content_copy zoom_out_map
user@host> show services soft-gre tunnel extensive 
Interface Name: ps0.3221225475, Group Name: landslide_v4_1
    Local IP: 198.51.100.1
    Remote IP: 192.0.2.10
    Subscribers: 1
    Routing Instance: default
    Create time: 2015-03-02 08:06:28 PST
    Statistics since: Mon Mar  2 08:06:28 2015
      Statistic         Packets        Bytes
       Data Rx               31         3324
       Data Tx               32         3613

Release Information

Command introduced in Junos OS Release 17.2R1.

footer-navigation