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 flexible-tunnels profiles

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show flexible-tunnels profiles
<brief | detail>
<tunnel-profile-name>
<route ip-address>

Description

Display information about flexible Virtual Extensible LAN (VXLAN) tunnel de-encapsulation profiles, which are programmed by controllers through the Juniper Extension Toolkit (JET) APIs.

Options

none

(Same as brief) Display information about all tunnel de-encapsulation profiles.

brief | detail

(Optional) Display the specified level of output.

tunnel-profile-name

Display information about the specified tunnel de-encapsulation profile.

route ip-address

Display information about the specified internal route in the __flexible_tunnel_profiles__.inet.0 routing table.

Required Privilege Level

admin

Output Fields

Table 1 lists the output fields for the show flexible-tunnels profiles command. Output fields are listed in the approximate order in which they appear.

Table 1: show flexible-tunnels profiles Output Fields

Field Name

Field Description

tunnel-profile-name

Tunnel de-encapsulation profile name, if one was specified.

Client ID

An identifier of the client that injected the route specified in the tunnel profile.

Route prefix

An internal route that is associated with a particular tunnel de-encapsulation profile.

Table

Name of routing table, which is __flexible_tunnel_profiles__.inet.0.

Action

Action is decapsulate. If the contents of an incoming encapsulated packet matches the attributes specified in a particular tunnel de-capsulation profile, the packet is de-encapsulated as specified in the profile.

Tunnel type

Tunnel type is either VXLAN-IPv4 or VXLAN-IPv6.

Interface

Name of the flexible tunnel interface for use with statistics, policing, filtering, and default encapsulation parameters.

VNI

VXLAN network identifier (VNI) specified in the tunnel de-encapsulation profile

Source prefix

IPv4 or IPv6 network address and length of the source that originated the packet.

Source UDP port range

A range of UDP port numbers, one of which is configured on the port that originated the packet.

Destination address

IPv4 or IPv6 network address of the host to which the packet is destined.

Destination UDP port

UDP port number that is configured on the host port to which the packet is destined.

VXLAN flags

An 8-bit VXLAN flag.

Sample Output

show flexible-tunnels profiles (none and brief)

content_copy zoom_out_map
user@host> show flexible-tunnels profiles
user@host> show flexible-tunnels profiles brief
CUSTOMER_0001-decap-mvnet1_1
  Client ID: ABCD, Route Prefix: 1.0.0.0/32, Table: __flexible_tunnel_profiles__.inet.0
  Action: Decapsulate, Tunnel type: VXLAN-IPv6
CUSTOMER_0001-decap-mvnet1_10
  Client ID: ABCD, Route Prefix: 1.0.0.9/32, Table: __flexible_tunnel_profiles__.inet.0
  Action: Decapsulate, Tunnel type: VXLAN-IPv6
CUSTOMER_0001-decap-mvnet1_11
  Client ID: ABCD, Route Prefix: 1.0.0.10/32, Table: __flexible_tunnel_profiles__.inet.0
  Action: Decapsulate, Tunnel type: VXLAN-IPv6
...
CUSTOMER_0001-decap-mvnet1_50001
  Client ID: ABCD, Route Prefix: 1.0.195.80/32, Table: __flexible_tunnel_profiles__.inet.0
  Action: Decapsulate, Tunnel type: VXLAN-IPv6
...

show flexible-tunnels profiles detail

content_copy zoom_out_map
user@host> show flexible-tunnels profiles detail
CUSTOMER_0001-decap-mvnet1_1
  Client ID: ABCD, Route Prefix: 1.0.0.0/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv6 VXLAN tunnel profile
      Action: Decapsulate
      Interface: fti0.6 (Index: 10921)
      VNI: 16777213
      Source Prefix: 2a01:13:80:1:1:1::/96
      Source UDP Port Range: 49152 - 65535
      Destination Address: 2a01:10:255::2
      Destination UDP Port: 4789
      VXLAN Flags: 0x08
CUSTOMER_0001-decap-mvnet1_10
  Client ID: ABCD, Route Prefix: 1.0.0.9/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv6 VXLAN tunnel profile
      Action: Decapsulate
      Interface: fti0.9 (Index: 10918)
      VNI: 16777213
      Source Prefix: 2a01:13:80:1:1:10::/96
      Source UDP Port Range: 49152 - 65535
      Destination Address: 2a01:10:255::2
      Destination UDP Port: 4789
      VXLAN Flags: 0x08
