create tunnel gre destination source

create tunnel tunnel_name gre destination destination-address source source-address {vr vr_name} {payload-vr payload_vr_name}

Description

Allows you to add a GRE tunnel. This command is in-line with adding an ipv6-in-ipv4 tunnel.

Syntax Description

gre Generic Routing Encapsulation tunnel.
destination-address IPv4 destination address of the tunnel.
source-address IPv4 source address of the tunnel.
vr Specifies configuring the tunnel on specific VR.
vr_name Specifies which VR to configure the tunnel on. This VR if the VR of the tunnel itself, where source-address is configured. It is the underlay/delivery. This is the source outer IP address. The default is the VR of the current context.
payload-vr Specifies a tunnel payload VR (VR of the tunnel interface).
payload_vr_name Specifies the tunnel payload VR name. It is the VR of the L3 interface of the tunnel, that is, the payload/overlay. The default is the VR of the tunnel.

Default

No GRE tunnels exist in the system.

When adding tunnels, the VR of the current context is the default unless otherwise specified.

By default, the payload VR is the VR of the tunnel.

Usage Guidelines

Use this command to add a GRE tunnel.

Example

create tunnel myGREtunnel gre destination 10.0.0.2 source 10.0.0.1

History

This command was first available in ExtremeXOS 15.3.

Ability to configure GRE tunnels on user VRs was added in ExtremeXOS 31.3.

Platform Availability

This command is available on the platforms listed for the GRE feature in the Switch Engine 32.3 Feature License Requirements document.