1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceGre6
routeros 1.85.0 published on Sunday, May 18, 2025 by terraform-routeros

routeros.InterfaceGre6

Explore with Pulumi AI

routeros logo
routeros 1.85.0 published on Sunday, May 18, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const greHq = new routeros.InterfaceGre6("greHq", {
        disabled: true,
        remoteAddress: "2a02::2",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    gre_hq = routeros.InterfaceGre6("greHq",
        disabled=True,
        remote_address="2a02::2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := routeros.NewInterfaceGre6(ctx, "greHq", &routeros.InterfaceGre6Args{
    			Disabled:      pulumi.Bool(true),
    			RemoteAddress: pulumi.String("2a02::2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var greHq = new Routeros.InterfaceGre6("greHq", new()
        {
            Disabled = true,
            RemoteAddress = "2a02::2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.InterfaceGre6;
    import com.pulumi.routeros.InterfaceGre6Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var greHq = new InterfaceGre6("greHq", InterfaceGre6Args.builder()
                .disabled(true)
                .remoteAddress("2a02::2")
                .build());
    
        }
    }
    
    resources:
      greHq:
        type: routeros:InterfaceGre6
        properties:
          disabled: true
          remoteAddress: 2a02::2
    

    Create InterfaceGre6 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InterfaceGre6(name: string, args?: InterfaceGre6Args, opts?: CustomResourceOptions);
    @overload
    def InterfaceGre6(resource_name: str,
                      args: Optional[InterfaceGre6Args] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceGre6(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      ___id_: Optional[float] = None,
                      ___path_: Optional[str] = None,
                      clamp_tcp_mss: Optional[bool] = None,
                      comment: Optional[str] = None,
                      disabled: Optional[bool] = None,
                      dscp: Optional[str] = None,
                      interface_gre6_id: Optional[str] = None,
                      ipsec_secret: Optional[str] = None,
                      keepalive: Optional[str] = None,
                      local_address: Optional[str] = None,
                      mtu: Optional[str] = None,
                      name: Optional[str] = None,
                      remote_address: Optional[str] = None)
    func NewInterfaceGre6(ctx *Context, name string, args *InterfaceGre6Args, opts ...ResourceOption) (*InterfaceGre6, error)
    public InterfaceGre6(string name, InterfaceGre6Args? args = null, CustomResourceOptions? opts = null)
    public InterfaceGre6(String name, InterfaceGre6Args args)
    public InterfaceGre6(String name, InterfaceGre6Args args, CustomResourceOptions options)
    
    type: routeros:InterfaceGre6
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InterfaceGre6Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InterfaceGre6Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InterfaceGre6Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceGre6Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceGre6Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InterfaceGre6 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The InterfaceGre6 resource accepts the following input properties:

    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceGre6Id string
    The ID of this resource.
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceGre6Id string
    The ID of this resource.
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceGre6Id String
    The ID of this resource.
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    localAddress String
    Source address of the tunnel packets, local on the router.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    clampTcpMss boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment string
    disabled boolean
    dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceGre6Id string
    The ID of this resource.
    ipsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    localAddress string
    Source address of the tunnel packets, local on the router.
    mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name string
    remoteAddress string
    IP address of the remote end of the tunnel.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    clamp_tcp_mss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment str
    disabled bool
    dscp str
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interface_gre6_id str
    The ID of this resource.
    ipsec_secret str
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive str
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    local_address str
    Source address of the tunnel packets, local on the router.
    mtu str
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name str
    remote_address str
    IP address of the remote end of the tunnel.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceGre6Id String
    The ID of this resource.
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    localAddress String
    Source address of the tunnel packets, local on the router.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InterfaceGre6 resource produces the following output properties:

    ActualMtu double
    Id string
    The provider-assigned unique ID for this managed resource.
    L2mtu double
    Layer2 Maximum transmission unit. See.
    Running bool
    ActualMtu float64
    Id string
    The provider-assigned unique ID for this managed resource.
    L2mtu float64
    Layer2 Maximum transmission unit. See.
    Running bool
    actualMtu Double
    id String
    The provider-assigned unique ID for this managed resource.
    l2mtu Double
    Layer2 Maximum transmission unit. See.
    running Boolean
    actualMtu number
    id string
    The provider-assigned unique ID for this managed resource.
    l2mtu number
    Layer2 Maximum transmission unit. See.
    running boolean
    actual_mtu float
    id str
    The provider-assigned unique ID for this managed resource.
    l2mtu float
    Layer2 Maximum transmission unit. See.
    running bool
    actualMtu Number
    id String
    The provider-assigned unique ID for this managed resource.
    l2mtu Number
    Layer2 Maximum transmission unit. See.
    running Boolean

    Look up Existing InterfaceGre6 Resource

    Get an existing InterfaceGre6 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InterfaceGre6State, opts?: CustomResourceOptions): InterfaceGre6
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            actual_mtu: Optional[float] = None,
            clamp_tcp_mss: Optional[bool] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            dscp: Optional[str] = None,
            interface_gre6_id: Optional[str] = None,
            ipsec_secret: Optional[str] = None,
            keepalive: Optional[str] = None,
            l2mtu: Optional[float] = None,
            local_address: Optional[str] = None,
            mtu: Optional[str] = None,
            name: Optional[str] = None,
            remote_address: Optional[str] = None,
            running: Optional[bool] = None) -> InterfaceGre6
    func GetInterfaceGre6(ctx *Context, name string, id IDInput, state *InterfaceGre6State, opts ...ResourceOption) (*InterfaceGre6, error)
    public static InterfaceGre6 Get(string name, Input<string> id, InterfaceGre6State? state, CustomResourceOptions? opts = null)
    public static InterfaceGre6 get(String name, Output<String> id, InterfaceGre6State state, CustomResourceOptions options)
    resources:  _:    type: routeros:InterfaceGre6    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActualMtu double
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceGre6Id string
    The ID of this resource.
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    L2mtu double
    Layer2 Maximum transmission unit. See.
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    Running bool
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ActualMtu float64
    ClampTcpMss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    Comment string
    Disabled bool
    Dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    InterfaceGre6Id string
    The ID of this resource.
    IpsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    Keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    L2mtu float64
    Layer2 Maximum transmission unit. See.
    LocalAddress string
    Source address of the tunnel packets, local on the router.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    RemoteAddress string
    IP address of the remote end of the tunnel.
    Running bool
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actualMtu Double
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceGre6Id String
    The ID of this resource.
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu Double
    Layer2 Maximum transmission unit. See.
    localAddress String
    Source address of the tunnel packets, local on the router.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    running Boolean
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actualMtu number
    clampTcpMss boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment string
    disabled boolean
    dscp string
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceGre6Id string
    The ID of this resource.
    ipsecSecret string
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive string
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu number
    Layer2 Maximum transmission unit. See.
    localAddress string
    Source address of the tunnel packets, local on the router.
    mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name string
    remoteAddress string
    IP address of the remote end of the tunnel.
    running boolean
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actual_mtu float
    clamp_tcp_mss bool
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment str
    disabled bool
    dscp str
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interface_gre6_id str
    The ID of this resource.
    ipsec_secret str
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive str
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu float
    Layer2 Maximum transmission unit. See.
    local_address str
    Source address of the tunnel packets, local on the router.
    mtu str
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name str
    remote_address str
    IP address of the remote end of the tunnel.
    running bool
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    actualMtu Number
    clampTcpMss Boolean
    Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
    comment String
    disabled Boolean
    dscp String
    Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
    interfaceGre6Id String
    The ID of this resource.
    ipsecSecret String
    When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
    keepalive String
    Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
    l2mtu Number
    Layer2 Maximum transmission unit. See.
    localAddress String
    Source address of the tunnel packets, local on the router.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    remoteAddress String
    IP address of the remote end of the tunnel.
    running Boolean

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/interface/gre6 get [print show-ids]]

    $ pulumi import routeros:index/interfaceGre6:InterfaceGre6 gre_hq "*1"
    

    #Or you can import a resource using one of its attributes

    $ pulumi import routeros:index/interfaceGre6:InterfaceGre6 gre_hq "name=gre-hq-ipv6"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.85.0 published on Sunday, May 18, 2025 by terraform-routeros