CUSTOMER_0001-decap-mvnet1_11
  Client ID: ABCD, Route Prefix: 1.0.0.10/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv6 VXLAN tunnel profile
      Action: Decapsulate
      Interface: fti0.10 (Index: 10917)
      VNI: 16777213
      Source Prefix: 2a01:13:80:1:1:11::/96
      Source UDP Port Range: 49152 - 65535
      Destination Address: 2a01:10:255::2
      Destination UDP Port: 4789
      VXLAN Flags: 0x08
...
CUSTOMER_0001-decap-mvnet1_50001
  Client ID: ABCD, Route Prefix: 1.0.195.80/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv6 VXLAN tunnel profile
      Action: Decapsulate
      Interface: fti0.6201 (Index: 10915)
      VNI: 16777214
      Source Prefix: 2a01:13:80:1:1:1::/96
      Source UDP Port Range: 49152 - 65535
      Destination Address: 2a01:10:255:1::2
      Destination UDP Port: 4789
      VXLAN Flags: 0x08
...

show flexible-tunnels profiles detail (to display GRE tunnel information)

content_copy zoom_out_map
user@host> show flexible-tunnels profiles detail
user@host> show flexible-tunnels profiles detail
decap-001
  Client ID: app1, Route Prefix: 10.0.0.1/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv4 GRE tunnel profile
      Action: Decapsulate
      Source Prefix: 10.1.1.1
      Destination Address: 20.2.2.2
      GRE Key : 1

show flexible-tunnels profiles (Specific Profile, none and brief)

content_copy zoom_out_map
user@host> show flexible-tunnels profiles CUSTOMER_0001-decap-mvnet1_50001
user@host> show flexible-tunnels profiles CUSTOMER_0001-decap-mvnet1_50001
brief
CUSTOMER_0001-decap-mvnet1_50001
  Client ID: ABCD, Route Prefix: 1.0.195.80/32, Table: __flexible_tunnel_profiles__.inet.0
  Action: Decapsulate, Tunnel type: VXLAN-IPv6

show flexible-tunnels profiles detail (Specific Profile)

content_copy zoom_out_map
user@host> show flexible-tunnels profiles CUSTOMER_0001-decap-mvnet1_50001
detail
CUSTOMER_0001-decap-mvnet1_50001
  Client ID: ABCD, Route Prefix: 1.0.195.80/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv6 VXLAN tunnel profile
      Action: Decapsulate
      Interface: fti0.6201 (Index: 10915)
      VNI: 16777214
      Source Prefix: 2a01:13:80:1:1:1::/96
      Source UDP Port Range: 49152 - 65535
      Destination Address: 2a01:10:255:1::2
      Destination UDP Port: 4789
      VXLAN Flags: 0x08

show flexible-tunnels profiles (Specific Route, none and brief)

content_copy zoom_out_map
user@host> show flexible-tunnels profiles route
1.0.195.80
user@host> show flexible-tunnels profiles route
1.0.195.80 brief
CUSTOMER_0001-decap-mvnet1_50001
  Client ID: ABCD, Route Prefix: 1.0.195.80/32, Table: __flexible_tunnel_profiles__.inet.0
  Action: Decapsulate, Tunnel type: VXLAN-IPv6

show flexible-tunnels profiles detail (Specific Route)

content_copy zoom_out_map
user@host> show flexible-tunnels profiles route
10.0.195.80 detail
CUSTOMER_0001-decap-mvnet1_50001
  Client ID: ABCD, Route Prefix: 1.0.195.80/32, Table: __flexible_tunnel_profiles__.inet.0
  Flexible IPv6 VXLAN tunnel profile
      Action: Decapsulate
      Interface: fti0.6201 (Index: 10915)
      VNI: 16777214
      Source Prefix: 2a01:13:80:1:1:1::/96
      Source UDP Port Range: 49152 - 65535
      Destination Address: 2a01:10:255:1::2
      Destination UDP Port: 4789
      VXLAN Flags: 0x08

Release Information

Command introduced in Junos OS Release 19.1.

footer-navigation