show services soft-gre tunnel
Syntax
show services soft-gre tunnel <brief | detail | extensive> <interface interface-name> <local-ip local-ip-address> <remote-ip remote-ip-address> <statistics> <summary> <tunnel-group group-name> <tunnel-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. |
| summary |
(Optional) Display tunnel summary by type: statically configured or dynamically created. |
| tunnel-group group-name | (Optional) Display information for a specific dynamic GRE tunnel group. |
| tunnel-name tunnel-name |
(Optional) Display statically configured tunnels by the configured tunnel-name. Supports brief, detail, extensive and statistics level of output. |
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.
Field Name |
Field Description |
Level of Output |
|---|---|---|
|
Name of the pseudowire subscriber (ps0) interface configured for the GRE tunnel |
All levels |
|
Remote IP address of the GRE tunnel endpoint |
All levels |
|
Local or source IP address of the GRE tunnel endpoint (Wi-Fi access gateway side) |
All levels |
|
Number of subscribers accessing the GRE tunnel |
All levels |
|
Name of the dynamic GRE tunnel group |
|
|
|
Count of gre tunnels by type—statically configured and dynamically created |
All levels |
|
Type of routing instance used for the GRE tunnel |
|
|
Date and time when the GRE tunnel was created: yyyy-mm-dd hh:mm:ss timezone |
|
|
Day of the week, date, time, and year when statistics for packets received and transmitted were recorded: Dayofweek Month date hh:mm:ss yyyy |
|
|
Type of data through the GRE tunnel: Data Rx (data received) and Data Tx (transmitted) |
|
|
Number of data packets received (Data Rx) and transmitted (Data Tx) through the GRE tunnel |
|
|
Number of data bytes received (Data Rx) and transmitted (Data Tx) through the GRE tunnel |
|
Sample Output
- show services soft-gre tunnel brief
- show services soft-gre tunnel detail
- show services soft-gre tunnel extensive
- show services soft-gre tunnel summary
- show services soft-gre tunnel tunnel-name tunnel-name (Statically configured tunnels only)
show services soft-gre tunnel brief
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
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
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
show services soft-gre tunnel summary
user@router> show services soft-gre tunnel summary
GRE tunnels by Type:
Static: 3
Dynamic: 4
Total: 7show services soft-gre tunnel tunnel-name tunnel-name (Statically configured tunnels only)
user@router> show services soft-gre tunnel tunnel-name tunnel-1 Interface Remote IP Local IP Subscribers ps1.3221225476 40.40.90.2 100.0.0.1 1
Release Information
Command introduced in Junos OS Release 17.2R1.
summary option introduced in Junos OS Release 25.2R1
tunnel-name option introduced in Junos OS Release 25.2R1